Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::geometric::GeomElementConstViewBase Class Reference

Base class for constant views on geometric elements. More...

#include <arcane/geometry/GeomElementView.h>

Inheritance diagram for Arcane::geometric::GeomElementConstViewBase:
Collaboration diagram for Arcane::geometric::GeomElementConstViewBase:

Public Member Functions

 GeomElementConstViewBase (ARCANE_RESTRICT const Real3POD *ptr)
const Real3 operator[] (Integer i) const
 Retrieves the value of the i-th node.
const Real3 s (Integer i) const
 Retrieves the value of the i-th node.

Protected Attributes

ARCANE_RESTRICT const Real3PODm_s

Detailed Description

Base class for constant views on geometric elements.

The views of this type are only valid as long as the instance they originate from exists. Consequently, these views are primarily used for argument passing and should not be retained.

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

Constructor & Destructor Documentation

◆ GeomElementConstViewBase()

Arcane::geometric::GeomElementConstViewBase::GeomElementConstViewBase ( ARCANE_RESTRICT const Real3POD * ptr)
inlineexplicit

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

Member Function Documentation

◆ operator[]()

const Real3 Arcane::geometric::GeomElementConstViewBase::operator[] ( Integer i) const
inline

Retrieves the value of the i-th node.

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

◆ s()

const Real3 Arcane::geometric::GeomElementConstViewBase::s ( Integer i) const
inline

Retrieves the value of the i-th node.

Deprecated
Use operator[] instead.

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

Member Data Documentation

◆ m_s

ARCANE_RESTRICT const Real3POD* Arcane::geometric::GeomElementConstViewBase::m_s
protected

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


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