class
CompFlowProblemNLEnergyGrowthContents
- Reference
CompFlow system of PDEs problem: nonlinear energy growth (NLEG)
Public static functions
-
static auto initialize(ncomp_
t, const std::vector<EOS>&, tk:: real x, tk:: real y, tk:: real z, tk:: real t) -> 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 t) -> 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 x, tk:: real y, tk:: real z, tk:: real t, 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:: CompFlowProblemNLEnergyGrowth:: initialize(ncomp_ t,
const std::vector<EOS>&,
tk:: real x,
tk:: real y,
tk:: real z,
tk:: real t)
Initialize numerical solution.
Parameters | |
---|---|
x in | X coordinate where to evaluate the solution |
y in | Y coordinate where to evaluate the solution |
z in | Z coordinate where to evaluate the solution |
t in | Time where to evaluate the solution |
Returns | Values of all components evaluated at (x,y,z,t) |
Evaluate analytical solution at (x,y,z,t) for all components
static tk::InitializeFn::result_type inciter:: CompFlowProblemNLEnergyGrowth:: analyticSolution(ncomp_ t,
const std::vector<EOS>&,
tk:: real x,
tk:: real y,
tk:: real z,
tk:: real t)
Evaluate analytical solution at (x,y,z,t) for all components.
Parameters | |
---|---|
x in | X coordinate where to evaluate the solution |
y in | Y coordinate where to evaluate the solution |
z in | Z coordinate where to evaluate the solution |
t in | Time where to evaluate the solution |
Returns | Values of all components evaluated at (x,y,z,t) |
Evaluate analytical solution at (x,y,z,t) for all components
static tk::SrcFn::result_type inciter:: CompFlowProblemNLEnergyGrowth:: src(ncomp_ t,
const std::vector<EOS>&,
tk:: real x,
tk:: real y,
tk:: real z,
tk:: real t,
std::vector<tk:: real>& sv)
Parameters | |
---|---|
x in | X coordinate where to evaluate the solution |
y in | Y coordinate where to evaluate the solution |
z in | Z coordinate where to evaluate the solution |
t in | Physical time at which to evaluate the source |
sv in/out | Source term vector |
Compute and return source term for NLEG manufactured solution
std::vector<std::string> inciter:: CompFlowProblemNLEnergyGrowth:: analyticFieldNames(ncomp_ t) const
Return analytic field names to be output to file.
Returns | Vector of strings labelling fields output in file |
---|