Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ItemGroupGeometryProperty.cc
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#include "arcane/geometry/impl/ItemGroupGeometryProperty.h"
8/* Author : havep at Tue Apr 1 17:25:52 2008
9 * Generated by createNew
10 */
11
12/*---------------------------------------------------------------------------*/
13/*---------------------------------------------------------------------------*/
14
15ARCANE_BEGIN_NAMESPACE
16NUMERICS_BEGIN_NAMESPACE
17
20 : defined(0),
21 computed(0),
22 delegated(0)
23{
24 ;
25}
26
29{
30 // Destruction automatique par les AutoRef's
31}
32
33bool
34ItemGroupGeometryProperty::
35hasProperty(const IGeometryProperty::eProperty p) const
36{
37 return (defined & p) == p;
38}
39
40Integer
41ItemGroupGeometryProperty::
42getStorage(const IGeometryProperty::eProperty p) const
43{
44 StorageInfos::const_iterator ifinder = storages.find(p);
45 if (ifinder == storages.end())
46 return IGeometryProperty::PNoStorage;
47 else
48 return ifinder->second.storageType;
49}
50
51void
52ItemGroupGeometryProperty::
53resetFlags()
54{
55 computed = 0;
56 delegated = 0;
57 for (StorageInfos::iterator i = storages.begin(); i != storages.end(); ++i)
58 {
59 i->second.usageVarCount = 0;
60 i->second.usageMapCount = 0;
61 }
62}
63
64NUMERICS_END_NAMESPACE
65ARCANE_END_NAMESPACE
66
67/*---------------------------------------------------------------------------*/
68/*---------------------------------------------------------------------------*/
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120