21 #include "libmesh/fe_type.h"    22 #include "libmesh/enum_fe_family.h"   133     mooseError(
"Base class cannot determine this");
   142                              std::vector<dof_id_type> & )
 const   156                                                unsigned int component) 
const;
   268   mooseError(
"setActiveTags must be overridden in derived classes.");
   271 #define usingMooseVariableBaseMembers                                                              \   272   using MooseVariableBase::_sys;                                                                   \   273   using MooseVariableBase::_fe_type;                                                               \   274   using MooseVariableBase::_var_num;                                                               \   275   using MooseVariableBase::_index;                                                                 \   276   using MooseVariableBase::_var_kind;                                                              \   277   using MooseVariableBase::_subproblem;                                                            \   278   using MooseVariableBase::_variable;                                                              \   279   using MooseVariableBase::_assembly;                                                              \   280   using MooseVariableBase::_dof_map;                                                               \   281   using MooseVariableBase::_dof_indices;                                                           \   282   using MooseVariableBase::_mesh;                                                                  \   283   using MooseVariableBase::_tid;                                                                   \   284   using MooseVariableBase::_count;                                                                 \   285   using MooseVariableBase::_scaling_factor bool _use_dual
If dual mortar approach is used. 
 
static InputParameters validParams()
 
const libMesh::NumericVector< libMesh::Number > & getSolution(const Moose::StateArg &state) const
Get the solution corresponding to the provided state. 
 
virtual bool isNodal() const
Is this variable nodal. 
 
std::vector< dof_id_type > componentDofIndices(const std::vector< dof_id_type > &dof_indices, unsigned int component) const
Obtain DoF indices of a component with the indices of the 0th component. 
 
virtual void clearAllDofIndices()
 
const libMesh::FEType & feType() const
Get the type of finite element object. 
 
virtual unsigned int numberOfDofs() const
Get the number of local DoFs. 
 
Keeps track of stuff related to assembling. 
 
const std::vector< Real > & arrayScalingFactor() const
 
unsigned int number() const
Get variable number coming from libMesh. 
 
virtual libMesh::FEContinuity getContinuity() const
Return the continuity of this variable. 
 
const libMesh::DofMap & dofMap() const
The DofMap associated with the system this variable is in. 
 
std::vector< std::string > _array_var_component_names
Array variable names when the variable is an array variable. 
 
bool _is_lower_d
Whether this variable lives on lower dimensional blocks. 
 
const InputParameters & parameters() const
Get the parameters of the object. 
 
const SystemBase & sys() const
Get the system this variable is part of. 
 
unsigned int count() const
Get the number of components Note: For standard and vector variables, the number is one...
 
A class to provide an common interface to objects requiring "outputs" option. 
 
virtual void sizeMatrixTagData()
Size data structures related to matrix tagging. 
 
virtual void getDofIndices(const Elem *, std::vector< dof_id_type > &) const
 
void eigen(bool eigen)
Mark this variable as an eigen var or non-eigen var. 
 
unsigned int _index
variable number within MOOSE 
 
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
 
Base class for a system (of equations) 
 
void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job...
 
std::vector< dof_id_type > _dof_indices
DOF indices. 
 
bool eigen() const
Whether or not this variable operates on an eigen kernel. 
 
virtual bool hasDoFsOnNodes() const
Does this variable have DoFs on nodes. 
 
bool _is_eigen
Whether or not this variable operates on eigen kernels. 
 
const libMesh::DofMap & _dof_map
DOF map. 
 
bool useDual() const
Get dual mortar option. 
 
SubProblem & _subproblem
Problem this variable is part of. 
 
libMesh::FEType _fe_type
The FEType associated with this variable. 
 
Every object that can be built by the factory should be derived from this class. 
 
SystemBase & _sys
System this variable is part of. 
 
VarKindType
Framework-wide stuff. 
 
std::vector< Real > _scaling_factor
scaling factor for this variable 
 
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
 
virtual bool isArray() const
 
virtual const std::vector< dof_id_type > & dofIndices() const
Get local DoF indices. 
 
Moose::VarKindType _var_kind
Variable type (see MooseTypes.h) 
 
Real scalingFactor() const
Get the scaling factor for this variable. 
 
const unsigned int _count
Number of variables in the array. 
 
MooseMesh & _mesh
mesh the variable is active in 
 
libMesh::Order order() const
Get the order of this variable Note: Order enum can be implicitly converted to unsigned int...
 
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
 
Generic class for solving transient nonlinear problems. 
 
Assembly & _assembly
Assembly data. 
 
const libMesh::Variable & _variable
libMesh variable object for this variable 
 
const std::vector< dof_id_type > & allDofIndices() const
Get all global dofindices for the variable. 
 
unsigned int _var_num
variable number (from libMesh) 
 
Moose::VarKindType kind() const
Kind of the variable (Nonlinear, Auxiliary, ...) 
 
const std::string & arrayVariableComponent(const unsigned int i) const
Returns the variable name of a component of an array variable. 
 
unsigned int totalVarDofs()
 
An interface that restricts an object to subdomains via the 'blocks' input parameter. 
 
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type and optionally a file path to the top-level block p...
 
State argument for evaluating functors. 
 
bool doDerivatives() const
 
SystemBase & sys()
Get the system this variable is part of. 
 
MooseVariableBase(const InputParameters ¶meters)
 
virtual void setActiveTags(const std::set< TagID > &vtags)
Set the active vector tags.