class
CompFlowProblemShockDensityWaveContents
- Reference
MultiMat system of PDEs problem: Shock-density Wave
Public static functions
-
static auto initialize(ncomp_
t, const std::vector<EOS>&, tk:: real x, tk:: real, tk:: real, tk:: real) -> tk::InitializeFn::result_type - Initialize numerical solution.
-
static auto analyticSolution(ncomp_
t, const std::vector<EOS>&, tk:: real x, tk:: real, tk:: real, tk:: real) -> tk::InitializeFn::result_type - 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 -
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:: CompFlowProblemShockDensityWave:: initialize(ncomp_ t,
const std::vector<EOS>&,
tk:: real x,
tk:: real,
tk:: real,
tk:: real)
Initialize numerical solution.
Parameters | |
---|---|
x in | X 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
This function only initializes the Shock-density wave problem, but does not actually give the analytical solution at time greater than 0. This problem does not have an analytical solution.
static tk::InitializeFn::result_type inciter:: CompFlowProblemShockDensityWave:: analyticSolution(ncomp_ t,
const std::vector<EOS>&,
tk:: real x,
tk:: real,
tk:: real,
tk:: real)
Evaluate analytical solution at (x,y,z,t) for all components.
Parameters | |
---|---|
x in | X 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
std::vector<std::string> inciter:: CompFlowProblemShockDensityWave:: analyticFieldNames(ncomp_ t) const
Return analytic field names to be output to file.
Returns | Vector of strings labelling analytic fields output in file |
---|