26 #ifndef GRINS_FE_VARIABLES_BASE_H
27 #define GRINS_FE_VARIABLES_BASE_H
40 #include "libmesh/libmesh_common.h"
41 #include "libmesh/enum_order.h"
42 #include "libmesh/enum_fe_family.h"
66 libmesh_assert_equal_to(var_names.size(), var_indices.size());
135 #endif // GRINS_FE_VARIABLES_BASE_H
std::set< libMesh::subdomain_id_type > _subdomain_ids
bool _is_constraint_var
Tracks whether this is a constraint variable.
virtual ~FEVariablesBase()
libMesh::Real _neumann_bc_sign
Track the sign of the Neumann BC term. Defaults to 1.0.
libMesh::Real neumann_bc_sign() const
void set_neumann_bc_is_positive(bool is_positive)
Reset whetever Neumann bc is postive or not.
const std::set< libMesh::subdomain_id_type > & subdomain_ids() const
FEVariablesBase(const std::vector< std::string > &var_names, const std::vector< VariableIndex > &var_indices, const std::set< libMesh::subdomain_id_type > &subdomain_ids)
std::vector< std::string > _var_names
bool is_constraint_var() const
const std::vector< std::string > & active_var_names() const
Return the var names that are active from this class.
void set_is_constraint_var(bool is_constraint_var)
Set whether or not this is a "constraint" variable.
std::vector< VariableIndex > _vars
const std::vector< VariableIndex > & var_indices() const