inciter::MultiMatProblemInterfaceAdvection class

Contents

MultiMat system of PDEs problem: interface advection

Public static functions

static auto initialize(ncomp_t system, ncomp_t ncomp, tk::real x, tk::real y, tk::real, tk::real t) -> tk::InitializeFn::result_type
Initialize numerical solution.
static auto analyticSolution(ncomp_t system, ncomp_t ncomp, 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, ncomp_t, tk::real, tk::real, tk::real, tk::real, tk::real& r, tk::real& ru, tk::real& rv, tk::real& rw, tk::real& re) -> tk::MultiMatSrcFn::result_type
Compute and return source term for interface advection.
static auto names(ncomp_t) -> std::vector<std::string>
Return names of integral variables to be output to diagnostics file.

Function documentation

static tk::InitializeFn::result_type inciter::MultiMatProblemInterfaceAdvection::initialize(ncomp_t system, ncomp_t ncomp, tk::real x, tk::real y, tk::real, tk::real t)

Initialize numerical solution.

Parameters
system in Equation system index, i.e., which compressible flow equation system we operate on among the systems of PDEs
ncomp in Number of scalar components in this PDE system
in X coordinate where to evaluate the solution
in Y coordinate where to evaluate the solution
in Time where to evaluate the solution
Returns Values of all components evaluated at (x)

Evaluate analytical solution at (x,y,z,t) for all components

static std::vector<std::string> inciter::MultiMatProblemInterfaceAdvection::names(ncomp_t)

Return names of integral variables to be output to diagnostics file.

Returns Vector of strings labelling integral variables output