Arcane  4.2.3.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::geometric::Tetraedron4ElementView Class Reference

Modifiable view on geometric elements of type GeomType::Tetraedron4. More...

#include <arcane/geometry/GeomElementView.h>

Inheritance diagram for Arcane::geometric::Tetraedron4ElementView:
Collaboration diagram for Arcane::geometric::Tetraedron4ElementView:

Public Types

using ConstViewType = Tetraedron4ElementConstView

Public Member Functions

constexpr Tetraedron4ElementView (ARCANE_RESTRICT Real3POD *ptr)
 Construct a view from the coordinates passed as arguments.
constexpr void init (const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3)
 Initializes the view with the coordinates passed as arguments.
constexpr operator Tetraedron4ElementConstView () const
 Conversion operator to a constant view.
constexpr Tetraedron4ElementConstView constView () const
 Constant view on the element.
Public Member Functions inherited from Arcane::geometric::GeomElementViewBase
constexpr GeomElementViewBase (ARCANE_RESTRICT Real3POD *ptr)
constexpr const Real3 operator[] (Integer i) const
 Retrieves the value of the i-th node.
constexpr void setValue (Integer i, Real3 v)
 Sets the value of the i-th node to v.

Additional Inherited Members

Protected Attributes inherited from Arcane::geometric::GeomElementViewBase
ARCANE_RESTRICT Real3POD * m_s = nullptr

Detailed Description

Modifiable view on geometric elements of type GeomType::Tetraedron4.

It is possible to retrieve a view of this type via:

For more information on usage, refer to arcanedoc_cea_geometric_viewusage.

Definition at line 292 of file src/arcane/geometry/GeomElementView.h.

Member Typedef Documentation

◆ ConstViewType

using Arcane::geometric::Tetraedron4ElementView::ConstViewType = Tetraedron4ElementConstView

Definition at line 297 of file src/arcane/geometry/GeomElementView.h.

Constructor & Destructor Documentation

◆ Tetraedron4ElementView()

Arcane::geometric::Tetraedron4ElementView::Tetraedron4ElementView ( ARCANE_RESTRICT Real3POD * ptr)
inlineconstexpr

Construct a view from the coordinates passed as arguments.

Definition at line 302 of file src/arcane/geometry/GeomElementView.h.

Member Function Documentation

◆ constView()

Tetraedron4ElementConstView Arcane::geometric::Tetraedron4ElementView::constView ( ) const
inlineconstexpr

Constant view on the element.

Definition at line 315 of file src/arcane/geometry/GeomElementView.h.

◆ init()

void Arcane::geometric::Tetraedron4ElementView::init ( const Real3 & a0,
const Real3 & a1,
const Real3 & a2,
const Real3 & a3 )
inlineconstexpr

Initializes the view with the coordinates passed as arguments.

Definition at line 305 of file src/arcane/geometry/GeomElementView.h.

◆ operator Tetraedron4ElementConstView()

Arcane::geometric::Tetraedron4ElementView::operator Tetraedron4ElementConstView ( ) const
inlineconstexpr

Conversion operator to a constant view.

Definition at line 313 of file src/arcane/geometry/GeomElementView.h.


The documentation for this class was generated from the following file: