Constant view on a geometric shape GeomShape. More...
#include <arcane/geometry/GeomShapeView.h>
Public Member Functions | |
Filling of control sub-volumes for a specific type. | |
The geometric type (geomType()) of the instance must match the chosen method. | |
| void | fillSubZoneTriangle3 (Quad4ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZoneQuad4 (Quad4ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZonePentagon5 (Quad4ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZoneHexagon6 (Quad4ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZoneTetraedron4 (Hexaedron8ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZonePyramid5 (Hexaedron8ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZonePentaedron6 (Hexaedron8ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZoneHexaedron8 (Hexaedron8ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZoneHeptaedron10 (Hexaedron8ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZoneOctaedron12 (Hexaedron8ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
Filling of control sub-volumes (obsolete methods). | |
These methods are obsolete and must be replaced by the equivalent method with the full element name. | |
| void | fillSubZoneTriangle (Quad4ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZoneQuad (Quad4ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZonePentagon (Quad4ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZoneHexagon (Quad4ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZoneTetra (Hexaedron8ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZonePyramid (Hexaedron8ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZonePenta (Hexaedron8ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZoneHexa (Hexaedron8ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZoneWedge7 (Hexaedron8ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| void | fillSubZoneWedge8 (Hexaedron8ElementView svc, Integer i) |
| Fills svc with the information of the i-th control sub-volume. | |
| Triangle3ElementConstView | toTriangle3Element () const |
| Returns a specific view to a geometric element of type GeomType::Triangle3. | |
| Quad4ElementConstView | toQuad4Element () const |
| Returns a specific view to a geometric element of type GeomType::Quad4. | |
| Pentagon5ElementConstView | toPentagon5Element () const |
| Returns a specific view to a geometric element of type GeomType::Pentagon5. | |
| Hexagon6ElementConstView | toHexagon6Element () const |
| Returns a specific view to a geometric element of type GeomType::Hexagon6. | |
| Tetraedron4ElementConstView | toTetraedron4Element () const |
| Returns a specific view to a geometric element of type GeomType::Tetraedron4. | |
| Pyramid5ElementConstView | toPyramid5Element () const |
| Returns a specific view to a geometric element of type GeomType::Pyramid5. | |
| Pentaedron6ElementConstView | toPentaedron6Element () const |
| Returns a specific view to a geometric element of type GeomType::Pentaedron6. | |
| Hexaedron8ElementConstView | toHexaedron8Element () const |
| Returns a specific view to a geometric element of type GeomType::Hexaedron8. | |
| Heptaedron10ElementConstView | toHeptaedron10Element () const |
| Returns a specific view to a geometric element of type GeomType::Heptaedron10. | |
| Octaedron12ElementConstView | toOctaedron12Element () const |
| Returns a specific view to a geometric element of type GeomType::Octaedron12. | |
| Triangle3ShapeView | toTriangle3Shape () const |
| Returns a specific view for a geometric shape of type GeomType::Triangle3. | |
| Quad4ShapeView | toQuad4Shape () const |
| Returns a specific view for a geometric shape of type GeomType::Quad4. | |
| Pentagon5ShapeView | toPentagon5Shape () const |
| Returns a specific view for a geometric shape of type GeomType::Pentagon5. | |
| Hexagon6ShapeView | toHexagon6Shape () const |
| Returns a specific view for a geometric shape of type GeomType::Hexagon6. | |
| Tetraedron4ShapeView | toTetraedron4Shape () const |
| Returns a specific view for a geometric shape of type GeomType::Tetraedron4. | |
| Pyramid5ShapeView | toPyramid5Shape () const |
| Returns a specific view for a geometric shape of type GeomType::Pyramid5. | |
| Pentaedron6ShapeView | toPentaedron6Shape () const |
| Returns a specific view for a geometric shape of type GeomType::Pentaedron6. | |
| Hexaedron8ShapeView | toHexaedron8Shape () const |
| Returns a specific view for a geometric shape of type GeomType::Hexaedron8. | |
| Heptaedron10ShapeView | toHeptaedron10Shape () const |
| Returns a specific view for a geometric shape of type GeomType::Heptaedron10. | |
| Octaedron12ShapeView | toOctaedron12Shape () const |
| Returns a specific view for a geometric shape of type GeomType::Octaedron12. | |
| void | fillSubZoneElement (HexaElementView hexa, Integer i) |
| Fills hexa with the information of the i-th sub-control volume. | |
| void | fillSubZoneElement (QuadElementView quad, Integer i) |
| Fills quad with the information of the i-th sub-control volume. | |
| ARCANE_DEPRECATED_122 void | initFromHexa (HexaElementConstView hexa, GeomShape &geom_cell) |
| ARCANE_DEPRECATED_122 void | initFromQuad (QuadElementConstView hexa, GeomShape &geom_cell) |
Static Public Member Functions | |
| static void | initializeConnectivity () |
Friends | |
| class | GeomShapeMng |
| class | GeomShape |
| class | GeomShapeConnectivity |
Coordinate Retrieval. | |
| constexpr const Real3 | node (Integer i) const |
| Position of the i-th node of the shape. | |
| const Real3 | face (Integer i) const |
| Position of the center of the i-th face of the shape. | |
| const Real3 | center () const |
| Position of the center of the shape. | |
| const Real3 | edge (Integer i) const |
| Position of the center of the i-th edge of the shape. | |
| Item | item () const |
| Associated entity (null if none). | |
| Cell | cell () const |
| Associated cell (null if none). | |
| Face | face () const |
| Associated face (null if none). | |
| void | _setArray (const Real3 *node_ptr, const Real3 *face_ptr, const Real3 *center_ptr) |
| constexpr const Real3POD * | _nodeView () const |
Connectivity Information. | |
| const NodeConnectic & | nodeConnectic (Integer i) const |
| Node connectivity information. | |
| const EdgeConnectic & | edgeConnectic (Integer i) const |
| Edge connectivity information. | |
| const FaceConnectic & | faceConnectic (Integer i) const |
| Face connectivity information. | |
| Integer | nbSubZone () const |
| Number of sub-control volumes. | |
| Integer | nbSvcFace () const |
| Number of internal SVC faces. | |
| Integer | nodeAssociation (Integer i) const |
| Local number of the vertex associated with the sub-control volume. | |
| const SVCFaceConnectic & | svcFaceConnectic (Integer i) const |
| Integer | edgeNodeSubZoneId (Integer i) const |
| Local numbers within the sub-control volumes. | |
| Integer | faceNodeSubZoneId (Integer i) const |
| GeomType | geomType () const |
| Geometric type of the shape. | |
| void | _setItem (Item item) |
| void | _setNullItem (int item_type) |
Constant view on a geometric shape GeomShape.
A view on a geometric shape allows for the optimized retrieval of the position of nodes, faces, and edges (in 3D) of a geometric object.
This class manages a view on a geometric shape. There are two ways to initialize a view:
Definition at line 59 of file GeomShapeView.h.
|
inline |
Definition at line 76 of file GeomShapeView.h.
|
inlineconstexprprotected |
Definition at line 159 of file GeomShapeView.h.
|
inlineprotected |
Definition at line 139 of file GeomShapeView.h.
|
inlineprotected |
Definition at line 235 of file GeomShapeView.h.
|
inlineprotected |
Definition at line 241 of file GeomShapeView.h.
|
inline |
Associated cell (null if none).
Definition at line 133 of file GeomShapeView.h.
|
inline |
Position of the center of the shape.
Definition at line 118 of file GeomShapeView.h.
Referenced by fillSubZoneElement(), fillSubZoneElement(), fillSubZoneHeptaedron10(), fillSubZoneHexaedron8(), fillSubZoneOctaedron12(), fillSubZonePentaedron6(), fillSubZonePyramid5(), fillSubZoneQuad4(), fillSubZoneTetraedron4(), and fillSubZoneTriangle3().
Position of the center of the i-th edge of the shape.
Definition at line 124 of file GeomShapeView.h.
Referenced by fillSubZoneElement(), fillSubZoneHeptaedron10(), fillSubZoneHexaedron8(), fillSubZoneOctaedron12(), fillSubZonePentaedron6(), fillSubZonePyramid5(), and fillSubZoneTetraedron4().
|
inline |
Edge connectivity information.
Definition at line 174 of file GeomShapeView.h.
Local numbers within the sub-control volumes.
Definition at line 209 of file GeomShapeView.h.
|
inline |
Associated face (null if none).
Definition at line 135 of file GeomShapeView.h.
Referenced by fillSubZoneElement(), fillSubZoneElement(), fillSubZoneHeptaedron10(), fillSubZoneHexaedron8(), fillSubZoneOctaedron12(), fillSubZonePentaedron6(), fillSubZonePyramid5(), fillSubZoneQuad4(), fillSubZoneTetraedron4(), and fillSubZoneTriangle3().
Position of the center of the i-th face of the shape.
Definition at line 112 of file GeomShapeView.h.
Referenced by fillSubZoneElement().
|
inline |
Face connectivity information.
Definition at line 180 of file GeomShapeView.h.
Definition at line 214 of file GeomShapeView.h.
| void Arcane::geometric::GeomShapeView::fillSubZoneElement | ( | HexaElementView | hexa, |
| Integer | i ) |
Fills hexa with the information of the i-th sub-control volume.
Definition at line 243 of file GeomShapeView.cc.
References center(), edge(), face(), face(), Arcane::geometric::Hexaedron8ElementView::init(), node(), nodeAssociation(), and nodeConnectic().
Referenced by fillSubZoneQuad().
| void Arcane::geometric::GeomShapeView::fillSubZoneElement | ( | QuadElementView | quad, |
| Integer | i ) |
Fills quad with the information of the i-th sub-control volume.
Definition at line 170 of file GeomShapeView.cc.
References center(), face(), Arcane::geometric::Quad4ElementView::init(), node(), nodeAssociation(), and nodeConnectic().
| void Arcane::geometric::GeomShapeView::fillSubZoneHeptaedron10 | ( | Hexaedron8ElementView | svc, |
| Integer | i ) |
Fills svc with the information of the i-th control sub-volume.
Definition at line 374 of file GeomShapeView.cc.
References center(), edge(), face(), Arcane::geometric::Hexaedron8ElementView::init(), and node().
|
inline |
Fills svc with the information of the i-th control sub-volume.
Definition at line 142 of file GeomShapeView.h.
| void Arcane::geometric::GeomShapeView::fillSubZoneHexaedron8 | ( | Hexaedron8ElementView | svc, |
| Integer | i ) |
Fills svc with the information of the i-th control sub-volume.
Definition at line 256 of file GeomShapeView.cc.
References center(), edge(), face(), Arcane::geometric::Hexaedron8ElementView::init(), and node().
|
inline |
Fills svc with the information of the i-th control sub-volume.
Definition at line 106 of file GeomShapeView.h.
| void Arcane::geometric::GeomShapeView::fillSubZoneHexagon6 | ( | Quad4ElementView | svc, |
| Integer | i ) |
Fills svc with the information of the i-th control sub-volume.
Definition at line 234 of file GeomShapeView.cc.
| void Arcane::geometric::GeomShapeView::fillSubZoneOctaedron12 | ( | Hexaedron8ElementView | svc, |
| Integer | i ) |
Fills svc with the information of the i-th control sub-volume.
Definition at line 414 of file GeomShapeView.cc.
References center(), edge(), face(), Arcane::geometric::Hexaedron8ElementView::init(), and node().
|
inline |
Fills svc with the information of the i-th control sub-volume.
Definition at line 133 of file GeomShapeView.h.
| void Arcane::geometric::GeomShapeView::fillSubZonePentaedron6 | ( | Hexaedron8ElementView | svc, |
| Integer | i ) |
Fills svc with the information of the i-th control sub-volume.
Definition at line 324 of file GeomShapeView.cc.
References center(), edge(), face(), Arcane::geometric::Hexaedron8ElementView::init(), and node().
|
inline |
Fills svc with the information of the i-th control sub-volume.
Definition at line 97 of file GeomShapeView.h.
References initFromQuad().
| void Arcane::geometric::GeomShapeView::fillSubZonePentagon5 | ( | Quad4ElementView | svc, |
| Integer | i ) |
Fills svc with the information of the i-th control sub-volume.
Definition at line 225 of file GeomShapeView.cc.
|
inline |
Fills svc with the information of the i-th control sub-volume.
Definition at line 124 of file GeomShapeView.h.
| void Arcane::geometric::GeomShapeView::fillSubZonePyramid5 | ( | Hexaedron8ElementView | svc, |
| Integer | i ) |
Fills svc with the information of the i-th control sub-volume.
Definition at line 290 of file GeomShapeView.cc.
References center(), edge(), face(), Arcane::geometric::Hexaedron8ElementView::init(), and node().
|
inline |
Fills svc with the information of the i-th control sub-volume.
Definition at line 88 of file GeomShapeView.h.
References fillSubZoneElement().
| void Arcane::geometric::GeomShapeView::fillSubZoneQuad4 | ( | Quad4ElementView | svc, |
| Integer | i ) |
Fills svc with the information of the i-th control sub-volume.
Definition at line 181 of file GeomShapeView.cc.
References center(), face(), Arcane::geometric::Quad4ElementView::init(), and node().
|
inline |
Fills svc with the information of the i-th control sub-volume.
Definition at line 115 of file GeomShapeView.h.
| void Arcane::geometric::GeomShapeView::fillSubZoneTetraedron4 | ( | Hexaedron8ElementView | svc, |
| Integer | i ) |
Fills svc with the information of the i-th control sub-volume.
Definition at line 352 of file GeomShapeView.cc.
References center(), edge(), face(), Arcane::geometric::Hexaedron8ElementView::init(), and node().
|
inline |
Fills svc with the information of the i-th control sub-volume.
Definition at line 79 of file GeomShapeView.h.
| void Arcane::geometric::GeomShapeView::fillSubZoneTriangle3 | ( | Quad4ElementView | svc, |
| Integer | i ) |
Fills svc with the information of the i-th control sub-volume.
Definition at line 203 of file GeomShapeView.cc.
References center(), face(), Arcane::geometric::Quad4ElementView::init(), and node().
|
inline |
Fills svc with the information of the i-th control sub-volume.
Definition at line 151 of file GeomShapeView.h.
|
inline |
Fills svc with the information of the i-th control sub-volume.
Definition at line 160 of file GeomShapeView.h.
|
inline |
Geometric type of the shape.
If the shape is associated with an entity (retrievable via item()), it is also the type of the entity.
Returns GeomType::NullType if the instance is not initialized.
Definition at line 228 of file GeomShapeView.h.
Referenced by toHeptaedron10Element(), toHexaedron8Element(), toHexagon6Element(), toOctaedron12Element(), toPentaedron6Element(), toPentagon5Element(), toPyramid5Element(), toQuad4Element(), toTetraedron4Element(), and toTriangle3Element().
| void Arcane::geometric::GeomShapeView::initFromHexa | ( | HexaElementConstView | hexa, |
| GeomShape & | geom_cell ) |
Definition at line 139 of file GeomShapeView.cc.
References Arcane::geometric::GeomShapeStdBuilder::computeNodePositionFromHexa(), and Arcane::geometric::GeomShape::toMutableView().
Referenced by Arcane::geometric::Quad4ShapeView::elemView().
| void Arcane::geometric::GeomShapeView::initFromQuad | ( | QuadElementConstView | hexa, |
| GeomShape & | geom_cell ) |
Definition at line 153 of file GeomShapeView.cc.
References Arcane::geometric::GeomShapeStdBuilder::computeNodePositionFromQuad(), and Arcane::geometric::GeomShape::toMutableView().
Referenced by fillSubZonePentagon().
|
static |
Definition at line 79 of file GeomShapeView.cc.
|
inline |
Associated entity (null if none).
Definition at line 131 of file GeomShapeView.h.
Referenced by Arcane::geometric::Tetraedron4ShapeView::elemView().
|
inline |
Number of sub-control volumes.
Definition at line 186 of file GeomShapeView.h.
|
inline |
Number of internal SVC faces.
Definition at line 192 of file GeomShapeView.h.
Position of the i-th node of the shape.
Definition at line 109 of file GeomShapeView.h.
Referenced by fillSubZoneElement(), fillSubZoneElement(), fillSubZoneHeptaedron10(), fillSubZoneHexaedron8(), fillSubZoneOctaedron12(), fillSubZonePentaedron6(), fillSubZonePyramid5(), fillSubZoneQuad4(), fillSubZoneTetraedron4(), fillSubZoneTriangle3(), and Arcane::geometric::Pentagon5ShapeView::nbNode().
Local number of the vertex associated with the sub-control volume.
Definition at line 198 of file GeomShapeView.h.
Referenced by fillSubZoneElement(), and fillSubZoneElement().
|
inline |
Node connectivity information.
Definition at line 168 of file GeomShapeView.h.
Referenced by fillSubZoneElement(), and fillSubZoneElement().
|
inline |
Definition at line 203 of file GeomShapeView.h.
|
inline |
Returns a specific view to a geometric element of type GeomType::Heptaedron10.
Definition at line 590 of file GeneratedGeomShapeView.h.
References geomType(), and Arcane::geometric::GeomType::Heptaedron10.
|
inline |
Returns a specific view for a geometric shape of type GeomType::Heptaedron10.
Definition at line 523 of file GeneratedGeomShapeView.h.
|
inline |
Returns a specific view to a geometric element of type GeomType::Hexaedron8.
Definition at line 584 of file GeneratedGeomShapeView.h.
References geomType(), and Arcane::geometric::GeomType::Hexaedron8.
|
inline |
Returns a specific view for a geometric shape of type GeomType::Hexaedron8.
Definition at line 518 of file GeneratedGeomShapeView.h.
|
inline |
Returns a specific view to a geometric element of type GeomType::Hexagon6.
Definition at line 560 of file GeneratedGeomShapeView.h.
References geomType(), and Arcane::geometric::GeomType::Hexagon6.
|
inline |
Returns a specific view for a geometric shape of type GeomType::Hexagon6.
Definition at line 498 of file GeneratedGeomShapeView.h.
|
inline |
Returns a specific view to a geometric element of type GeomType::Octaedron12.
Definition at line 596 of file GeneratedGeomShapeView.h.
References geomType(), and Arcane::geometric::GeomType::Octaedron12.
|
inline |
Returns a specific view for a geometric shape of type GeomType::Octaedron12.
Definition at line 528 of file GeneratedGeomShapeView.h.
|
inline |
Returns a specific view to a geometric element of type GeomType::Pentaedron6.
Definition at line 578 of file GeneratedGeomShapeView.h.
References geomType(), and Arcane::geometric::GeomType::Pentaedron6.
|
inline |
Returns a specific view for a geometric shape of type GeomType::Pentaedron6.
Definition at line 513 of file GeneratedGeomShapeView.h.
|
inline |
Returns a specific view to a geometric element of type GeomType::Pentagon5.
Definition at line 554 of file GeneratedGeomShapeView.h.
References geomType(), and Arcane::geometric::GeomType::Pentagon5.
|
inline |
Returns a specific view for a geometric shape of type GeomType::Pentagon5.
Definition at line 493 of file GeneratedGeomShapeView.h.
|
inline |
Returns a specific view to a geometric element of type GeomType::Pyramid5.
Definition at line 572 of file GeneratedGeomShapeView.h.
References geomType(), and Arcane::geometric::GeomType::Pyramid5.
|
inline |
Returns a specific view for a geometric shape of type GeomType::Pyramid5.
Definition at line 508 of file GeneratedGeomShapeView.h.
|
inline |
Returns a specific view to a geometric element of type GeomType::Quad4.
Definition at line 548 of file GeneratedGeomShapeView.h.
References geomType(), and Arcane::geometric::GeomType::Quad4.
|
inline |
Returns a specific view for a geometric shape of type GeomType::Quad4.
Definition at line 488 of file GeneratedGeomShapeView.h.
|
inline |
Returns a specific view to a geometric element of type GeomType::Tetraedron4.
Definition at line 566 of file GeneratedGeomShapeView.h.
References geomType(), and Arcane::geometric::GeomType::Tetraedron4.
|
inline |
Returns a specific view for a geometric shape of type GeomType::Tetraedron4.
Definition at line 503 of file GeneratedGeomShapeView.h.
|
inline |
Returns a specific view to a geometric element of type GeomType::Triangle3.
Definition at line 542 of file GeneratedGeomShapeView.h.
References geomType(), and Arcane::geometric::GeomType::Triangle3.
|
inline |
Returns a specific view for a geometric shape of type GeomType::Triangle3.
Definition at line 483 of file GeneratedGeomShapeView.h.
|
friend |
Definition at line 62 of file GeomShapeView.h.
|
friend |
Definition at line 63 of file GeomShapeView.h.
|
friend |
Definition at line 61 of file GeomShapeView.h.