Opm::Elasticity::MPC Class Reference A class for representing a general multi-point constraint equation. More...
Detailed DescriptionA class for representing a general multi-point constraint equation. A multi-point constraint (MPC) equation is used to introduce additional coupling between the degrees of freedom (DOF) in a FE grid. An MPC equation is in general a linear coupling of one (slave) dof to a set of master dofs, and may be expressed as
where
When n = 0, the above equation represents a fixed ( ) or prescribed ( ) dof. One or more of the master dofs may also be a slave in another constraint equation (chained constrains). In this case the two equations are combined to eliminate the master dof that is constrained. This is done while preprocessing the model by the resolveMPCchains function. Constructor & Destructor Documentation
Constructor creating a constraint for a specified slave DOF with no master DOFs.
References iceq. Member Function Documentation
Adds a master DOF to the constraint equation.
Referenced by Opm::Elasticity::IMPL_FUNC(), and Opm::Elasticity::ASMHandler< GridType >::resolveMPCChain().
Increments the c0 coefficient by a given offset. References Opm::Elasticity::MPC::DOF::coeff. Referenced by Opm::Elasticity::ASMHandler< GridType >::resolveMPCChain().
Returns a reference to the i'th master DOF. Referenced by Opm::Elasticity::ASMHandler< GridType >::addDOF(), Opm::Elasticity::ASMHandler< GridType >::addElement(), Opm::Elasticity::ASMHandler< GridType >::determineAdjacencyPattern(), Opm::Elasticity::ASMHandler< GridType >::expandSolution(), Opm::Elasticity::ASMHandler< GridType >::extractValues(), Opm::Elasticity::IMPL_FUNC(), Opm::Elasticity::ASMHandler< GridType >::nodeAdjacency(), and Opm::Elasticity::ASMHandler< GridType >::resolveMPCChain().
Returns the number of master DOFs. Referenced by Opm::Elasticity::ASMHandler< GridType >::addDOF(), Opm::Elasticity::ASMHandler< GridType >::addElement(), Opm::Elasticity::ASMHandler< GridType >::determineAdjacencyPattern(), Opm::Elasticity::ASMHandler< GridType >::expandSolution(), Opm::Elasticity::ASMHandler< GridType >::extractValues(), Opm::Elasticity::IMPL_FUNC(), Opm::Elasticity::ASMHandler< GridType >::nodeAdjacency(), and Opm::Elasticity::ASMHandler< GridType >::resolveMPCChain().
Returns a reference to the slave DOF. Referenced by Opm::Elasticity::ASMHandler< GridType >::addMPC(), and Opm::Elasticity::ASMHandler< GridType >::resolveMPCChain().
Removes the pos'th master DOF from the constraint equation. Referenced by Opm::Elasticity::ASMHandler< GridType >::resolveMPCChain().
Assigns a new c0 coefficient to the constraint equation. References Opm::Elasticity::MPC::DOF::coeff.
Updates the coefficient of the pos'th master DOF. Referenced by Opm::Elasticity::ASMHandler< GridType >::resolveMPCChain(). Friends And Related Function Documentation
Global stream operator printing a constraint equation. Member Data Documentation
Global constraint equation identifier. Referenced by MPC(). The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||