26 typedef std::map<std::pair<unsigned int, unsigned int>, std::pair<ConstraintType, const Function *>>
46 virtual void execute()
override;
std::map< std::pair< unsigned int, unsigned int >, std::pair< ConstraintType, const Function * > > ConstraintMap
virtual RankTwoTensor computeResidual()
Total residual assembled as a rank two tensor.
virtual void initialize() override
RankTwoTensor _residual
The assembled tensor residual.
virtual void threadJoin(const UserObject &y) override
const std::vector< double > y
const MaterialProperty< RankTwoTensor > & _F
Deformation gradient.
RankFourTensor _jacobian
The assembled tensor jacobian.
Computes ${V}(X_{ij}-{X}_{ij})dV$.
static InputParameters validParams()
unsigned int _qp
Used to loop through quadrature points.
virtual void finalize() override
ConstraintType
Constraint type: stress/PK stress or strain/deformation gradient.
virtual void execute() override
const InputParameters & parameters() const
virtual const RankTwoTensor & getResidual() const
const MultiMooseEnum constraintType("strain stress none")
Moose constraint type, for input.
Homogenization::ConstraintMap _cmap
Type of each constraint (stress or strain) for each component.
const std::string _base_name
Prepend to the material properties.
virtual RankFourTensor computeJacobian()
Total Jacobian assembled as a rank two tensor.
const MaterialProperty< RankFourTensor > & _pk1_jacobian
PK derivative.
const MaterialProperty< RankTwoTensor > & _pk1_stress
1st PK (or small) stress
virtual const Homogenization::ConstraintMap & getConstraintMap() const
const bool _large_kinematics
If true use large displacement kinematics.
virtual const RankFourTensor & getJacobian() const
HomogenizationConstraint(const InputParameters ¶meters)