Mesh manager interface. More...
#include <arcane/core/IMeshMng.h>
Public Member Functions | |
| virtual | ~IMeshMng ()=default |
| Frees the resources. | |
| virtual ITraceMng * | traceMng () const =0 |
| Trace manager associated with this manager. | |
| virtual IMeshFactoryMng * | meshFactoryMng () const =0 |
| Mesh factory associated with this manager. | |
| virtual IVariableMng * | variableMng () const =0 |
| Variable manager associated with this manager. | |
| virtual MeshHandle * | findMeshHandle (const String &name, bool throw_exception)=0 |
| Searches for the mesh with name name. | |
| virtual MeshHandle | findMeshHandle (const String &name)=0 |
| Searches for the mesh with name name. | |
| virtual MeshHandle | createMeshHandle (const String &name)=0 |
| Creates and returns a handle for a mesh with name name. | |
| virtual void | destroyMesh (MeshHandle handle)=0 |
| Destroys the mesh associated with handle. | |
| virtual MeshHandle | defaultMeshHandle () const =0 |
| Handle for the default mesh. | |
Mesh manager interface.
This interface manages a list of meshes and allows creating meshes or retrieving an existing mesh by its name.
Mesh creation is done via 'IMeshFactoryMng' whose instance can be retrieved via meshFactoryMng(). Effective mesh creation cannot take place until after reading the dataset. However, it is possible to create a reference (via createMeshHandle()) to a mesh at any time.
Definition at line 40 of file IMeshMng.h.
|
pure virtual |
Creates and returns a handle for a mesh with name name.
Throws an exception if a handle associated with this name already exists.
Implemented in Arcane::MeshMng.
|
pure virtual |
Handle for the default mesh.
Implemented in Arcane::MeshMng.
|
pure virtual |
Destroys the mesh associated with handle.
The mesh must be a mesh implementing IPrimaryMesh.
Implemented in Arcane::MeshMng.
|
pure virtual |
Searches for the mesh with name name.
If the mesh is not found, the method throws an exception.
Implemented in Arcane::MeshMng.
|
pure virtual |
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.
Implemented in Arcane::MeshMng.
Referenced by Arcane::mesh::DynamicMesh::_readFromDump(), Arcane::CaseOptions::_setMeshHandleAndCheckDisabled(), Arcane::mesh::ItemFamily::readFromDump(), and Arcane::TimeHistoryMngInternal::readVariables().
|
pure virtual |
Mesh factory associated with this manager.
Implemented in Arcane::MeshMng.
Referenced by Arcane::ArcaneCaseMeshService::createMesh(), and Arcane::MainFactory::createMesh().
|
pure virtual |
Trace manager associated with this manager.
Implemented in Arcane::MeshMng.
|
pure virtual |
Variable manager associated with this manager.
Implemented in Arcane::MeshMng.
Referenced by Arcane::mesh::DynamicMeshFactoryBase::createMesh(), and Arcane::PolyhedralMeshFactory::createMesh().