Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::Materials::MeshBlockBuildInfo Class Reference

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 Stringname () const
 Block name.
const CellGroupcells () 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.

Detailed Description

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.

Constructor & Destructor Documentation

◆ MeshBlockBuildInfo()

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().

◆ ~MeshBlockBuildInfo()

Arcane::Materials::MeshBlockBuildInfo::~MeshBlockBuildInfo ( )

Definition at line 37 of file MeshBlockBuildInfo.cc.

Member Function Documentation

◆ addEnvironment()

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().

◆ cells()

const CellGroup & Arcane::Materials::MeshBlockBuildInfo::cells ( ) const
inline

List of block entities.

Definition at line 63 of file MeshBlockBuildInfo.h.

Referenced by MeshBlockBuildInfo().

◆ environments()

ConstArrayView< IMeshEnvironment * > Arcane::Materials::MeshBlockBuildInfo::environments ( ) const
inline

List of environments in the block.

Definition at line 76 of file MeshBlockBuildInfo.h.

◆ name()

const String & Arcane::Materials::MeshBlockBuildInfo::name ( ) const
inline

Block name.

Definition at line 60 of file MeshBlockBuildInfo.h.

Referenced by MeshBlockBuildInfo().


The documentation for this class was generated from the following files: