inciter::CompFlowProblemRotatedSodShocktube class

CompFlow system of PDEs problem: rotated Sod shock-tube

Base classes

class CompFlowProblemSodShocktube

Public static functions

static auto solution(ncomp_t system, ncomp_t ncomp, tk::real x, tk::real y, tk::real z, tk::real t) -> tk::SolutionFn::result_type
Evaluate analytical solution at (x,y,0) for all components.
static auto type() -> ctr::ProblemType noexcept
Return problem type.

Function documentation

static tk::SolutionFn::result_type inciter::CompFlowProblemRotatedSodShocktube::solution(ncomp_t system, ncomp_t ncomp, tk::real x, tk::real y, tk::real z, tk::real t)

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

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 Z coordinate where to evaluate the solution
in Time at which to evaluate the solution
Returns Values of all components evaluated at (x)

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