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

Interface class allowing the grouping of data from certain subdomains onto other subdomains. More...

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

Inheritance diagram for Arcane::IGatherGroup:
Collaboration diagram for Arcane::IGatherGroup:

Public Member Functions

virtual bool isNeedGather ()=0
 Method allowing determination of whether the grouping needs to be performed or if the data can be written directly.
virtual void gatherToMasterIO (Int64 sizeof_elem, Span< const Byte > in, Span< Byte > out)=0
 Method allowing the grouping of data from multiple subdomains onto one or more subdomains.

Detailed Description

Interface class allowing the grouping of data from certain subdomains onto other subdomains.

Definition at line 35 of file IGatherGroup.h.

Member Function Documentation

◆ gatherToMasterIO()

virtual void Arcane::IGatherGroup::gatherToMasterIO ( Int64 sizeof_elem,
Span< const Byte > in,
Span< Byte > out )
pure virtual

Method allowing the grouping of data from multiple subdomains onto one or more subdomains.

Collective call.

Parameters
sizeof_elemThe size of an element.
inOur array that we wish to group.
outThe grouped array. If we are not a writer, there will be no modification.

Implemented in Arcane::GatherGroup.

◆ isNeedGather()

virtual bool Arcane::IGatherGroup::isNeedGather ( )
pure virtual

Method allowing determination of whether the grouping needs to be performed or if the data can be written directly.

Non-collective call, but the returned value will be the same for all callers.

The call to gatherToMasterIO() can still be made; the array in will simply be copied into the array out.

Implemented in Arcane::GatherGroup.


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