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

Public Member Functions

 MultiReduce (IParallelMng *pm)
virtual void execute ()
 Executes the reductions.
virtual bool isStrict () const
 Indicates if strict mode is used.
virtual void setStrict (bool is_strict)
 Sets the strict mode.
virtual ReduceSumOfRealHelpergetSumOfReal (const String &name)
 Returns the name manager name. If a name manager name does not exist, it is created. The returned object remains the property of this instance and must not be explicitly destroyed. It will be when this instance is destroyed.
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::IMultiReduce
virtual ~IMultiReduce ()
 Frees resources.

Additional Inherited Members

Static Public Member Functions inherited from Arcane::IMultiReduce
static IMultiReducecreate (IParallelMng *pm)
Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Definition at line 43 of file MultiReduce.cc.

Constructor & Destructor Documentation

◆ MultiReduce()

Arcane::MultiReduce::MultiReduce ( IParallelMng * pm)

Definition at line 101 of file MultiReduce.cc.

◆ ~MultiReduce()

Arcane::MultiReduce::~MultiReduce ( )

Definition at line 114 of file MultiReduce.cc.

Member Function Documentation

◆ execute()

void Arcane::MultiReduce::execute ( )
virtual

Executes the reductions.

Implements Arcane::IMultiReduce.

Definition at line 126 of file MultiReduce.cc.

References Arcane::arcaneCheckArraySize(), and Arcane::MessagePassing::ReduceSum.

◆ getSumOfReal()

virtual ReduceSumOfRealHelper * Arcane::MultiReduce::getSumOfReal ( const String & name)
inlinevirtual

Returns the name manager name. If a name manager name does not exist, it is created. The returned object remains the property of this instance and must not be explicitly destroyed. It will be when this instance is destroyed.

Implements Arcane::IMultiReduce.

Definition at line 60 of file MultiReduce.cc.

◆ isStrict()

virtual bool Arcane::MultiReduce::isStrict ( ) const
inlinevirtual

Indicates if strict mode is used.

Implements Arcane::IMultiReduce.

Definition at line 55 of file MultiReduce.cc.

◆ setStrict()

virtual void Arcane::MultiReduce::setStrict ( bool is_strict)
inlinevirtual

Sets the strict mode.

Implements Arcane::IMultiReduce.

Definition at line 56 of file MultiReduce.cc.


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