20 #include "libmesh/fe_type.h" 21 #include "libmesh/enum_fe_family.h" 133 std::vector<dof_id_type> & )
const 147 unsigned int component)
const;
252 mooseError(
"setActiveTags must be overridden in derived classes.");
255 #define usingMooseVariableBaseMembers \ 256 using MooseVariableBase::_sys; \ 257 using MooseVariableBase::_fe_type; \ 258 using MooseVariableBase::_var_num; \ 259 using MooseVariableBase::_index; \ 260 using MooseVariableBase::_var_kind; \ 261 using MooseVariableBase::_subproblem; \ 262 using MooseVariableBase::_variable; \ 263 using MooseVariableBase::_assembly; \ 264 using MooseVariableBase::_dof_map; \ 265 using MooseVariableBase::_dof_indices; \ 266 using MooseVariableBase::_mesh; \ 267 using MooseVariableBase::_tid; \ 268 using MooseVariableBase::_count; \ 269 using MooseVariableBase::_scaling_factor; \ 270 using MooseVariableBase::_var_name bool _use_dual
If dual mortar approach is used.
static InputParameters validParams()
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()
FEType _fe_type
The FEType associated with this variable.
virtual unsigned int numberOfDofs() const
Get the number of local DoFs.
Keeps track of stuff related to assembling.
const DofMap & _dof_map
DOF map.
const std::vector< Real > & arrayScalingFactor() const
unsigned int number() const
Get variable number coming from libMesh.
bool _is_lower_d
Whether this variable lives on lower dimensional blocks.
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.
const std::string & name() const override
Get the variable name.
const Variable & _variable
libMesh variable object for this variable
virtual void getDofIndices(const Elem *, std::vector< dof_id_type > &) const
std::string _var_name
Variable name.
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...
const FEType & feType() const
Get the type of finite element object.
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.
bool useDual() const
Get dual mortar option.
SubProblem & _subproblem
Problem this variable is part of.
virtual FEContinuity getContinuity() const
Return the continuity of 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 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.
const DofMap & dofMap() const
The DofMap associated with the system this variable is in.
MooseMesh & _mesh
mesh the variable is active in
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 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, ...)
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.
const InputParameters & parameters() const
Get the parameters of the object.
const bool _is_array
Whether this is an array variable.
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.