Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::mesh::ItemGroupsSerializer2 Class Reference

Serializes the entities of the groups. More...

#include <arcane/mesh/ItemGroupsSerializer2.h>

Inheritance diagram for Arcane::mesh::ItemGroupsSerializer2:
Collaboration diagram for Arcane::mesh::ItemGroupsSerializer2:

Public Member Functions

 ItemGroupsSerializer2 (IItemFamily *item_family, IParallelExchanger *exchanger)
void prepareData (ConstArrayView< SharedArray< Int32 > > items_exchange)
void serialize (const ItemFamilySerializeArgs &args)
void get (ISerializer *sbuf, Int64Array &items_in_groups_uid)
ItemGroupList groups ()
IMeshmesh () const
IItemFamilyitemFamily () const
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

Private Attributes

IParallelExchangerm_exchanger
IMeshm_mesh
IItemFamilym_item_family
ItemGroupList m_groups_to_exchange
 List of groups to exchange.
UniqueArray< SharedArray< Int64 > > m_items_to_send
 List of entities to exchange per processor.

Additional Inherited Members

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

Detailed Description

Serializes the entities of the groups.

Definition at line 50 of file ItemGroupsSerializer2.h.

Constructor & Destructor Documentation

◆ ItemGroupsSerializer2()

Arcane::mesh::ItemGroupsSerializer2::ItemGroupsSerializer2 ( IItemFamily * item_family,
IParallelExchanger * exchanger )

Definition at line 42 of file ItemGroupsSerializer2.cc.

◆ ~ItemGroupsSerializer2()

Arcane::mesh::ItemGroupsSerializer2::~ItemGroupsSerializer2 ( )
virtual

Definition at line 70 of file ItemGroupsSerializer2.cc.

Member Function Documentation

◆ get()

void Arcane::mesh::ItemGroupsSerializer2::get ( ISerializer * sbuf,
Int64Array & items_in_groups_uid )

Definition at line 101 of file ItemGroupsSerializer2.cc.

◆ groups()

ItemGroupList Arcane::mesh::ItemGroupsSerializer2::groups ( )
inline

Definition at line 64 of file ItemGroupsSerializer2.h.

◆ itemFamily()

IItemFamily * Arcane::mesh::ItemGroupsSerializer2::itemFamily ( ) const
inline

Definition at line 67 of file ItemGroupsSerializer2.h.

◆ mesh()

IMesh * Arcane::mesh::ItemGroupsSerializer2::mesh ( ) const
inline

Definition at line 65 of file ItemGroupsSerializer2.h.

◆ prepareData()

void Arcane::mesh::ItemGroupsSerializer2::prepareData ( ConstArrayView< SharedArray< Int32 > > items_exchange)

Definition at line 139 of file ItemGroupsSerializer2.cc.

◆ serialize()

void Arcane::mesh::ItemGroupsSerializer2::serialize ( const ItemFamilySerializeArgs & args)

Definition at line 78 of file ItemGroupsSerializer2.cc.

Member Data Documentation

◆ m_exchanger

IParallelExchanger* Arcane::mesh::ItemGroupsSerializer2::m_exchanger
private

Definition at line 72 of file ItemGroupsSerializer2.h.

◆ m_groups_to_exchange

ItemGroupList Arcane::mesh::ItemGroupsSerializer2::m_groups_to_exchange
private

List of groups to exchange.

IMPORTANT: This list must be identical for all sub-domains otherwise the deserializations will give incorrect results.

Definition at line 80 of file ItemGroupsSerializer2.h.

◆ m_item_family

IItemFamily* Arcane::mesh::ItemGroupsSerializer2::m_item_family
private

Definition at line 74 of file ItemGroupsSerializer2.h.

◆ m_items_to_send

UniqueArray<SharedArray<Int64> > Arcane::mesh::ItemGroupsSerializer2::m_items_to_send
private

List of entities to exchange per processor.

Definition at line 82 of file ItemGroupsSerializer2.h.

◆ m_mesh

IMesh* Arcane::mesh::ItemGroupsSerializer2::m_mesh
private

Definition at line 73 of file ItemGroupsSerializer2.h.


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