|
IFEM
90A354
|
Base class for helpers applying nodal constraints. More...


Public Member Functions | |
| NodalConstraintASMHelper (ASMbase *pch) | |
| The constructor initializes the patch pointer. | |
| virtual | ~NodalConstraintASMHelper () |
| Empty destructor. | |
| virtual int | getCorner (int vertex, int basis) const =0 |
| Returns the local node number of a given corner of the patch. More... | |
| virtual void | constrainEdge (int item, int comp, int basis, int idx) |
| Constrains a given edge to a given node. More... | |
| virtual void | constrainFace (int item, int comp, int basis, int idx) |
| Constrains a given face to a given node. More... | |
| void | constrainVertex (int item, int comp, int basis, int idx) |
| Constrains a given vertex to a given node. More... | |
| void | constrainPatch (int comp, int basis, int idx) |
| Constrains the whole patch to a given node. More... | |
Protected Member Functions | |
| void | constrainNode (int item, int comp, int idx) |
| Constrains a given node to another node. More... | |
| int | getStartNode (int basis) const |
| Returns the starting node for the given basis. | |
Protected Attributes | |
| ASMbase * | bpch |
| Pointer to the associated patch. | |
Base class for helpers applying nodal constraints.
|
inlinevirtual |
Constrains a given edge to a given node.
| [in] | item | Edge index on patch |
| [in] | comp | Component to constrain |
| [in] | basis | Basis to constrain edge for |
| [in] | idx | Global node to constrain edge to |
Reimplemented in NodalConstraintASMs3DHelper, and NodalConstraintASMs2DHelper.
|
inlinevirtual |
Constrains a given face to a given node.
| [in] | item | Face index on patch |
| [in] | comp | Component to constrain |
| [in] | basis | Basis to constrain face for |
| [in] | idx | Global node to constrain face to |
Reimplemented in NodalConstraintASMs3DHelper.
|
inlineprotected |
Constrains a given node to another node.
| [in] | item | Local index of node to constrain |
| [in] | comp | Component to constrain |
| [in] | idx | Global index of the node to constrain to |
References ASMbase::add2PC(), bpch, and ASMbase::getNodeID().
Referenced by NodalConstraintASMs2DHelper::constrainEdge(), NodalConstraintASMs3DHelper::constrainEdge(), NodalConstraintASMs3DHelper::constrainFace(), constrainPatch(), and constrainVertex().
|
inline |
Constrains the whole patch to a given node.
| [in] | comp | Component to constrain |
| [in] | basis | Basis to constrain patch for |
| [in] | idx | Global node to constrain patch to |
References bpch, constrainNode(), ASMbase::getNoNodes(), and getStartNode().
Referenced by SIMNodalConstraint< Dim >::applyConstraint().
|
inline |
Constrains a given vertex to a given node.
| [in] | item | Vertex index on patch |
| [in] | comp | Component to constrain |
| [in] | basis | Basis to constrain vertex for |
| [in] | idx | Global node to constrain edge to |
References constrainNode(), and getCorner().
Referenced by SIMNodalConstraint< Dim >::applyConstraint().
|
pure virtual |
Returns the local node number of a given corner of the patch.
| [in] | vertex | Vertex index to return the node number for |
| [in] | basis | Basis for vertex |
Implemented in NodalConstraintASMs3DHelper, NodalConstraintASMs2DHelper, and NodalConstraintASMs1DHelper.
Referenced by constrainVertex().