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.
|
pure virtual |
Destroys the mesh associated with handle.
The mesh must be a mesh implementing IPrimaryMesh.
|
pure virtual |
Searches for the mesh with name name.
If the mesh is not found, the method throws an exception.
|
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.
Referenced by Arcane::CaseOptions::_setMeshHandleAndCheckDisabled().