25 #ifndef GRINS_SINGLE_VARIABLE_H
26 #define GRINS_SINGLE_VARIABLE_H
46 if( var_names.size() != 1 )
47 libmesh_error_msg(
"ERROR: SingleVariable must only have a single name!");
49 if(var_indices.size() != 1)
50 libmesh_error_msg(
"ERROR: SingleVariable must only have a single index!");
56 { libmesh_assert_equal_to(
_vars.size(), 1 );
57 return this->
_vars[0]; }
76 {
return this->
var(); }
95 {
return this->
var(); }
114 {
return this->
var(); }
151 {
return this->
var(); }
159 #endif // GRINS_SINGLE_VARIABLE_H
unsigned int VariableIndex
More descriptive name of the type used for variable indices.
ScalarVariable(const std::vector< std::string > &var_names, const std::vector< VariableIndex > &var_indices, const std::set< libMesh::subdomain_id_type > &subdomain_ids)
ThermoPressureVariable(const std::vector< std::string > &var_names, const std::vector< VariableIndex > &var_indices, const std::set< libMesh::subdomain_id_type > &subdomain_ids)
PrimitiveTempFEVariables()
~PrimitiveTempFEVariables()
PressureFEVariable(const std::vector< std::string > &var_names, const std::vector< VariableIndex > &var_indices, const std::set< libMesh::subdomain_id_type > &subdomain_ids)
Variables with a single component.
VariableIndex var() const
PrimitiveTempFEVariables(const std::vector< std::string > &var_names, const std::vector< VariableIndex > &var_indices, const std::set< libMesh::subdomain_id_type > &subdomain_ids)
const std::set< libMesh::subdomain_id_type > & subdomain_ids() const
~ThermoPressureVariable()
SingleVariable(const std::vector< std::string > &var_names, const std::vector< VariableIndex > &var_indices, const std::set< libMesh::subdomain_id_type > &subdomain_ids)
Variables with a single SCALAR component.
std::vector< VariableIndex > _vars
TurbulenceFEVariables(const std::vector< std::string > &var_names, const std::vector< VariableIndex > &var_indices, const std::set< libMesh::subdomain_id_type > &subdomain_ids)
const std::vector< VariableIndex > & var_indices() const