inciter::MultiMatProblemUserDefined class

MultiMat system of PDEs problem: user defined.

Contents

Public static functions

static auto initialize(ncomp_t ncomp, const std::vector<EOS>&, tk::real, tk::real, tk::real, tk::real) -> tk::InitializeFn::result_type
Initialize numerical solution.
static auto analyticSolution(ncomp_t ncomp, const std::vector<EOS>& mat_blk, tk::real x, tk::real y, tk::real z, tk::real t) -> std::vector<tk::real>
Evaluate analytical solution at (x,y,z,t) for all components.
static auto src(ncomp_t, const std::vector<EOS>&, tk::real, tk::real, tk::real, tk::real, std::vector<tk::real>& sv) -> tk::SrcFn::result_type

Function documentation

static tk::InitializeFn::result_type inciter::MultiMatProblemUserDefined::initialize(ncomp_t ncomp, const std::vector<EOS>&, tk::real, tk::real, tk::real, tk::real)

Initialize numerical solution.

Parameters
ncomp in Number of scalar components in this PDE system
Returns Values of all components

Set initial conditions

static tk::SrcFn::result_type inciter::MultiMatProblemUserDefined::src(ncomp_t, const std::vector<EOS>&, tk::real, tk::real, tk::real, tk::real, std::vector<tk::real>& sv)

Compute and return source term for Rayleigh-Taylor manufactured solution

No-op for user-deefined problems.