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

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

#include <arcane/geometry/GeomElement.h>

Inheritance diagram for Arcane::geometric::Triangle3Element:
Collaboration diagram for Arcane::geometric::Triangle3Element:

Public Types

using ConstViewType = Triangle3ElementConstView
using ViewType = Triangle3ElementView

Public Member Functions

 Triangle3Element (const VariableNodeReal3 &coords, ItemWithNodes item)
constexpr Triangle3Element (ConstArrayView< Real3 > coords)
 Triangle3Element (const Real3 &a0, const Real3 &a1, const Real3 &a2)
constexpr void init (const Real3 &a0, const Real3 &a1, const Real3 &a2)
 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< 3 >
 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< 3 >
Real3POD m_s [NbNode]

Detailed Description

Geometric elements of type GeomType::Triangle3.

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

Member Typedef Documentation

◆ ConstViewType

using Arcane::geometric::Triangle3Element::ConstViewType = Triangle3ElementConstView

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

◆ ViewType

using Arcane::geometric::Triangle3Element::ViewType = Triangle3ElementView

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

Constructor & Destructor Documentation

◆ Triangle3Element() [1/3]

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

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

◆ Triangle3Element() [2/3]

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

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

◆ Triangle3Element() [3/3]

Arcane::geometric::Triangle3Element::Triangle3Element ( const Real3 & a0,
const Real3 & a1,
const Real3 & a2 )
inline

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

Member Function Documentation

◆ constView()

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

Constant view of the element.

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

◆ init()

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

Initializes the instance with the coordinates passed as arguments.

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

◆ operator ConstViewType()

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

Conversion operator to a constant view.

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

◆ operator ViewType()

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

Conversion operator to a mutable view.

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

◆ view()

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

Mutable view of the element.

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


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