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"
68 virtual void init( libMesh::FEMSystem* system ) =0;
99 const std::string& subsection,
100 std::vector<std::string>& var_names,
101 const std::vector<std::string>& default_names );
119 const std::string& new_subsection )
const;
155 #endif // GRINS_FE_VARIABLES_BASE_H
std::vector< GRINSEnums::FEFamily > _family
std::vector< GRINSEnums::Order > _order
bool _is_constraint_var
Tracks whether this is a constraint variable.
libMesh::Real _neumann_bc_sign
Track the sign of the Neumann BC term. Defaults to 1.0.
virtual void init(libMesh::FEMSystem *system)=0
Add variables to the system.
libMesh::Real neumann_bc_sign() const
void parse_names_from_input(const GetPot &input, const std::string &subsection, std::vector< std::string > &var_names, const std::vector< std::string > &default_names)
Method to parse variable names from input.
void set_neumann_bc_is_positive(bool is_positive)
Reset whetever Neumann bc is postive or not.
FEVariablesBase(bool is_constraint_var)
std::vector< std::string > _var_names
bool is_constraint_var() const
bool check_dep_name_input(const GetPot &input, const std::string &new_subsection) const
Check for deprecated variable name input style.
const std::vector< std::string > & active_var_names() const
Return the var names that are active from this class.
std::vector< VariableIndex > _vars
void duplicate_name_section_check(const GetPot &input) const
Check for old name style and new name style. If both present, error.
const std::vector< VariableIndex > & var_indices() const