Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::ItemGroupObserverWithoutInfoT< T > Class Template Reference

Public Member Functions

 ItemGroupObserverWithoutInfoT (T *object, typename FuncTraits< T >::FuncPtr funcptr)
 Constructor from a single argument-less function.
void executeExtend (const Int32ConstArrayView *) override
 Execute the action associated with the extension.
void executeReduce (const Int32ConstArrayView *) override
 Execute the action associated with the extension.
void executeCompact (const Int32ConstArrayView *) 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::IItemGroupObserver
virtual ~IItemGroupObserver ()=default
 Destructor.

Detailed Description

template<typename T>
class Arcane::ItemGroupObserverWithoutInfoT< T >

Definition at line 154 of file core/ItemGroupObserver.h.

Constructor & Destructor Documentation

◆ ItemGroupObserverWithoutInfoT()

template<typename T>
Arcane::ItemGroupObserverWithoutInfoT< T >::ItemGroupObserverWithoutInfoT ( T * object,
typename FuncTraits< T >::FuncPtr funcptr )
inline

Constructor from a single argument-less function.

Definition at line 160 of file core/ItemGroupObserver.h.

Member Function Documentation

◆ executeCompact()

template<typename T>
void Arcane::ItemGroupObserverWithoutInfoT< T >::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 177 of file core/ItemGroupObserver.h.

◆ executeExtend()

template<typename T>
void Arcane::ItemGroupObserverWithoutInfoT< T >::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 167 of file core/ItemGroupObserver.h.

◆ executeInvalidate()

template<typename T>
void Arcane::ItemGroupObserverWithoutInfoT< T >::executeInvalidate ( )
inlineoverridevirtual

Execute the action associated with invalidation.

No transition information available.

Implements Arcane::IItemGroupObserver.

Definition at line 182 of file core/ItemGroupObserver.h.

◆ executeReduce()

template<typename T>
void Arcane::ItemGroupObserverWithoutInfoT< T >::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 172 of file core/ItemGroupObserver.h.

◆ needInfo()

template<typename T>
bool Arcane::ItemGroupObserverWithoutInfoT< T >::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 187 of file core/ItemGroupObserver.h.


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