inciter::ctr::OutVar struct

Output variable.

Constructors, destructors, conversion operators

OutVar(Centering c = Centering::NODE, const std::string& n = {}, const std::string& a = "", tk::ncomp_t f = 0, const std::string& vn = "null") explicit

Public functions

auto analytic() const -> bool
auto primitive() const -> bool

Public variables

Centering centering
Centering.
std::string name
Human readable name.
std::string alias
user specified alias to the name
tk::ncomp_t field
Field ID.
std::string varFnIdx
Material-based physics label + material id.

Pack/Unpack: Serialize OutVar object for Charm++

void pup(PUP::er& p)
void operator|(PUP::er& p, OutVar& v)

Function documentation

inciter::ctr::OutVar::OutVar(Centering c = Centering::NODE, const std::string& n = {}, const std::string& a = "", tk::ncomp_t f = 0, const std::string& vn = "null") explicit

Parameters
in Variable centering
in Human readable name
a
in Field ID
vn in Var function name

Constructor: initialize all state data

bool inciter::ctr::OutVar::analytic() const

Returns True if outvar is a request for an analytic solution

Query if outvar is a request for an analytic solution

bool inciter::ctr::OutVar::primitive() const

Returns True if outvar should be extracted from primitive variable data

Query if outvar is a request for a (multimat) primitive variable

void inciter::ctr::OutVar::pup(PUP::er& p)

Parameters
in/out Charm++'s PUP::er serializer object reference

Pack/Unpack serialize member function

void inciter::ctr::OutVar::operator|(PUP::er& p, OutVar& v)

Parameters
in/out Charm++'s PUP::er serializer object reference
in/out OutVar object reference

Pack/Unpack serialize operator|