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

Mesh generator for a shock tube. More...

#include <arcane/std/SodMeshGenerator.h>

Inheritance diagram for Arcane::SodMeshGenerator:
Collaboration diagram for Arcane::SodMeshGenerator:

Classes

class  Impl

Public Member Functions

 SodMeshGenerator (IPrimaryMesh *tm, bool use_zxy=false)
IntegerConstArrayView communicatingSubDomains () const override
bool readOptions (XmlNode node) override
bool generateMesh () 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.
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 Attributes

IPrimaryMeshm_mesh
bool m_zyx_generate
std::unique_ptr< Implm_p

Additional Inherited Members

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

Detailed Description

Mesh generator for a shock tube.

The mesh is a Cartesian mesh in unstructured format

The tube has two zones, ZG and ZD, along the x-axis: the first half of the cells is for ZG, the following for ZD.

In parallel, layers are increased along the z-axis. Each subdomain has nb_cell_z layers along z and shares a layer with the previous subdomain and a layer with the next one. In this way, each subdomain calculates the same thing and the number of iterations of the case does not change regardless of the number of processors. For boundary conditions, six surfaces are created: XMIN, XMAX for the faces along X, YMIN and YMAX for the faces along Y and ZMIN and ZMAX for those along Z.

Definition at line 46 of file SodMeshGenerator.h.

Constructor & Destructor Documentation

◆ SodMeshGenerator()

Arcane::SodMeshGenerator::SodMeshGenerator ( IPrimaryMesh * tm,
bool use_zxy = false )

Definition at line 102 of file SodMeshGenerator.cc.

◆ ~SodMeshGenerator()

Arcane::SodMeshGenerator::~SodMeshGenerator ( )

Definition at line 113 of file SodMeshGenerator.cc.

Member Function Documentation

◆ communicatingSubDomains()

IntegerConstArrayView Arcane::SodMeshGenerator::communicatingSubDomains ( ) const
overridevirtual

Implements Arcane::IMeshGenerator.

Definition at line 122 of file SodMeshGenerator.cc.

◆ generateMesh()

bool Arcane::SodMeshGenerator::generateMesh ( )
overridevirtual

Implements Arcane::IMeshGenerator.

Definition at line 209 of file SodMeshGenerator.cc.

◆ readOptions()

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

Implements Arcane::IMeshGenerator.

Definition at line 133 of file SodMeshGenerator.cc.

Member Data Documentation

◆ m_mesh

IPrimaryMesh* Arcane::SodMeshGenerator::m_mesh
private

Definition at line 67 of file SodMeshGenerator.h.

◆ m_p

std::unique_ptr<Impl> Arcane::SodMeshGenerator::m_p
private

Definition at line 69 of file SodMeshGenerator.h.

◆ m_zyx_generate

bool Arcane::SodMeshGenerator::m_zyx_generate
private

Definition at line 68 of file SodMeshGenerator.h.


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