Skip to content
Snippets Groups Projects
Commit b1224dcf authored by Mathis Kelm's avatar Mathis Kelm Committed by Timo Koch
Browse files

[examples] Add explanation for the coupling manager

parent b1e60602
No related branches found
No related tags found
1 merge request!3279Cleanup/Resolve remaining deprecations in tests/examples for Release 3.6
Checking pipeline status
...@@ -143,7 +143,8 @@ int main(int argc, char** argv) ...@@ -143,7 +143,8 @@ int main(int argc, char** argv)
using MassGridGeometry = GetPropType<MassTypeTag, Properties::GridGeometry>; using MassGridGeometry = GetPropType<MassTypeTag, Properties::GridGeometry>;
auto massGridGeometry = std::make_shared<MassGridGeometry>(leafGridView); auto massGridGeometry = std::make_shared<MassGridGeometry>(leafGridView);
// We introduce the multidomain coupling manager, which will coupled the mass and the momentum problems // We introduce the multidomain coupling manager, which will couple the mass and the momentum problems
// We can obtain the type from either the `MomentumTypeTag` or the `MassTypeTag` because they are mutually coupled with the same manager
using CouplingManager = GetPropType<MomentumTypeTag, Properties::CouplingManager>; using CouplingManager = GetPropType<MomentumTypeTag, Properties::CouplingManager>;
auto couplingManager = std::make_shared<CouplingManager>(); auto couplingManager = std::make_shared<CouplingManager>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment