Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::IGetVariablesValuesParallelOperation Class Referenceabstract

Operations to access variable values from another subdomain. More...

#include <arcane/core/IGetVariablesValuesParallelOperation.h>

Public Member Functions

virtual IParallelMngparallelMng ()=0
virtual void getVariableValues (VariableItemReal &variable, Int64ConstArrayView unique_ids, RealArrayView values)=0
 Retrieves the values of a variable on remote entities.
virtual void getVariableValues (VariableItemReal &variable, Int64ConstArrayView unique_ids, Int32ConstArrayView sub_domain_ids, RealArrayView values)=0
 Retrieves the values of a variable on remote entities.

Detailed Description

Operations to access variable values from another subdomain.

Definition at line 33 of file IGetVariablesValuesParallelOperation.h.

Member Function Documentation

◆ getVariableValues() [1/2]

virtual void Arcane::IGetVariablesValuesParallelOperation::getVariableValues ( VariableItemReal & variable,
Int64ConstArrayView unique_ids,
Int32ConstArrayView sub_domain_ids,
RealArrayView values )
pure virtual

Retrieves the values of a variable on remote entities.

This operation allows retrieving the values of the variable variable on entities that are not located in this subdomain. The array unique_ids contains the unique number of the entities whose value we wish to retrieve, and sub_domain_ids the subdomain in which the entities are located. These values will be stored in values.

unique_ids, sub_domain_ids, and values must have the same number of elements.

This operation is collective and blocking.

◆ getVariableValues() [2/2]

virtual void Arcane::IGetVariablesValuesParallelOperation::getVariableValues ( VariableItemReal & variable,
Int64ConstArrayView unique_ids,
RealArrayView values )
pure virtual

Retrieves the values of a variable on remote entities.

This operation allows retrieving the values of the variable variable on entities that are not located in this subdomain. The array unique_ids contains the unique number of the entities whose value we wish to retrieve. These values will be stored in values.

This method generally requires a lot of communication because it is necessary to search which subdomain the entities belong to based on their uniqueId(). If the subdomain is known, it is better to use the overloaded method with this parameter.

unique_ids and values must have the same number of elements.

This operation is collective and blocking.


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