Mesh generator for a shock tube. More...
#include <arcane/std/SodMeshGenerator.h>
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. | |
| 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 Attributes | |
| IPrimaryMesh * | m_mesh |
| bool | m_zyx_generate |
| std::unique_ptr< Impl > | m_p |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
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.
| Arcane::SodMeshGenerator::SodMeshGenerator | ( | IPrimaryMesh * | tm, |
| bool | use_zxy = false ) |
Definition at line 102 of file SodMeshGenerator.cc.
| Arcane::SodMeshGenerator::~SodMeshGenerator | ( | ) |
Definition at line 113 of file SodMeshGenerator.cc.
|
overridevirtual |
Implements Arcane::IMeshGenerator.
Definition at line 122 of file SodMeshGenerator.cc.
|
overridevirtual |
Implements Arcane::IMeshGenerator.
Definition at line 209 of file SodMeshGenerator.cc.
|
overridevirtual |
Implements Arcane::IMeshGenerator.
Definition at line 133 of file SodMeshGenerator.cc.
|
private |
Definition at line 67 of file SodMeshGenerator.h.
|
private |
Definition at line 69 of file SodMeshGenerator.h.
|
private |
Definition at line 68 of file SodMeshGenerator.h.