Goal
Reduce the boilerplate needed to set up a multiphase-style test case (eg. N grains sharing a
mesh, one Problem per grain, transient/steady coupling).
What's needed
- Factory to build N
SpatialDiscretization instances sharing a single mesh, instead of
declaring each one by hand.
- Factory to build N
BoundaryConditions from a shared boundary list.
tests.hpp: allow using Transient and Steady schemes together in the same file without name
clashes (currently using namespace SlothTransientXD and SlothSteadyXD together collide on
PB, OPE, etc.).
Scope
kernel/include/Sloth/tests.hpp
kernel/include/Factory/ (new package)
Goal
Reduce the boilerplate needed to set up a multiphase-style test case (eg. N grains sharing a
mesh, one Problem per grain, transient/steady coupling).
What's needed
SpatialDiscretizationinstances sharing a single mesh, instead ofdeclaring each one by hand.
BoundaryConditionsfrom a shared boundary list.tests.hpp: allow using Transient and Steady schemes together in the same file without nameclashes (currently
using namespace SlothTransientXDandSlothSteadyXDtogether collide onPB,OPE, etc.).Scope
kernel/include/Sloth/tests.hppkernel/include/Factory/(new package)