Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IGatherGroupInfo Class Referenceabstract

Interface class allowing the calculation and storage of grouping information. More...

#include <arcane/core/internal/IGatherGroup.h>

Inheritance diagram for Arcane::IGatherGroupInfo:
Collaboration diagram for Arcane::IGatherGroupInfo:

Public Member Functions

virtual void computeSize (Int32 nb_elem_in)=0
 Method allowing the calculation of grouping information.
virtual void setNeedRecompute ()=0
 Method allowing a request for recalculation of grouping information. To do this, the method computeSize() must be called again.
virtual bool isComputed ()=0
 Method allowing determination of whether the method computeSize() has already been called.
virtual Int32 nbElemOutput ()=0
 Method allowing knowledge of the number of elements that our subdomain must process after reception.
virtual Int32 sizeOfOutput (Int32 sizeof_type)=0
 Method allowing knowledge of the size, in bytes, of the set of elements that our subdomain must process after reception.
virtual SmallSpan< Int32nbElemRecvGatherToMasterIO ()=0
 Method allowing knowledge of the number of elements that each third-party subdomain will send to us.
virtual Int32 nbWriterGlobal ()=0
 Method allowing knowledge of the number of writing subdomains.

Detailed Description

Interface class allowing the calculation and storage of grouping information.

Definition at line 73 of file IGatherGroup.h.

Member Function Documentation

◆ computeSize()

virtual void Arcane::IGatherGroupInfo::computeSize ( Int32 nb_elem_in)
pure virtual

Method allowing the calculation of grouping information.

Collective call.

A second call to this method will have no effect, unless the method needRecompute() was called beforehand.

Parameters
nb_elem_inThe number of elements that our subdomain wishes to send to the master.

Implemented in Arcane::GatherGroupInfo.

◆ isComputed()

virtual bool Arcane::IGatherGroupInfo::isComputed ( )
pure virtual

Method allowing determination of whether the method computeSize() has already been called.

Implemented in Arcane::GatherGroupInfo.

◆ nbElemOutput()

virtual Int32 Arcane::IGatherGroupInfo::nbElemOutput ( )
pure virtual

Method allowing knowledge of the number of elements that our subdomain must process after reception.

Implemented in Arcane::GatherGroupInfo.

◆ nbElemRecvGatherToMasterIO()

virtual SmallSpan< Int32 > Arcane::IGatherGroupInfo::nbElemRecvGatherToMasterIO ( )
pure virtual

Method allowing knowledge of the number of elements that each third-party subdomain will send to us.

Implemented in Arcane::GatherGroupInfo.

◆ nbWriterGlobal()

virtual Int32 Arcane::IGatherGroupInfo::nbWriterGlobal ( )
pure virtual

Method allowing knowledge of the number of writing subdomains.

Implemented in Arcane::GatherGroupInfo.

◆ setNeedRecompute()

virtual void Arcane::IGatherGroupInfo::setNeedRecompute ( )
pure virtual

Method allowing a request for recalculation of grouping information. To do this, the method computeSize() must be called again.

Implemented in Arcane::GatherGroupInfo.

◆ sizeOfOutput()

virtual Int32 Arcane::IGatherGroupInfo::sizeOfOutput ( Int32 sizeof_type)
pure virtual

Method allowing knowledge of the size, in bytes, of the set of elements that our subdomain must process after reception.

Parameters
sizeof_typeThe size of an element.

Implemented in Arcane::GatherGroupInfo.


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