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.");
registerMooseObject("SolidMechanicsApp", GlobalStrain)
This class provides interface for extracting the periodic directions, residual, and jacobian values f...
virtual void computeResidual() override
GlobalStrain(const InputParameters ¶meters)
static InputParameters validParams()
virtual void computeJacobian() override
const RankFourTensor & _pst_jacobian
std::vector< std::pair< unsigned int, unsigned int > > _components
virtual void assignComponentIndices(Order var_order)
const VectorValue< bool > & _periodic_dir
const RankTwoTensor & _pst_residual
void mooseError(Args &&... args) const
libMesh::Order order() const
unsigned int number() const
MooseVariableScalar & _var
static InputParameters validParams()
DenseMatrix< Number > _local_ke
void accumulateTaggedLocalMatrix()
void prepareMatrixTag(Assembly &assembly, unsigned int ivar, unsigned int jvar)
void accumulateTaggedLocalResidual()
void prepareVectorTag(Assembly &assembly, unsigned int ivar)
DenseVector< Number > _local_re
virtual unsigned int size() const override final
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...