Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::CartesianMeshGenerator Class Reference
Inheritance diagram for Arcane::CartesianMeshGenerator:
Collaboration diagram for Arcane::CartesianMeshGenerator:

Public Member Functions

 CartesianMeshGenerator (IPrimaryMesh *mesh)
IntegerConstArrayView communicatingSubDomains () const override
bool readOptions (XmlNode node) override
bool generateMesh () override
void setBuildInfo (const CartesianMeshGeneratorBuildInfo &build_info)
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () 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

int sdXOffset ()
int sdYOffset ()
int sdZOffset ()
int sdXOffset (int)
int sdYOffset (int)
int sdZOffset (int)
Int32 ownXNbCell ()
Int32 ownYNbCell ()
Int32 ownZNbCell ()
Int32 ownXNbCell (int)
Int32 ownYNbCell (int)
Int32 ownZNbCell (int)
Real nxDelta (Real, int)
Real nyDelta (Real, int)
Real nzDelta (Real, int)
Real xDelta (int)
Real yDelta (int)
Real zDelta (int)
void xScan (const Int64, Int32Array &, Int32Array &, Int64Array &, Int64Array &, Int64Array &)
void yScan (const Integer, Int32Array &, Int32Array &, Int64Array &, Int64Array &, Int64Array &, Int64, Int64)
void zScan (const Int64, Int32Array &, Int32Array &, Int64Array &, Int64Array &, Int64Array &, Int64, Int64)
bool _readOptions ()
 readOptions

Private Attributes

IPrimaryMeshm_mesh
Int32 m_my_mesh_part
UniqueArray< Int32m_communicating_sub_domains
int m_mesh_dimension = -1
ICartesianMeshGenerationInfom_generation_info = nullptr
CartesianMeshGeneratorBuildInfo m_build_info
RealUniqueArray m_bloc_ox
RealUniqueArray m_bloc_oy
RealUniqueArray m_bloc_oz
Real3 m_l
Integer m_nx = 0
Integer m_ny = 0
Integer m_nz = 0

Additional Inherited Members

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

Detailed Description

Definition at line 65 of file CartesianMeshGenerator.h.

Constructor & Destructor Documentation

◆ CartesianMeshGenerator()

Arcane::CartesianMeshGenerator::CartesianMeshGenerator ( IPrimaryMesh * mesh)
explicit

Definition at line 175 of file CartesianMeshGenerator.cc.

Member Function Documentation

◆ _readOptions()

bool Arcane::CartesianMeshGenerator::_readOptions ( )
private

readOptions

Definition at line 209 of file CartesianMeshGenerator.cc.

References ARCANE_FATAL, Arcane::TraceAccessor::info(), and Arcane::TraceAccessor::traceMng().

Here is the call graph for this function:

◆ communicatingSubDomains()

IntegerConstArrayView Arcane::CartesianMeshGenerator::communicatingSubDomains ( ) const
inlineoverridevirtual

Implements Arcane::IMeshGenerator.

Definition at line 75 of file CartesianMeshGenerator.h.

◆ generateMesh()

bool Arcane::CartesianMeshGenerator::generateMesh ( )
overridevirtual

Implements Arcane::IMeshGenerator.

Definition at line 602 of file CartesianMeshGenerator.cc.

◆ nxDelta()

Real Arcane::CartesianMeshGenerator::nxDelta ( Real k,
int iBloc )
inlineprivate

Definition at line 416 of file CartesianMeshGenerator.cc.

◆ nyDelta()

Real Arcane::CartesianMeshGenerator::nyDelta ( Real k,
int iBloc )
inlineprivate

Definition at line 427 of file CartesianMeshGenerator.cc.

◆ nzDelta()

Real Arcane::CartesianMeshGenerator::nzDelta ( Real k,
int iBloc )
inlineprivate

Definition at line 438 of file CartesianMeshGenerator.cc.

◆ ownXNbCell() [1/2]

Int32 Arcane::CartesianMeshGenerator::ownXNbCell ( )
inlineprivate

Definition at line 346 of file CartesianMeshGenerator.cc.

◆ ownXNbCell() [2/2]

Int32 Arcane::CartesianMeshGenerator::ownXNbCell ( int isd)
inlineprivate

Definition at line 351 of file CartesianMeshGenerator.cc.

◆ ownYNbCell() [1/2]

Int32 Arcane::CartesianMeshGenerator::ownYNbCell ( )
inlineprivate

Definition at line 356 of file CartesianMeshGenerator.cc.

◆ ownYNbCell() [2/2]

Int32 Arcane::CartesianMeshGenerator::ownYNbCell ( int isd)
inlineprivate

Definition at line 361 of file CartesianMeshGenerator.cc.

◆ ownZNbCell() [1/2]

Int32 Arcane::CartesianMeshGenerator::ownZNbCell ( )
inlineprivate

Definition at line 366 of file CartesianMeshGenerator.cc.

◆ ownZNbCell() [2/2]

