Brief: Information for the creation of a block. More...
#include <arcane/materials/MeshBlockBuildInfo.h>
Public Member Functions | |
| MeshBlockBuildInfo (const String &name, const CellGroup &cells) | |
| Creates the information for a block named name on the cells cells. | |
| const String & | name () const |
| Block name. | |
| const CellGroup & | cells () const |
| List of block entities. | |
| void | addEnvironment (IMeshEnvironment *env) |
| Brief: Adds the environment env to the block. | |
| ConstArrayView< IMeshEnvironment * > | environments () const |
| List of environments in the block. | |
Private Attributes | |
| String | m_name |
| CellGroup | m_cells |
| UniqueArray< IMeshEnvironment * > | m_environments |
Brief: Information for the creation of a block.
This instance contains the necessary information for the creation of a block.
For more information, refer to IMeshBlock.
Once the specified creation information is provided, the block must be created via IMeshMaterialMng::createBlock().
Definition at line 49 of file MeshBlockBuildInfo.h.
| Arcane::Materials::MeshBlockBuildInfo::MeshBlockBuildInfo | ( | const String & | name, |
| const CellGroup & | cells ) |
Creates the information for a block named name on the cells cells.
Definition at line 27 of file MeshBlockBuildInfo.cc.
References cells(), and name().
| Arcane::Materials::MeshBlockBuildInfo::~MeshBlockBuildInfo | ( | ) |
Definition at line 37 of file MeshBlockBuildInfo.cc.
| void Arcane::Materials::MeshBlockBuildInfo::addEnvironment | ( | IMeshEnvironment * | env | ) |
Brief: Adds the environment env to the block.
The environment must already have been created via IMeshMaterialMng::createEnvironment().
Definition at line 45 of file MeshBlockBuildInfo.cc.
References Arcane::Materials::IMeshComponent::name().
Referenced by Arcane::Materials::MeshMaterialMng::recreateFromDump().
|
inline |
List of block entities.
Definition at line 63 of file MeshBlockBuildInfo.h.
Referenced by MeshBlockBuildInfo().
|
inline |
List of environments in the block.
Definition at line 76 of file MeshBlockBuildInfo.h.
Referenced by Arcane::Materials::MeshMaterialMng::createBlock().
|
inline |
Block name.
Definition at line 60 of file MeshBlockBuildInfo.h.
Referenced by Arcane::Materials::MeshMaterialMng::createBlock(), and MeshBlockBuildInfo().
|
private |
Definition at line 84 of file MeshBlockBuildInfo.h.
|
private |
Definition at line 85 of file MeshBlockBuildInfo.h.
|
private |
Definition at line 83 of file MeshBlockBuildInfo.h.