13 #include "libmesh/system.h" 30 mooseError(
"Component index must be less than the number of components of variable ",
38 const std::set<SubdomainID> &
55 active_subs.begin(), active_subs.end(), subdomains.begin(), subdomains.end());
static InputParameters validParams()
static InputParameters validParams()
const Variable & variable(unsigned int var) const
virtual libMesh::System & system()=0
Get the reference to the libMesh system.
std::string _var_name
Variable name.
const std::set< subdomain_id_type > & active_subdomains() const
bool activeOnSubdomains(const std::set< SubdomainID > &subdomains) const
Is the variable active on the subdomains?
SystemBase & _sys
System this variable is part of.
virtual bool isArray() const
const unsigned int _count
Number of variables in the array.
bool active_on_subdomain(subdomain_id_type sid) const
MooseVariableFieldBase(const InputParameters ¶meters)
const std::string & componentName(const unsigned int comp) const
Get the variable name of a component in libMesh.
const std::set< SubdomainID > & activeSubdomains() const
The subdomains the variable is active on.
unsigned int _var_num
variable number (from libMesh)
const std::string & arrayVariableComponent(const unsigned int i) const
Returns the variable name of a component of an array variable.
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
bool activeOnSubdomain(SubdomainID subdomain) const
Is the variable active on the subdomain?