28 "The name of the GlobalStrainUserObject");
36 _pst_residual(_pst.getResidual()),
37 _pst_jacobian(_pst.getJacobian()),
38 _periodic_dir(_pst.getPeriodicDirections()),
39 _components(_var.order()),
40 _dim(_mesh.dimension())
44 mooseError(
"PerdiodicStrain ScalarKernel is only compatible with scalar variables of order " 45 "FIRST in 1D, THIRD in 2D, and SIXTH in 3D. Please change the order of the scalar" 46 "variable according to the mesh dimension.");
112 mooseError(
"PerdiodicStrain ScalarKernel is only compatible with FIRST, THIRD, and SIXTH " 113 "order scalar variables.");
void accumulateTaggedLocalResidual()
GlobalStrain(const InputParameters ¶meters)
unsigned int number() const
const RankTwoTensor & _pst_residual
const RankFourTensor & _pst_jacobian
MooseVariableScalar & _var
DenseMatrix< Number > _local_ke
std::vector< std::pair< unsigned int, unsigned int > > _components
const VectorValue< bool > & _periodic_dir
registerMooseObject("SolidMechanicsApp", GlobalStrain)
void accumulateTaggedLocalMatrix()
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()