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

Public Member Functions

 MeshBlock (IMeshMaterialMng *mm, Int32 block_id, const MeshBlockBuildInfo &infos)
virtual IMeshMaterialMngmaterialMng ()
 Associated manager.
virtual const Stringname () const
 Block name.
virtual const CellGroupcells () const
 Cell group of this block.
virtual ConstArrayView< IMeshEnvironment * > environments ()
 List of environments in this block.
virtual Integer nbEnvironment () const
 Number of environments in the block.
virtual Int32 id () const
 Block identifier. It is also the index (starting from 0) of this block in the list of blocks.
virtual AllEnvCellVectorView view ()
 View of the environments cells corresponding to this block.
void build ()
 Public functions but reserved for IMeshMaterialMng.
void addEnvironment (IMeshEnvironment *env)
 Adds the environment env to the block.
void removeEnvironment (IMeshEnvironment *env)
 Removes the environment env from the block.
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Definition at line 41 of file MeshBlock.h.

Constructor & Destructor Documentation

◆ MeshBlock()

Arcane::Materials::MeshBlock::MeshBlock ( IMeshMaterialMng * mm,
Int32 block_id,
const MeshBlockBuildInfo & infos )

Definition at line 31 of file MeshBlock.cc.

◆ ~MeshBlock()

virtual Arcane::Materials::MeshBlock::~MeshBlock ( )
inlinevirtual

Definition at line 48 of file MeshBlock.h.

Member Function Documentation

◆ addEnvironment()

void Arcane::Materials::MeshBlock::addEnvironment ( IMeshEnvironment * env)

Adds the environment env to the block.

This can only be done during the initialization phase (before IMeshMaterialMng::endCreate() has been called).

Definition at line 68 of file MeshBlock.cc.

References Arcane::Materials::IMeshComponent::name().

◆ build()

void Arcane::Materials::MeshBlock::build ( )

Public functions but reserved for IMeshMaterialMng.

Definition at line 45 of file MeshBlock.cc.

◆ cells()

virtual const CellGroup & Arcane::Materials::MeshBlock::cells ( ) const
inlinevirtual

Cell group of this block.

Implements Arcane::Materials::IMeshBlock.

Definition at line 54 of file MeshBlock.h.

◆ environments()

virtual ConstArrayView< IMeshEnvironment * > Arcane::Materials::MeshBlock::environments ( )
inlinevirtual

List of environments in this block.

Implements Arcane::Materials::IMeshBlock.

Definition at line 55 of file MeshBlock.h.

◆ id()

virtual Int32 Arcane::Materials::MeshBlock::id ( ) const
inlinevirtual

Block identifier. It is also the index (starting from 0) of this block in the list of blocks.

Implements Arcane::Materials::IMeshBlock.

Definition at line 63 of file MeshBlock.h.

◆ materialMng()

virtual IMeshMaterialMng * Arcane::Materials::MeshBlock::materialMng ( )
inlinevirtual

Associated manager.

Implements Arcane::Materials::IMeshBlock.

Definition at line 52 of file MeshBlock.h.

◆ name()

virtual const String & Arcane::Materials::MeshBlock::name ( ) const
inlinevirtual

Block name.

Implements Arcane::Materials::IMeshBlock.

Definition at line 53 of file MeshBlock.h.

◆ nbEnvironment()

virtual Integer Arcane::Materials::MeshBlock::nbEnvironment ( ) const
inlinevirtual

Number of environments in the block.

Implements Arcane::Materials::IMeshBlock.

Definition at line 59 of file MeshBlock.h.

◆ removeEnvironment()

void Arcane::Materials::MeshBlock::removeEnvironment ( IMeshEnvironment * env)

Removes the environment env from the block.

This can only be done during the initialization phase (before IMeshMaterialMng::endCreate() has been called).

Definition at line 87 of file MeshBlock.cc.

References Arcane::Materials::IMeshComponent::name().

◆ view()

AllEnvCellVectorView Arcane::Materials::MeshBlock::view ( )
virtual

View of the environments cells corresponding to this block.

Implements Arcane::Materials::IMeshBlock.

Definition at line 53 of file MeshBlock.cc.


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