Operations to access variable values from another subdomain. More...
#include <arcane/core/IGetVariablesValuesParallelOperation.h>
Public Member Functions | |
| virtual IParallelMng * | parallelMng ()=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. | |
Operations to access variable values from another subdomain.
Definition at line 33 of file IGetVariablesValuesParallelOperation.h.
|
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.
|
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.