inciter::CompFlowProblemVorticalFlow class

CompFlow system of PDEs problem: vortical flow

Public static functions

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

Public functions

auto analyticFieldNames(ncomp_t) const -> std::vector<std::string>
Return analytic field names to be output to file.
auto names(ncomp_t) const -> std::vector<std::string>
Return names of integral variables to be output to diagnostics file.

Function documentation

static tk::InitializeFn::result_type inciter::CompFlowProblemVorticalFlow::initialize(ncomp_t, const std::vector<EOS>&, tk::real x, tk::real y, tk::real z, tk::real)

Initialize numerical solution.

Parameters
in X coordinate where to evaluate the solution
in Y coordinate where to evaluate the solution
in Z coordinate 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 tk::InitializeFn::result_type inciter::CompFlowProblemVorticalFlow::analyticSolution(ncomp_t, const std::vector<EOS>&, tk::real x, tk::real y, tk::real z, tk::real)

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

Parameters
in X coordinate where to evaluate the solution
in Y coordinate where to evaluate the solution
in Z coordinate 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 tk::SrcFn::result_type inciter::CompFlowProblemVorticalFlow::src(ncomp_t, const std::vector<EOS>& mat_blk, tk::real x, tk::real y, tk::real z, tk::real, std::vector<tk::real>& sv)

Parameters
mat_blk
in X coordinate where to evaluate the solution
in Y coordinate where to evaluate the solution
in Z coordinate where to evaluate the solution
sv in/out Source term vector

Compute and return source term for vortical flow manufactured solution

std::vector<std::string> inciter::CompFlowProblemVorticalFlow::analyticFieldNames(ncomp_t) const

Return analytic field names to be output to file.

Returns Vector of strings labelling analytic fields output in file

std::vector<std::string> inciter::CompFlowProblemVorticalFlow::names(ncomp_t) const

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

Returns Vector of strings labelling integral variables output