Class for creating standard groups for a Sod shock tube. More...
#include <arcane/std/internal/SodStandardGroupsBuilder.h>
Public Member Functions | |
| SodStandardGroupsBuilder (ITraceMng *tm) | |
| void | generateGroups (IMesh *mesh, Real3 min_pos, Real3 max_pos, Real middle_x, Real middle_height, bool do_zg_and_zd) |
| Creates the groups for initializing a Sod shock tube. | |
| 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 | _createFaceGroup (IMesh *mesh, const String &name, Int32ConstArrayView faces_lid) |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Class for creating standard groups for a Sod shock tube.
The created groups are the face groups corresponding to the sides of the meshes (XMIN,XMAX,YMIN,YMAX,ZMIN,ZMAX), the left cell groups (ZG) and right (ZD) along the X-axis, and for the right group the top part (ZD_HAUT) and the bottom part (ZD_BAS).
Definition at line 39 of file SodStandardGroupsBuilder.h.
|
inlineexplicit |
Definition at line 44 of file SodStandardGroupsBuilder.h.
|
private |
Definition at line 35 of file SodStandardGroupsBuilder.cc.
| void Arcane::SodStandardGroupsBuilder::generateGroups | ( | IMesh * | mesh, |
| Real3 | min_pos, | ||
| Real3 | max_pos, | ||
| Real | middle_x, | ||
| Real | middle_height, | ||
| bool | do_zg_and_zd ) |
Creates the groups for initializing a Sod shock tube.
The groups corresponding to the boundaries ((X|Y|Z)(MIN|MAX) are always created. The other groups corresponding to the left and right zones for a Sod shock tube are created if do_zg_and_zd is true.
Definition at line 59 of file SodStandardGroupsBuilder.cc.
References Arcane::Array< T >::add(), ARCANE_FATAL, Arcane::IItemFamily::createGroup(), Arcane::TraceAccessor::debug(), ENUMERATE_, ENUMERATE_CELL, Arcane::TraceAccessor::fatal(), Arcane::IItemFamily::findGroup(), Arcane::Trace::High, Arcane::TraceAccessor::info(), Arcane::math::isNearlyEqual(), Arcane::Item::localId(), Arcane::ItemWithNodes::nodes(), Arcane::ItemGroup::null(), Arcane::AbstractArray< T >::size(), Arcane::Real3POD::x, Arcane::Real3POD::y, and Arcane::Real3POD::z.