Strategy for synchronizing the list of materials/media of entities. More...
#include <arcane/materials/internal/LegacyMeshMaterialSynchronizerImpl.h>
Public Member Functions | |
| LegacyMeshMaterialSynchronizerImpl (IMeshMaterialMng *material_mng) | |
| bool | synchronizeMaterialsInCells () |
| Synchronization of the list of materials/media of entities. | |
| void | checkMaterialsInCells (Integer max_print) |
| 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 | _fillPresence (AllEnvCell all_env_cell, ByteArrayView presence) |
Static Private Member Functions | |
| static void | _setBit (ByteArrayView bytes, Integer position) |
| static bool | _hasBit (ByteConstArrayView bytes, Integer position) |
Private Attributes | |
| IMeshMaterialMng * | m_material_mng |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Strategy for synchronizing the list of materials/media of entities.
This class allows synchronizing the list of materials/media to which a cell belongs between subdomains.
The ghost cells of this subdomain will retrieve the cells of the proper cells. These ghost cells will then potentially be added or removed from the current materials and environment to be consistent with this list derived from the proper cells.
Definition at line 49 of file LegacyMeshMaterialSynchronizerImpl.h.
|
explicit |
Definition at line 35 of file LegacyMeshMaterialSynchronizerImpl.cc.
| Arcane::Materials::LegacyMeshMaterialSynchronizerImpl::~LegacyMeshMaterialSynchronizerImpl | ( | ) |
Definition at line 45 of file LegacyMeshMaterialSynchronizerImpl.cc.
|
private |
Definition at line 72 of file LegacyMeshMaterialSynchronizerImpl.cc.
|
inlinestaticprivate |
Definition at line 61 of file LegacyMeshMaterialSynchronizerImpl.cc.
|
inlinestaticprivate |
Definition at line 53 of file LegacyMeshMaterialSynchronizerImpl.cc.
|
virtual |
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.
Implements Arcane::Materials::IMeshMaterialSynchronizerImpl.
Definition at line 87 of file LegacyMeshMaterialSynchronizerImpl.cc.
References Arcane::Array< T >::add(), Arcane::Materials::MeshMaterialModifier::addCells(), ENUMERATE_CELL, Arcane::Array< T >::fill(), Arcane::ArrayView< T >::fill(), Arcane::TraceAccessor::info(), Arcane::Item::isOwn(), Arcane::Item::localId(), Arcane::Materials::MeshMaterialModifier::removeCells(), and Arcane::ConstArrayView< T >::size().
|
private |
Definition at line 73 of file LegacyMeshMaterialSynchronizerImpl.h.