class
TransportProblemGaussHumpTransport PDE problem: advection of two-dimensional Gaussian hump.
Contents
- Reference
Public static functions
-
static auto initialize(ncomp_
t ncomp, const std::vector<EOS>& mat_blk, tk:: real x, tk:: real y, tk:: real, tk:: real t) -> std::vector<tk:: real> - Initialize numerical solution.
-
static auto analyticSolution(ncomp_
t ncomp, const std::vector<EOS>& mat_blk, 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 prescribedVelocity(ncomp_
t ncomp, tk:: real, tk:: real, tk:: real, tk:: real) -> std::vector<std::array<tk:: real, 3>> - Assign prescribed velocity at a point.
-
static auto type() -> ctr::
ProblemType noexcept - Return problem type.
Public functions
Function documentation
static std::vector<tk:: real> inciter:: TransportProblemGaussHump:: initialize(ncomp_ t ncomp,
const std::vector<EOS>& mat_blk,
tk:: real x,
tk:: real y,
tk:: real,
tk:: real t)
Initialize numerical solution.
Parameters | |
---|---|
ncomp in | Number of components in this transport equation system |
mat_blk | |
x in | X coordinate where to evaluate the solution |
y in | Y coordinate where to evaluate the solution |
t in | Time where to evaluate the solution |
Returns | Values of all components evaluated at (x,y,t) |
static std::vector<std::array<tk:: real, 3>> inciter:: TransportProblemGaussHump:: prescribedVelocity(ncomp_ t ncomp,
tk:: real,
tk:: real,
tk:: real,
tk:: real)
Assign prescribed velocity at a point.
Parameters | |
---|---|
ncomp in | Number of components in this transport equation |
Returns | Velocity assigned to all vertices of a tetrehedron, size: ncomp * ndim = [ncomp][3] |
Assign prescribed velocity at a point