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

Geometric elements of type GeomType::Pyramid5. More...

#include <arcane/geometry/GeomElement.h>

Inheritance diagram for Arcane::geometric::Pyramid5Element:
Collaboration diagram for Arcane::geometric::Pyramid5Element:

Public Types

using ConstViewType = Pyramid5ElementConstView
using ViewType = Pyramid5ElementView

Public Member Functions

 Pyramid5Element (const VariableNodeReal3 &coords, ItemWithNodes item)
constexpr Pyramid5Element (ConstArrayView< Real3 > coords)
 Pyramid5Element (const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3, const Real3 &a4)
constexpr void init (const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3, const Real3 &a4)
 Initializes the instance with the coordinates passed as arguments.
constexpr operator ConstViewType () const
 Conversion operator to a constant view.
constexpr operator ViewType ()
 Conversion operator to a mutable view.
constexpr ConstViewType constView () const
 Constant view of the element.
constexpr ViewType view ()
 Mutable view of the element.
Public Member Functions inherited from Arcane::geometric::GeomElementBase< 5 >
 GeomElementBase ()=default
 Empty constructor.
constexpr const Real3 s (Integer i) const
 Retrieves the value of the i-th node.
constexpr const Real3 operator[] (Integer i) const
 Retrieves the value of the i-th node.
constexpr void setItem (Integer i, const Real3 &v)
 Positions the value of the i-th node at v.
constexpr void fillView (ArrayView< Real3 > view) const
 Fills the view view with the coordinates of the instance.
void init (const VariableNodeReal3 &coords, ItemWithNodes item)
 Initializes the coordinates with those of the nodes of the entity item.

Additional Inherited Members

Protected Attributes inherited from Arcane::geometric::GeomElementBase< 5 >
Real3POD m_s [NbNode]

Detailed Description

Geometric elements of type GeomType::Pyramid5.

Definition at line 260 of file src/arcane/geometry/GeomElement.h.

Member Typedef Documentation

◆ ConstViewType

using Arcane::geometric::Pyramid5Element::ConstViewType = Pyramid5ElementConstView

Definition at line 265 of file src/arcane/geometry/GeomElement.h.

◆ ViewType

using Arcane::geometric::Pyramid5Element::ViewType = Pyramid5ElementView

Definition at line 266 of file src/arcane/geometry/GeomElement.h.

Constructor & Destructor Documentation

◆ Pyramid5Element() [1/3]

Arcane::geometric::Pyramid5Element::Pyramid5Element ( const VariableNodeReal3 & coords,
ItemWithNodes item )
inline

Definition at line 273 of file src/arcane/geometry/GeomElement.h.

◆ Pyramid5Element() [2/3]

Arcane::geometric::Pyramid5Element::Pyramid5Element ( ConstArrayView< Real3 > coords)
inlineconstexpr

Definition at line 274 of file src/arcane/geometry/GeomElement.h.

◆ Pyramid5Element() [3/3]

Arcane::geometric::Pyramid5Element::Pyramid5Element ( const Real3 & a0,
const Real3 & a1,
const Real3 & a2,
const Real3 & a3,
const Real3 & a4 )
inline

Definition at line 275 of file src/arcane/geometry/GeomElement.h.

Member Function Documentation

◆ constView()

ConstViewType Arcane::geometric::Pyramid5Element::constView ( ) const
inlineconstexpr

Constant view of the element.

Definition at line 298 of file src/arcane/geometry/GeomElement.h.

◆ init()

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

Initializes the instance with the coordinates passed as arguments.

Definition at line 285 of file src/arcane/geometry/GeomElement.h.

◆ operator ConstViewType()

Arcane::geometric::Pyramid5Element::operator ConstViewType ( ) const
inlineconstexpr

Conversion operator to a constant view.

Definition at line 294 of file src/arcane/geometry/GeomElement.h.

◆ operator ViewType()

Arcane::geometric::Pyramid5Element::operator ViewType ( )
inlineconstexpr

Conversion operator to a mutable view.

Definition at line 296 of file src/arcane/geometry/GeomElement.h.

◆ view()

ViewType Arcane::geometric::Pyramid5Element::view ( )
inlineconstexpr

Mutable view of the element.

Definition at line 300 of file src/arcane/geometry/GeomElement.h.


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