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

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

#include <arcane/geometry/GeomElementView.h>

Inheritance diagram for Arcane::geometric::GeomElementViewBase:
Collaboration diagram for Arcane::geometric::GeomElementViewBase:

Public Member Functions

 GeomElementViewBase (ARCANE_RESTRICT Real3POD *ptr)
const Real3 operator[] (Integer i) const
 Retrieves the value of the i-th node.
void setValue (Integer i, Real3 v)
 Sets the value of the i-th node to v.

Protected Attributes

ARCANE_RESTRICT Real3PODm_s

Detailed Description

Base class for modifiable 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 78 of file src/arcane/geometry/GeomElementView.h.

Constructor & Destructor Documentation

◆ GeomElementViewBase()

Arcane::geometric::GeomElementViewBase::GeomElementViewBase ( ARCANE_RESTRICT Real3POD * ptr)
inlineexplicit

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

Member Function Documentation

◆ operator[]()

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

Retrieves the value of the i-th node.

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

◆ setValue()

void Arcane::geometric::GeomElementViewBase::setValue ( Integer i,
Real3 v )
inline

Sets the value of the i-th node to v.

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

References Arcane::Real3POD::x, Arcane::Real3POD::y, and Arcane::Real3POD::z.

Member Data Documentation

◆ m_s

ARCANE_RESTRICT Real3POD* Arcane::geometric::GeomElementViewBase::m_s
protected

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


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