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

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

#include <arcane/geometry/GeomElement.h>

Inheritance diagram for Arcane::geometric::Quad4Element:
Collaboration diagram for Arcane::geometric::Quad4Element:

Public Types

using ConstViewType = Quad4ElementConstView
using ViewType = Quad4ElementView

Public Member Functions

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

Detailed Description

Geometric elements of type GeomType::Quad4.

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

Member Typedef Documentation

◆ ConstViewType

using Arcane::geometric::Quad4Element::ConstViewType = Quad4ElementConstView

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

◆ ViewType

using Arcane::geometric::Quad4Element::ViewType = Quad4ElementView

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

Constructor & Destructor Documentation

◆ Quad4Element() [1/3]

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

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

◆ Quad4Element() [2/3]

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

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

◆ Quad4Element() [3/3]

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

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

Member Function Documentation

◆ constView()

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

Constant view of the element.

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

◆ init()

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

Initializes the instance with the coordinates passed as arguments.

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

◆ operator ConstViewType()

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

Conversion operator to a constant view.

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

◆ operator ViewType()

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

Conversion operator to a mutable view.

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

◆ view()

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

Mutable view of the element.

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


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