14#include "arcane/utils/ArgumentException.h"
15#include "arcane/materials/MeshBlockBuildInfo.h"
16#include "arcane/materials/IMeshEnvironment.h"
48 if (m_environments.contains(env))
50 String::format(
"environment {0} already in block {1}",
51 env->
name(), this->name()));
52 m_environments.add(env);
Exception when an argument is invalid.
virtual String name() const =0
Component name.
Interface of a mesh environment.
const CellGroup & cells() const
List of block entities.
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.
void addEnvironment(IMeshEnvironment *env)
Brief: Adds the environment env to the block.
Unicode character string.
ItemGroupT< Cell > CellGroup
Group of cells.
Always enables tracing in Arcane parts concerning materials.