Skip to content

Simplify multiphase-field test setup #175

Description

@CINTROINI

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions