Synchronization of the list of materials/media of entities. More...
#include <arcane/materials/internal/MeshMaterialSynchronizer.h>
Public Member Functions | |
| MeshMaterialSynchronizer (IMeshMaterialMng *material_mng) | |
| bool | synchronizeMaterialsInCells () |
| Synchronization of the list of materials/media of entities. | |
| void | checkMaterialsInCells (Integer max_print) |
| Checks that material cells are consistent between subdomains. This method is collective. | |
| 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 | _checkComponents (VariableCellInt32 &indexes, ConstArrayView< IMeshComponent * > components, Integer max_print) |
| void | _checkComponentsInGhostCells (VariableCellInt64 &hashes, Integer max_print) |
Private Attributes | |
| IMeshMaterialSynchronizerImpl * | m_synchronizer |
| IMeshMaterialMng * | m_material_mng |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Synchronization of the list of materials/media of entities.
This class allows synchronization between subdomains of the list of materials/media to which a cell belongs.
The ghost cells of this subdomain will retrieve the owned cells and their list of materials/media. These ghost cells will then potentially be added or removed from the current materials and media to be consistent with this list derived from the owned cells.
Definition at line 52 of file MeshMaterialSynchronizer.h.
|
explicit |
Definition at line 37 of file MeshMaterialSynchronizer.cc.
| Arcane::Materials::MeshMaterialSynchronizer::~MeshMaterialSynchronizer | ( | ) |
Definition at line 55 of file MeshMaterialSynchronizer.cc.
|
private |
Definition at line 109 of file MeshMaterialSynchronizer.cc.
|
private |
Definition at line 153 of file MeshMaterialSynchronizer.cc.
| void Arcane::Materials::MeshMaterialSynchronizer::checkMaterialsInCells | ( | Integer | max_print | ) |
Checks that material cells are consistent between subdomains. This method is collective.
Definition at line 77 of file MeshMaterialSynchronizer.cc.
References Arcane::TraceAccessor::info().
| bool Arcane::Materials::MeshMaterialSynchronizer::synchronizeMaterialsInCells | ( | ) |
Synchronization of the list of materials/media of entities.
This operation is collective.
Returns true if cells have been added or removed from a material or a medium during this operation for this subdomain.
Definition at line 64 of file MeshMaterialSynchronizer.cc.
|
private |
Definition at line 76 of file MeshMaterialSynchronizer.h.
|
private |
Definition at line 75 of file MeshMaterialSynchronizer.h.