Int32 Arcane::CartesianMeshGenerator::ownZNbCell ( int isd)
inlineprivate

Definition at line 371 of file CartesianMeshGenerator.cc.

◆ readOptions()

bool Arcane::CartesianMeshGenerator::readOptions ( XmlNode node)
overridevirtual

Implements Arcane::IMeshGenerator.

Definition at line 186 of file CartesianMeshGenerator.cc.

◆ sdXOffset()

Integer Arcane::CartesianMeshGenerator::sdXOffset ( )
inlineprivate

Definition at line 310 of file CartesianMeshGenerator.cc.

◆ sdYOffset()

Integer Arcane::CartesianMeshGenerator::sdYOffset ( )
inlineprivate

Definition at line 316 of file CartesianMeshGenerator.cc.

◆ sdZOffset()

Integer Arcane::CartesianMeshGenerator::sdZOffset ( )
inlineprivate

Definition at line 322 of file CartesianMeshGenerator.cc.

◆ setBuildInfo()

void Arcane::CartesianMeshGenerator::setBuildInfo ( const CartesianMeshGeneratorBuildInfo & build_info)

Definition at line 196 of file CartesianMeshGenerator.cc.

◆ xDelta()

Real Arcane::CartesianMeshGenerator::xDelta ( int iBloc)
inlineprivate

Definition at line 421 of file CartesianMeshGenerator.cc.

◆ xScan()

void Arcane::CartesianMeshGenerator::xScan ( const Int64 ,
Int32Array & ,
Int32Array & ,
Int64Array & ,
Int64Array & ,
Int64Array &  )
private

Definition at line 455 of file CartesianMeshGenerator.cc.

◆ yDelta()

Real Arcane::CartesianMeshGenerator::yDelta ( int iBloc)
inlineprivate

Definition at line 432 of file CartesianMeshGenerator.cc.

◆ yScan()

void Arcane::CartesianMeshGenerator::yScan ( const Integer ,
Int32Array & ,
Int32Array & ,
Int64Array & ,
Int64Array & ,
Int64Array & ,
Int64 ,
Int64  )
private

Definition at line 511 of file CartesianMeshGenerator.cc.

◆ zDelta()

Real Arcane::CartesianMeshGenerator::zDelta ( int iBloc)
inlineprivate

Definition at line 444 of file CartesianMeshGenerator.cc.

◆ zScan()

void Arcane::CartesianMeshGenerator::zScan ( const Int64 ,
Int32Array & ,
Int32Array & ,
Int64Array & ,
Int64Array & ,
Int64Array & ,
Int64 ,
Int64  )
private

Definition at line 557 of file CartesianMeshGenerator.cc.

Member Data Documentation

◆ m_bloc_ox

RealUniqueArray Arcane::CartesianMeshGenerator::m_bloc_ox
private

Definition at line 127 of file CartesianMeshGenerator.h.

◆ m_bloc_oy

RealUniqueArray Arcane::CartesianMeshGenerator::m_bloc_oy
private

Definition at line 128 of file CartesianMeshGenerator.h.

◆ m_bloc_oz

RealUniqueArray Arcane::CartesianMeshGenerator::m_bloc_oz
private

Definition at line 129 of file CartesianMeshGenerator.h.

◆ m_build_info

CartesianMeshGeneratorBuildInfo Arcane::CartesianMeshGenerator::m_build_info
private

Definition at line 126 of file CartesianMeshGenerator.h.

◆ m_communicating_sub_domains

UniqueArray<Int32> Arcane::CartesianMeshGenerator::m_communicating_sub_domains
private

Definition at line 120 of file CartesianMeshGenerator.h.

◆ m_generation_info

ICartesianMeshGenerationInfo* Arcane::CartesianMeshGenerator::m_generation_info = nullptr
private

Definition at line 122 of file CartesianMeshGenerator.h.

◆ m_l

Real3 Arcane::CartesianMeshGenerator::m_l
private

Definition at line 130 of file CartesianMeshGenerator.h.

◆ m_mesh

IPrimaryMesh* Arcane::CartesianMeshGenerator::m_mesh
private

Definition at line 118 of file CartesianMeshGenerator.h.

◆ m_mesh_dimension

int Arcane::CartesianMeshGenerator::m_mesh_dimension = -1
private

Definition at line 121 of file CartesianMeshGenerator.h.

◆ m_my_mesh_part

Int32 Arcane::CartesianMeshGenerator::m_my_mesh_part
private

Definition at line 119 of file CartesianMeshGenerator.h.

◆ m_nx

Integer Arcane::CartesianMeshGenerator::m_nx = 0
private

Definition at line 131 of file CartesianMeshGenerator.h.

◆ m_ny

Integer Arcane::CartesianMeshGenerator::m_ny = 0
private

Definition at line 132 of file CartesianMeshGenerator.h.

◆ m_nz

Integer Arcane::CartesianMeshGenerator::m_nz = 0
private

Definition at line 133 of file CartesianMeshGenerator.h.


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