Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Numerics::IGeometry Class Referenceabstract

Geometric calculation interface. More...

#include <arcane/geometry/IGeometry.h>

Inheritance diagram for Arcane::Numerics::IGeometry:
Collaboration diagram for Arcane::Numerics::IGeometry:

Public Member Functions

 IGeometry ()
virtual ~IGeometry ()
virtual Real3 computeCenter (const ItemWithNodes &item)=0
 Calculation of the center of mass.
virtual Real3 computeOrientedMeasure (const ItemWithNodes &item)=0
 Calculation of the oriented measure.
virtual Real computeMeasure (const ItemWithNodes &item)=0
 Calculation of the measure (without orientation).
virtual Real computeLength (const ItemWithNodes &item)=0
 Calculation of the length.
virtual Real computeArea (const ItemWithNodes &item)=0
 Calculation of the area.
virtual Real computeVolume (const ItemWithNodes &item)=0
 Calculation of the volume.
virtual Real3 computeSurfaceCenter (Integer n, const Real3 *coords)=0
 Calculation of the center.
virtual Real3 computeOrientedArea (Integer n, const Real3 *coords)=0
 Calculation of the oriented area (i.e., normal).
virtual Real computeLength (const Real3 &m, const Real3 &n)=0
 Calculation of the length of a segment defined by two points.

Detailed Description

Geometric calculation interface.

Definition at line 29 of file IGeometry.h.

Constructor & Destructor Documentation

◆ IGeometry()

Arcane::Numerics::IGeometry::IGeometry ( )
inline

Class constructor

Definition at line 34 of file IGeometry.h.

◆ ~IGeometry()

virtual Arcane::Numerics::IGeometry::~IGeometry ( )
inlinevirtual

Class destructor

Definition at line 40 of file IGeometry.h.

Member Function Documentation

◆ computeArea()

virtual Real Arcane::Numerics::IGeometry::computeArea ( const ItemWithNodes & item)
pure virtual

Calculation of the area.

Only for surface Items

Implemented in Arcane::Numerics::Euclidian3Geometry.

◆ computeCenter()

virtual Real3 Arcane::Numerics::IGeometry::computeCenter ( const ItemWithNodes & item)
pure virtual

Calculation of the center of mass.

Implemented in Arcane::Numerics::Euclidian3Geometry.

◆ computeLength() [1/2]

virtual Real Arcane::Numerics::IGeometry::computeLength ( const ItemWithNodes & item)
pure virtual

Calculation of the length.

Only for linear Items

Implemented in Arcane::Numerics::Euclidian3Geometry.

◆ computeLength() [2/2]

virtual Real Arcane::Numerics::IGeometry::computeLength ( const Real3 & m,
const Real3 & n )
pure virtual

Calculation of the length of a segment defined by two points.

Implemented in Arcane::Numerics::Euclidian3Geometry.

◆ computeMeasure()

virtual Real Arcane::Numerics::IGeometry::computeMeasure ( const ItemWithNodes & item)
pure virtual

Calculation of the measure (without orientation).

Implemented in Arcane::Numerics::Euclidian3Geometry.

◆ computeOrientedArea()

virtual Real3 Arcane::Numerics::IGeometry::computeOrientedArea ( Integer n,
const Real3 * coords )
pure virtual

Calculation of the oriented area (i.e., normal).

Only for surface Items

Implemented in Arcane::Numerics::Euclidian3Geometry.

◆ computeOrientedMeasure()

virtual Real3 Arcane::Numerics::IGeometry::computeOrientedMeasure ( const ItemWithNodes & item)
pure virtual

Calculation of the oriented measure.

In the case of a planar element, this corresponds to the unit average normal * element measure and in the case of a simple volumetric element we obtain volume * z (or z=(0,0,1))

Implemented in Arcane::Numerics::Euclidian3Geometry.

◆ computeSurfaceCenter()

virtual Real3 Arcane::Numerics::IGeometry::computeSurfaceCenter ( Integer n,
const Real3 * coords )
pure virtual

Calculation of the center.

Only for surface Items

Implemented in Arcane::Numerics::Euclidian3Geometry.

◆ computeVolume()

virtual Real Arcane::Numerics::IGeometry::computeVolume ( const ItemWithNodes & item)
pure virtual

Calculation of the volume.

Only for volumetric Items

Implemented in Arcane::Numerics::Euclidian3Geometry.


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