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

Public Member Functions

 MeshEnvironmentObserver (MeshEnvironment *env, ITraceMng *tm)
void executeExtend (const Int32ConstArrayView *info1) override
 Execute the action associated with the extension.
void executeReduce (const Int32ConstArrayView *info1) override
 Execute the action associated with the extension.
void executeCompact (const Int32ConstArrayView *info1) override
 Executes the action associated with compaction.
void executeInvalidate () override
 Execute the action associated with invalidation.
bool needInfo () const override
 Indicates whether the observer will need transition information.
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
Public Member Functions inherited from Arcane::IItemGroupObserver
virtual ~IItemGroupObserver ()=default
 Destructor.

Additional Inherited Members

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

Detailed Description

Definition at line 58 of file MeshEnvironment.cc.

Constructor & Destructor Documentation

◆ MeshEnvironmentObserver()

Arcane::Materials::MeshEnvironmentObserver::MeshEnvironmentObserver ( MeshEnvironment * env,
ITraceMng * tm )
inline

Definition at line 64 of file MeshEnvironment.cc.

Member Function Documentation

◆ executeCompact()

void Arcane::Materials::MeshEnvironmentObserver::executeCompact ( const Int32ConstArrayView * info)
inlineoverridevirtual

Executes the action associated with compaction.

Parameters
infolist of permutations in the old->new direction Assumes there is no change in size.

Implements Arcane::IItemGroupObserver.

Definition at line 89 of file MeshEnvironment.cc.

References ARCANE_FATAL, and Arcane::TraceAccessor::info().

◆ executeExtend()

void Arcane::Materials::MeshEnvironmentObserver::executeExtend ( const Int32ConstArrayView * info)
inlineoverridevirtual

Execute the action associated with the extension.

Parameters
infolist of added localIds Assumes there is no change in order or renumbering.

This method cannot be parallel.

Implements Arcane::IItemGroupObserver.

Definition at line 71 of file MeshEnvironment.cc.

References Arcane::TraceAccessor::info().

◆ executeInvalidate()

void Arcane::Materials::MeshEnvironmentObserver::executeInvalidate ( )
inlineoverridevirtual

Execute the action associated with invalidation.

No transition information available.

Implements Arcane::IItemGroupObserver.

Definition at line 97 of file MeshEnvironment.cc.

References Arcane::TraceAccessor::info().

◆ executeReduce()

void Arcane::Materials::MeshEnvironmentObserver::executeReduce ( const Int32ConstArrayView * info)
inlineoverridevirtual

Execute the action associated with the extension.

Parameters
infolist of positions removed in the old group Assumes there is no change in order or renumbering This approach compared to the list of localIds is motivated by the constraint in PartialVariable which is unaware of the localIds it hosts.
info2list of localIds of deleted elements. Potentially redundant with info, but inevitable for certain structures changing the order relative to the reference group (e.g.: ItemGroupDynamicMeshObserver) (DEPRECATED)

This method cannot be parallel.

Implements Arcane::IItemGroupObserver.

Definition at line 80 of file MeshEnvironment.cc.

References Arcane::TraceAccessor::info().

◆ needInfo()

bool Arcane::Materials::MeshEnvironmentObserver::needInfo ( ) const
inlineoverridevirtual

Indicates whether the observer will need transition information.

This information must not change after the first call to this function

Implements Arcane::IItemGroupObserver.

Definition at line 102 of file MeshEnvironment.cc.


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