30 "The name of the GlobalStrainUserObject");
38 _pst_residual(_pst.getResidual()),
39 _pst_jacobian(_pst.getJacobian()),
40 _periodic_dir(_pst.getPeriodicDirections()),
41 _components(_var.order()),
42 _dim(_mesh.dimension())
46 mooseError(
"PerdiodicStrain ScalarKernel is only compatible with scalar variables of order " 47 "FIRST in 1D, THIRD in 2D, and SIXTH in 3D. Please change the order of the scalar" 48 "variable according to the mesh dimension.");
114 mooseError(
"PerdiodicStrain ScalarKernel is only compatible with FIRST, THIRD, and SIXTH " 115 "order scalar variables.");
void accumulateTaggedLocalResidual()
GlobalStrain(const InputParameters ¶meters)
unsigned int number() const
const RankTwoTensor & _pst_residual
const RankFourTensor & _pst_jacobian
MooseVariableScalar & _var
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
DenseMatrix< Number > _local_ke
std::vector< std::pair< unsigned int, unsigned int > > _components
const VectorValue< bool > & _periodic_dir
registerMooseObject("SolidMechanicsApp", GlobalStrain)
void accumulateTaggedLocalMatrix()
libMesh::Order order() const
virtual void computeJacobian() override
This class provides interface for extracting the periodic directions, residual, and jacobian values f...
virtual void assignComponentIndices(Order var_order)
DenseVector< Number > _local_re
void mooseError(Args &&... args) const
virtual unsigned int size() const override final
static InputParameters validParams()
virtual void computeResidual() override
void prepareVectorTag(Assembly &assembly, unsigned int ivar)
void prepareMatrixTag(Assembly &assembly, unsigned int ivar, unsigned int jvar)
static InputParameters validParams()