Public Member Functions | |
| MeshMng (IApplication *app, IVariableMng *vm) | |
| MeshMng (const MeshMng &rhs)=delete | |
| MeshMng & | operator= (const MeshMng &rhs)=delete |
| ITraceMng * | traceMng () const override |
| Trace manager associated with this manager. | |
| IMeshFactoryMng * | meshFactoryMng () const override |
| Mesh factory associated with this manager. | |
| IVariableMng * | variableMng () const override |
| Variable manager associated with this manager. | |
| MeshHandle * | findMeshHandle (const String &name, bool throw_exception) override |
| Searches for the mesh with name name. | |
| MeshHandle | findMeshHandle (const String &name) override |
| Searches for the mesh with name name. | |
| MeshHandle | createMeshHandle (const String &name) override |
| Creates and returns a handle for a mesh with name name. | |
| void | destroyMesh (MeshHandle handle) override |
| Destroys the mesh associated with handle. | |
| MeshHandle | defaultMeshHandle () const override |
| Handle for the default mesh. | |
| void | addMesh (IMesh *mesh) |
| void | destroyMeshes () |
| ConstArrayView< IMesh * > | meshes () const |
| MeshHandle | createDefaultMeshHandle (const String &name) |
| IMesh * | findMesh (const String &name, bool throw_exception) |
| IMesh * | getMesh (Integer index) const |
| IPrimaryMesh * | getPrimaryMesh (Integer index) const |
| 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 |
| Public Member Functions inherited from Arcane::IMeshMng | |
| virtual | ~IMeshMng ()=default |
| Frees the resources. | |
Protected Member Functions | |
| MeshHandle | _addMeshHandle (const String &name) |
| void | _destroyMesh (IPrimaryMesh *primary_mesh) |
| void | _rebuildMeshList () |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Private Attributes | |
| UniqueArray< IMesh * > | m_meshes |
| UniqueArray< MeshHandle > | m_meshes_handle |
| IVariableMng * | m_variable_mng |
| MeshFactoryMng * | m_mesh_factory_mng |
| MeshHandle | m_default_mesh_handle |
| Arcane::MeshMng::MeshMng | ( | IApplication * | app, |
| IVariableMng * | vm ) |
Definition at line 35 of file MeshMng.cc.
| Arcane::MeshMng::~MeshMng | ( | ) |
Definition at line 46 of file MeshMng.cc.
|
protected |
Definition at line 233 of file MeshMng.cc.
|
protected |
Definition at line 202 of file MeshMng.cc.
|
protected |
Definition at line 245 of file MeshMng.cc.
| void Arcane::MeshMng::addMesh | ( | IMesh * | mesh | ) |
Definition at line 55 of file MeshMng.cc.
| MeshHandle Arcane::MeshMng::createDefaultMeshHandle | ( | const String & | name | ) |
Definition at line 268 of file MeshMng.cc.
|
overridevirtual |
Creates and returns a handle for a mesh with name name.
Throws an exception if a handle associated with this name already exists.
Implements Arcane::IMeshMng.
Definition at line 135 of file MeshMng.cc.
References ARCANE_FATAL, and findMeshHandle().
|
inlineoverridevirtual |
|
overridevirtual |
Destroys the mesh associated with handle.
The mesh must be a mesh implementing IPrimaryMesh.
Implements Arcane::IMeshMng.
Definition at line 188 of file MeshMng.cc.
References ARCANE_FATAL, Arcane::MeshHandle::hasMesh(), and Arcane::MeshHandle::mesh().
| void Arcane::MeshMng::destroyMeshes | ( | ) |
Definition at line 171 of file MeshMng.cc.
Definition at line 147 of file MeshMng.cc.
|
overridevirtual |
Searches for the mesh with name name.
If the mesh is not found, the method throws an exception.
Implements Arcane::IMeshMng.
Definition at line 123 of file MeshMng.cc.
References findMeshHandle().
|
overridevirtual |
Searches for the mesh with name name.
If the mesh is not found, the method throws an exception if throw_exception is true or returns nullptr if throw_exception is false.
Implements Arcane::IMeshMng.
Definition at line 109 of file MeshMng.cc.
References ARCANE_FATAL.
Referenced by createMeshHandle(), and findMeshHandle().
Definition at line 91 of file MeshMng.cc.
| IPrimaryMesh * Arcane::MeshMng::getPrimaryMesh | ( | Integer | index | ) | const |
Definition at line 100 of file MeshMng.cc.
| ConstArrayView< IMesh * > Arcane::MeshMng::meshes | ( | ) | const |
Definition at line 162 of file MeshMng.cc.
|
overridevirtual |
Mesh factory associated with this manager.
Implements Arcane::IMeshMng.
Definition at line 259 of file MeshMng.cc.
|
inlineoverridevirtual |
Trace manager associated with this manager.
Implements Arcane::IMeshMng.
Definition at line 52 of file MeshMng.h.
References Arcane::TraceAccessor::traceMng().
|
inlineoverridevirtual |
Variable manager associated with this manager.
Implements Arcane::IMeshMng.
|
private |
|
private |
|
private |
|
private |
|
private |