Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
IVariableParallelOperation.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* IVariableParallelOperation.h (C) 2000-2025 */
9/* */
10/* Interface of a class for parallel operations on variables. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IVARIABLEPARALLELOPERATION_H
13#define ARCANE_CORE_IVARIABLEPARALLELOPERATION_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
38class ARCANE_CORE_EXPORT IVariableParallelOperation
39{
40 public:
41
42 virtual ~IVariableParallelOperation() = default;
43
44 public:
45
46 virtual void build() = 0;
47
48 public:
49
56 virtual void setItemFamily(IItemFamily* family) = 0;
57
59 virtual IItemFamily* itemFamily() = 0;
60
62 virtual void addVariable(IVariable* variable) = 0;
63
65 virtual void applyOperation(IDataOperation* operation) = 0;
66};
67
68/*---------------------------------------------------------------------------*/
69/*---------------------------------------------------------------------------*/
70
71} // namespace Arcane
72
73/*---------------------------------------------------------------------------*/
74/*---------------------------------------------------------------------------*/
75
76#endif
Arcane configuration file.
Interface of an operation on a data.
Interface of an entity family.
Definition IItemFamily.h:83
Interface of a class for parallel operations on variables.
virtual void build()=0
Constructs the instance.
virtual IItemFamily * itemFamily()=0
Entity family on which the operation is performed.
virtual ~IVariableParallelOperation()=default
Releases resources.
virtual void setItemFamily(IItemFamily *family)=0
Positions the entity family on which the operation is to be performed.
virtual void addVariable(IVariable *variable)=0
Adds a variable to the list of variables concerned by the operation.
virtual void applyOperation(IDataOperation *operation)=0
Applies the operation.
Interface of a variable.
Definition IVariable.h:40
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --