Template class to apply specific operations to a geometric shape view. More...
#include <arcane/geometry/GeomShapeOperation.h>
Public Member Functions | |
| template<typename... BuildArgs> | |
| GeomShapeOperation (GeomShapeMng &shape_mng, BuildArgs... compute_function_args) | |
| Constructs the operator. | |
| template<typename ShapeType> | |
| void | apply (ItemVectorView cells) |
| void | applyTriangle3 (ItemVectorView cells) |
| void | applyQuad4 (ItemVectorView cells) |
| void | applyPentagon5 (ItemVectorView cells) |
| void | applyHexagon6 (ItemVectorView cells) |
| void | applyTetraedron4 (ItemVectorView cells) |
| void | applyPyramid5 (ItemVectorView cells) |
| void | applyPentaedron6 (ItemVectorView cells) |
| void | applyHexaedron8 (ItemVectorView cells) |
| void | applyHeptaedron10 (ItemVectorView cells) |
| void | applyOctaedron12 (ItemVectorView cells) |
| OperationFunction & | operation () |
| Operator instance. | |
| GeomShapeMng & | cellShapeMng () |
| Associated manager. | |
| Public Member Functions inherited from Arcane::AbstractItemOperationByBasicType | |
| void | applyVertex (ItemVectorView items) override |
| void | applyLine2 (ItemVectorView items) override |
| void | applyHemiHexa7 (ItemVectorView group) override |
| void | applyHemiHexa6 (ItemVectorView group) override |
| void | applyHemiHexa5 (ItemVectorView group) override |
| void | applyAntiWedgeLeft6 (ItemVectorView group) override |
| void | applyAntiWedgeRight6 (ItemVectorView group) override |
| void | applyDiTetra5 (ItemVectorView group) override |
| void | applyDualNode (ItemVectorView group) override |
| void | applyDualEdge (ItemVectorView group) override |
| void | applyDualFace (ItemVectorView group) override |
| void | applyDualCell (ItemVectorView group) override |
| void | applyLink (ItemVectorView group) override |
| Public Member Functions inherited from Arcane::IItemOperationByBasicType | |
| virtual | ~IItemOperationByBasicType ()=default |
| Releases resources. | |
Private Attributes | |
| GeomShapeMng | m_shape_mng |
| OperationFunction | m_operation_function |
Template class to apply specific operations to a geometric shape view.
This class allows providing an operator implementing IItemOperationByBasicType from an instance of OperationFunction that uses views specific to geometric shapes (the derived classes of GeomShapeView).
The class OperationFunction must provide an apply() method for each shape geometric type (Hexaedron8ShapeView, Quad4ShapeView, ...)
The call is then made with a group of cells (CellGroup) by calling the ItemGroup::applyOperation() method with this instance as an argument:
Definition at line 64 of file src/arcane/geometry/GeomShapeOperation.h.
|
inline |
Constructs the operator.
The first argument is of type GeomShapeMng and is used to initialize the operator. Subsequent optional arguments are passed directly to the OperationFunction constructor.
shape_mng must have been initialized before operations can be applied.
Definition at line 79 of file src/arcane/geometry/GeomShapeOperation.h.
|
inline |
Definition at line 86 of file src/arcane/geometry/GeomShapeOperation.h.
|
inlinevirtual |
Reimplemented from Arcane::AbstractItemOperationByBasicType.
Definition at line 129 of file src/arcane/geometry/GeomShapeOperation.h.
|
inlinevirtual |
Reimplemented from Arcane::AbstractItemOperationByBasicType.
Definition at line 125 of file src/arcane/geometry/GeomShapeOperation.h.
|
inlinevirtual |
Reimplemented from Arcane::AbstractItemOperationByBasicType.
Definition at line 108 of file src/arcane/geometry/GeomShapeOperation.h.
|
inlinevirtual |
Reimplemented from Arcane::AbstractItemOperationByBasicType.
Definition at line 133 of file src/arcane/geometry/GeomShapeOperation.h.
|
inlinevirtual |
Reimplemented from Arcane::AbstractItemOperationByBasicType.
Definition at line 121 of file src/arcane/geometry/GeomShapeOperation.h.
|
inlinevirtual |
Reimplemented from Arcane::AbstractItemOperationByBasicType.
Definition at line 104 of file src/arcane/geometry/GeomShapeOperation.h.
|
inlinevirtual |
Reimplemented from Arcane::AbstractItemOperationByBasicType.
Definition at line 117 of file src/arcane/geometry/GeomShapeOperation.h.
|
inlinevirtual |
Reimplemented from Arcane::AbstractItemOperationByBasicType.
Definition at line 100 of file src/arcane/geometry/GeomShapeOperation.h.
|
inlinevirtual |
Reimplemented from Arcane::AbstractItemOperationByBasicType.
Definition at line 113 of file src/arcane/geometry/GeomShapeOperation.h.
|
inlinevirtual |
Reimplemented from Arcane::AbstractItemOperationByBasicType.
Definition at line 96 of file src/arcane/geometry/GeomShapeOperation.h.
|
inline |
Associated manager.
Definition at line 143 of file src/arcane/geometry/GeomShapeOperation.h.
|
inline |
Operator instance.
Definition at line 141 of file src/arcane/geometry/GeomShapeOperation.h.
|
private |
Definition at line 148 of file src/arcane/geometry/GeomShapeOperation.h.
|
private |
Definition at line 147 of file src/arcane/geometry/GeomShapeOperation.h.