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

Information by direction for each type of mesh entity. More...

#include <arcane/cartesianmesh/internal/CartesianMeshPatch.h>

Inheritance diagram for Arcane::CartesianMeshPatch:
Collaboration diagram for Arcane::CartesianMeshPatch:

Classes

class  Impl

Public Member Functions

 CartesianMeshPatch (ICartesianMesh *cmesh, Integer patch_index)
 CartesianMeshPatch (ICartesianMesh *cmesh, Integer patch_index, const AMRPatchPosition &position)
CellGroup cells () override
 Cell group of the patch.
CellGroup inPatchCells () override
CellGroup overlapCells () override
Integer index () override
 TODO.
CellDirectionMng & cellDirection (eMeshDirection dir) override
 List of cells in direction dir.
CellDirectionMng & cellDirection (Integer idir) override
 List of cells in direction dir (0, 1 or 2).
FaceDirectionMng & faceDirection (eMeshDirection dir) override
 List of faces in direction dir.
FaceDirectionMng & faceDirection (Integer idir) override
 List of faces in direction dir (0, 1 or 2).
NodeDirectionMng & nodeDirection (eMeshDirection dir) override
 List of nodes in direction dir.
NodeDirectionMng & nodeDirection (Integer idir) override
 List of nodes in direction dir (0, 1 or 2).
void checkValid () const override
 Performs checks on the validity of the instance.
AMRPatchPosition position () const override
ICartesianMeshPatchInternal * _internalApi () override
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessor & operator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMng * traceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const

Private Member Functions

void _internalComputeNodeCellInformations (Cell cell0, Real3 cell0_coord, VariableNodeReal3 &nodes_coord)
void _internalComputeNodeCellInformations ()
void _computeNodeCellInformations2D (Cell cell0, Real3 cell0_coord, VariableNodeReal3 &nodes_coord)
void _computeNodeCellInformations3D (Cell cell0, Real3 cell0_coord, VariableNodeReal3 &nodes_coord)

Private Attributes

friend CartesianMeshImpl
ICartesianMesh * m_mesh
AMRPatchPosition m_position
CellDirectionMng m_cell_directions [3]
FaceDirectionMng m_face_directions [3]
NodeDirectionMng m_node_directions [3]
Integer m_amr_patch_index
Impl m_impl

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Information by direction for each type of mesh entity.

In the case of AMR mesh by patch, a patch number is associated with each direction. This number is -1 for level 0 entities or in the case where there is no AMR.

Definition at line 45 of file CartesianMeshPatch.h.

Constructor & Destructor Documentation

◆ CartesianMeshPatch() [1/2]

Arcane::CartesianMeshPatch::CartesianMeshPatch ( ICartesianMesh * cmesh,
Integer patch_index )

Definition at line 53 of file CartesianMeshPatch.cc.

◆ CartesianMeshPatch() [2/2]

Arcane::CartesianMeshPatch::CartesianMeshPatch ( ICartesianMesh * cmesh,
Integer patch_index,
const AMRPatchPosition & position )

Definition at line 33 of file CartesianMeshPatch.cc.

◆ ~CartesianMeshPatch()

Arcane::CartesianMeshPatch::~CartesianMeshPatch ( )
override

Definition at line 62 of file CartesianMeshPatch.cc.

Member Function Documentation

◆ _computeNodeCellInformations2D()

void Arcane::CartesianMeshPatch::_computeNodeCellInformations2D ( Cell cell0,
Real3 cell0_coord,
VariableNodeReal3 & nodes_coord )
private

Definition at line 110 of file CartesianMeshPatch.cc.

◆ _computeNodeCellInformations3D()

void Arcane::CartesianMeshPatch::_computeNodeCellInformations3D ( Cell cell0,
Real3 cell0_coord,
VariableNodeReal3 & nodes_coord )
private

Definition at line 172 of file CartesianMeshPatch.cc.

◆ _internalApi()

ICartesianMeshPatchInternal * Arcane::CartesianMeshPatch::_internalApi ( )
inlineoverridevirtual

Implements Arcane::ICartesianMeshPatch.

Definition at line 124 of file CartesianMeshPatch.h.

◆ _internalComputeNodeCellInformations() [1/2]

void Arcane::CartesianMeshPatch::_internalComputeNodeCellInformations ( )
private

Definition at line 313 of file CartesianMeshPatch.cc.

◆ _internalComputeNodeCellInformations() [2/2]

void Arcane::CartesianMeshPatch::_internalComputeNodeCellInformations ( Cell cell0,
Real3 cell0_coord,
VariableNodeReal3 & nodes_coord )
private

Definition at line 298 of file CartesianMeshPatch.cc.

◆ cellDirection() [1/2]

