Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
VariableUtilities.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 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/* VariableUtilities.h (C) 2000-2015 */
9/* */
10/* Fonctions utilitaires sur les variables. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_IMPL_VARIABLEUTILITIES_H
13#define ARCANE_IMPL_VARIABLEUTILITIES_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/TraceAccessor.h"
18#include "arcane/IVariableUtilities.h"
19
20#include <set>
21
22/*---------------------------------------------------------------------------*/
23/*---------------------------------------------------------------------------*/
24
25ARCANE_BEGIN_NAMESPACE
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29
30class IVariableMng;
31class VariableDependInfo;
32
33/*---------------------------------------------------------------------------*/
34/*---------------------------------------------------------------------------*/
39: public TraceAccessor
40, public IVariableUtilities
41{
42 public:
43
45 virtual ~VariableUtilities();
46
47 public:
48
49 virtual IVariableMng* variableMng() const { return m_variable_mng; }
50 virtual void dumpDependencies(IVariable* var,std::ostream& ostr,bool is_recursive);
51 virtual void dumpAllVariableDependencies(std::ostream& ostr,bool is_recursive);
52 virtual VariableCollection filterCommonVariables(IParallelMng* pm,
54 bool dump_not_common);
55
56 private:
57
58 IVariableMng* m_variable_mng;
59
60 void _dumpDependencies(IVariable* var,std::ostream& ostr,bool is_recursive);
61 void _dumpDependencies(VariableDependInfo& vdi,std::ostream& ostr,bool is_recursive,
62 std::set<IVariable*>& done_vars,Integer indent_level);
63};
64
65/*---------------------------------------------------------------------------*/
66/*---------------------------------------------------------------------------*/
67
68ARCANE_END_NAMESPACE
69
70/*---------------------------------------------------------------------------*/
71/*---------------------------------------------------------------------------*/
72
73#endif
74
Interface du gestionnaire de parallélisme pour un sous-domaine.
Interface du gestionnaire de variables.
Interface proposant des fonctions utilitaires sur les variables.
Interface d'une variable.
Definition IVariable.h:54
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Collection de variables.
Informations sur une dépendance de variable.
Fonctions utilitaires sur les variables.
virtual IVariableMng * variableMng() const
Gestionnaire de variables associé