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

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

#include <arcane/geometry/GeomElementView.h>

Inheritance diagram for Arcane::geometric::Pyramid5ElementView:
Collaboration diagram for Arcane::geometric::Pyramid5ElementView:

Public Types

using ConstViewType = Pyramid5ElementConstView

Public Member Functions

constexpr Pyramid5ElementView (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, const Real3 &a4)
 Initializes the view with the coordinates passed as arguments.
constexpr operator Pyramid5ElementConstView () const
 Conversion operator to a constant view.
constexpr Pyramid5ElementConstView 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::Pyramid5.

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 355 of file src/arcane/geometry/GeomElementView.h.

Member Typedef Documentation

◆ ConstViewType

using Arcane::geometric::Pyramid5ElementView::ConstViewType = Pyramid5ElementConstView

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

Constructor & Destructor Documentation

◆ Pyramid5ElementView()

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

Construct a view from the coordinates passed as arguments.

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

Member Function Documentation

◆ constView()

Pyramid5ElementConstView Arcane::geometric::Pyramid5ElementView::constView ( ) const
inlineconstexpr

Constant view on the element.

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

◆ init()

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

Initializes the view with the coordinates passed as arguments.

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

◆ operator Pyramid5ElementConstView()

Arcane::geometric::Pyramid5ElementView::operator Pyramid5ElementConstView ( ) const
inlineconstexpr

Conversion operator to a constant view.

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


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