CellDirectionMng & Arcane::CartesianMeshPatch::cellDirection ( eMeshDirection dir)
inlineoverridevirtual

List of cells in direction dir.

Implements Arcane::ICartesianMeshPatch.

Definition at line 88 of file CartesianMeshPatch.h.

Referenced by cells().

Here is the caller graph for this function:

◆ cellDirection() [2/2]

CellDirectionMng & Arcane::CartesianMeshPatch::cellDirection ( Integer idir)
inlineoverridevirtual

List of cells in direction dir (0, 1 or 2).

Implements Arcane::ICartesianMeshPatch.

Definition at line 93 of file CartesianMeshPatch.h.

◆ cells()

CellGroup Arcane::CartesianMeshPatch::cells ( )
overridevirtual

Cell group of the patch.

Implements Arcane::ICartesianMeshPatch.

Definition at line 78 of file CartesianMeshPatch.cc.

References cellDirection(), and Arcane::MD_DirX.

Here is the call graph for this function:

◆ checkValid()

void Arcane::CartesianMeshPatch::checkValid ( ) const
overridevirtual

◆ faceDirection() [1/2]

FaceDirectionMng & Arcane::CartesianMeshPatch::faceDirection ( eMeshDirection dir)
inlineoverridevirtual

List of faces in direction dir.

Implements Arcane::ICartesianMeshPatch.

Definition at line 98 of file CartesianMeshPatch.h.

◆ faceDirection() [2/2]

FaceDirectionMng & Arcane::CartesianMeshPatch::faceDirection ( Integer idir)
inlineoverridevirtual

List of faces in direction dir (0, 1 or 2).

Implements Arcane::ICartesianMeshPatch.

Definition at line 103 of file CartesianMeshPatch.h.

◆ index()

Integer Arcane::CartesianMeshPatch::index ( )
inlineoverridevirtual

TODO.

Implements Arcane::ICartesianMeshPatch.

Definition at line 84 of file CartesianMeshPatch.h.

◆ inPatchCells()

CellGroup Arcane::CartesianMeshPatch::inPatchCells ( )
overridevirtual

Implements Arcane::ICartesianMeshPatch.

Definition at line 88 of file CartesianMeshPatch.cc.

◆ nodeDirection() [1/2]

NodeDirectionMng & Arcane::CartesianMeshPatch::nodeDirection ( eMeshDirection dir)
inlineoverridevirtual

List of nodes in direction dir.

Implements Arcane::ICartesianMeshPatch.

Definition at line 108 of file CartesianMeshPatch.h.

◆ nodeDirection() [2/2]

NodeDirectionMng & Arcane::CartesianMeshPatch::nodeDirection ( Integer idir)
inlineoverridevirtual

List of nodes in direction dir (0, 1 or 2).

Implements Arcane::ICartesianMeshPatch.

Definition at line 113 of file CartesianMeshPatch.h.

◆ overlapCells()

CellGroup Arcane::CartesianMeshPatch::overlapCells ( )
overridevirtual

Implements Arcane::ICartesianMeshPatch.

Definition at line 97 of file CartesianMeshPatch.cc.

◆ position()

AMRPatchPosition Arcane::CartesianMeshPatch::position ( ) const
inlineoverridevirtual

Implements Arcane::ICartesianMeshPatch.

Definition at line 119 of file CartesianMeshPatch.h.

Member Data Documentation

◆ CartesianMeshImpl

friend Arcane::CartesianMeshPatch::CartesianMeshImpl
private

Definition at line 49 of file CartesianMeshPatch.h.

◆ m_amr_patch_index

Integer Arcane::CartesianMeshPatch::m_amr_patch_index
private

Definition at line 143 of file CartesianMeshPatch.h.

◆ m_cell_directions

CellDirectionMng Arcane::CartesianMeshPatch::m_cell_directions[3]
private

Definition at line 140 of file CartesianMeshPatch.h.

◆ m_face_directions

FaceDirectionMng Arcane::CartesianMeshPatch::m_face_directions[3]
private

Definition at line 141 of file CartesianMeshPatch.h.

◆ m_impl

Impl Arcane::CartesianMeshPatch::m_impl
private

Definition at line 144 of file CartesianMeshPatch.h.

◆ m_mesh

ICartesianMesh* Arcane::CartesianMeshPatch::m_mesh
private

Definition at line 138 of file CartesianMeshPatch.h.

◆ m_node_directions

NodeDirectionMng Arcane::CartesianMeshPatch::m_node_directions[3]
private

Definition at line 142 of file CartesianMeshPatch.h.

◆ m_position

AMRPatchPosition Arcane::CartesianMeshPatch::m_position
private

Definition at line 139 of file CartesianMeshPatch.h.


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