Public Types |
Public Member Functions |
Static Public Attributes |
Protected Types |
Protected Member Functions |
Protected Attributes |
List of all members
Opm::Elasticity::ASMHandler< GridType > Class Template Reference Class handling finite element assembly. More...
Detailed Descriptiontemplate<class GridType> class Opm::Elasticity::ASMHandler< GridType > Class handling finite element assembly. Member Typedef Documentation◆ fixEntry
template<class GridType >
Fixed nodes. ◆ fixIt
template<class GridType >
Iterator over a fixmap. ◆ fixMap
template<class GridType >
A mapping from dof to fix value info. ◆ LeafIndexSet
template<class GridType >
A set of indices. ◆ LeafIterator
template<class GridType >
An iterator over grid cells. ◆ NodeValue
template<class GridType >
A vectorial node value. Constructor & Destructor Documentation◆ ASMHandler()
template<class GridType >
The default constructor.
◆ ~ASMHandler()
template<class GridType >
Destructor. References Opm::Elasticity::ASMHandler< GridType >::mpcs. Member Function Documentation◆ addDOF()
template<class GridType >
template<int esize>
Internal function. Assemble entries for a single DOF.
References Opm::Elasticity::MPC::DOF::coeff, Opm::Elasticity::MPC::DOF::dof, Opm::Elasticity::MPC::getMaster(), Opm::Elasticity::MPC::getNoMaster(), Opm::Elasticity::j, and Opm::Elasticity::MPC::DOF::node. ◆ addElement()
template<class GridType >
template<int esize>
Add an element matrix/vector to the system.
References Opm::Elasticity::MPC::DOF::coeff, Opm::Elasticity::MPC::DOF::dof, Opm::Elasticity::MPC::getMaster(), Opm::Elasticity::MPC::getNoMaster(), Opm::Elasticity::MPC::DOF::node, and Opm::Elasticity::XYZ. ◆ addMPC()
template<class GridType >
Add a MPC.
References Opm::Elasticity::MPC::DOF::dof, Opm::Elasticity::MPC::getSlave(), and Opm::Elasticity::MPC::DOF::node. ◆ determineAdjacencyPattern()
template<class GridType >
Internal function. Calculate adjacency pattern. References Opm::Elasticity::MPC::DOF::dof, Opm::Elasticity::MPC::getMaster(), Opm::Elasticity::MPC::getNoMaster(), Opm::Elasticity::itend, LoggerHelper::log(), and Opm::Elasticity::MPC::DOF::node. ◆ expandSolution()
template<class GridType >
Expand a system vector to a solution vector. References Opm::Elasticity::MPC::DOF::coeff, Opm::Elasticity::MPC::DOF::dof, Opm::Elasticity::MPC::getMaster(), Opm::Elasticity::MPC::getNoMaster(), Opm::Elasticity::j, Opm::Elasticity::MPC::DOF::node, and Opm::Elasticity::NONE. ◆ extractValues()
template<class GridType >
template<int comp>
Extract values corresponding to cell.
References Opm::Elasticity::MPC::DOF::coeff, Opm::Elasticity::MPC::DOF::dof, Opm::Elasticity::MPC::getMaster(), Opm::Elasticity::MPC::getNoMaster(), and Opm::Elasticity::MPC::DOF::node. ◆ getAdjacencyPattern()
template<class GridType >
Access current adjacency pattern. Can be used to add extra entries, such as other blocks References Opm::Elasticity::ASMHandler< GridType >::adjacencyPattern. ◆ getEqns()
template<class GridType >
Get the number of equations in the system.
References Opm::Elasticity::ASMHandler< GridType >::maxeqn. ◆ getEquationForDof()
template<class GridType >
Get the equation number for a given dof on a given node.
References Opm::Elasticity::ASMHandler< GridType >::dim, and Opm::Elasticity::ASMHandler< GridType >::meqn. ◆ getLoadVector()
template<class GridType >
Obtain a reference to the load vector.
References Opm::Elasticity::ASMHandler< GridType >::b. ◆ getMPC()
template<class GridType >
◆ getOperator()
template<class GridType >
Obtain a reference to the linear operator.
References Opm::Elasticity::ASMHandler< GridType >::A. ◆ initForAssembly()
template<class GridType >
This function needs to be called before starting the element assembly. References Opm::Elasticity::MatrixOps::fromAdjacency(), Opm::Elasticity::X, Opm::Elasticity::Y, and Opm::Elasticity::Z. ◆ isFixed()
template<class GridType >
Check if a node is marked as fixed (in any direction)
References Opm::Elasticity::ASMHandler< GridType >::fixedNodes. ◆ nodeAdjacency()
template<class GridType >
Internal function. Generate adjacency pattern for a given node.
References Opm::Elasticity::MPC::DOF::dof, Opm::Elasticity::MPC::getMaster(), Opm::Elasticity::MPC::getNoMaster(), Opm::Elasticity::j, and Opm::Elasticity::MPC::DOF::node. ◆ preprocess()
template<class GridType >
Internal function. Generate meqn for registered MPC/fixed nodes. ◆ printLoadVector()
template<class GridType >
Print the current load vector. ◆ printOperator()
template<class GridType >
Print the current operator. References Opm::Elasticity::MatrixOps::print(). ◆ resolveMPCChain()
template<class GridType >
Internal function. Handles a single MPC.
References Opm::Elasticity::MPC::addMaster(), Opm::Elasticity::MPC::addOffset(), Opm::Elasticity::MPC::DOF::coeff, Opm::Elasticity::MPC::DOF::dof, Opm::Elasticity::MPC::getMaster(), Opm::Elasticity::MPC::getNoMaster(), Opm::Elasticity::MPC::getSlave(), Opm::Elasticity::j, Opm::Elasticity::MPC::DOF::node, Opm::Elasticity::MPC::removeMaster(), and Opm::Elasticity::MPC::updateMaster(). Referenced by Opm::Elasticity::ASMHandler< GridType >::resolveMPCChains(). ◆ resolveMPCChains()
template<class GridType >
Resolve chained MPCs. References Opm::Elasticity::ASMHandler< GridType >::mpcs, and Opm::Elasticity::ASMHandler< GridType >::resolveMPCChain(). ◆ updateFixedNode()
template<class GridType >
Update/add a fixed node.
Member Data Documentation◆ A
template<class GridType >
The linear operator. Referenced by Opm::Elasticity::ASMHandler< GridType >::getOperator(). ◆ adjacencyPattern
template<class GridType >
Holds the adjacency pattern of the sparse matrix. Referenced by Opm::Elasticity::ASMHandler< GridType >::getAdjacencyPattern(). ◆ b
template<class GridType >
The load vector. Referenced by Opm::Elasticity::ASMHandler< GridType >::getLoadVector(). ◆ dim
template<class GridType >
The dimension of the grid. Referenced by Opm::Elasticity::ASMHandler< GridType >::getEquationForDof(). ◆ fixedNodes
template<class GridType >
The map holding information about our fixed nodes. Referenced by Opm::Elasticity::ASMHandler< GridType >::isFixed(). ◆ gv
template<class GridType >
A reference to the grid in use. ◆ maxeqn
template<class GridType >
The number of equations in the system. Referenced by Opm::Elasticity::ASMHandler< GridType >::getEqns(). ◆ meqn
template<class GridType >
Vector of (interleaved) dof<->eqn mapping. Referenced by Opm::Elasticity::ASMHandler< GridType >::getEquationForDof(). ◆ mpcs
template<class GridType >
The set of MPC. Referenced by Opm::Elasticity::ASMHandler< GridType >::resolveMPCChains(), and Opm::Elasticity::ASMHandler< GridType >::~ASMHandler(). The documentation for this class was generated from the following files: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||