7#ifndef ARCGEOSIM_GEOMETRY_GEOMETRYSERVICEBASE_H
8#define ARCGEOSIM_GEOMETRY_GEOMETRYSERVICEBASE_H
13#include "arcane/geometry/IGeometryMng.h"
14#include "arcane/geometry/impl/ItemGroupGeometryProperty.h"
22NUMERICS_BEGIN_NAMESPACE
104 template<
typename GeometryT>
113 typedef std::map<ItemGroupImpl*, ItemGroupGeometryProperty> PropertyMap;
114 PropertyMap m_group_property_map;
119 IGeometryProperty::eProperty property,
120 IGeometryProperty::eStorage storage);
121 void _resetComputeFlags();
122 void _checkItemGroupUsage();
128NUMERICS_END_NAMESPACE
131#include "GeometryServiceBaseT.h"
void addItemGroupProperty(ItemGroup group, Integer property, Integer storage=IGeometryProperty::PVariable)
Set geometric properties on a ItemGroup.
void update()
Update property values for all ItemGroups.
Integer getItemGroupPropertyStorage(ItemGroup group, IGeometryProperty::eProperty property)
Check if a storage is available on an ItemGroup.
Integer getItemGroupProperty(ItemGroup group)
Get set of properties of an ItemGroup.
virtual IMesh * mesh()=0
Access to mesh.
ItemGroupGeometryProperty::StorageInfo & _checkItemGroupProperty(ItemGroupImpl *group, IGeometryProperty::eProperty property, IGeometryProperty::eStorage storage)
Return ItemGroupGeometryProperty if requested property and storage are available.
const Real3Variable & getReal3VariableProperty(ItemGroup group, IGeometryProperty::eProperty property)
Get geometric property values for a Real3 field.
const RealVariable & getRealVariableProperty(ItemGroup group, IGeometryProperty::eProperty property)
Get geometric property values for a Real field.
virtual void reset(ItemGroup group)=0
Reset property for an ItemGroup.
String m_suffix
suffix for internal variable names
void reset()
Reset property for all ItemGroups.
virtual ~GeometryServiceBase()
virtual const char * className() const =0
Name of instancied class.
virtual ITraceMng * traceMng()=0
Access to traceMng.
bool hasItemGroupProperty(ItemGroup group, Integer property)
Check is a property is activated on an ItemGroup.
void setSuffix(const String &suffix)
virtual void update(ItemGroup group)=0
Update property values for an ItemGroup.
Interface du gestionnaire d'un sous-domaine.
Implémentation d'un groupe d'entités de maillage.
Groupe d'entités de maillage.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Gestionnaire des calculs géométriques.
virtual IGeometry * geometry()=0
Get underlying geometry.
Interface du gestionnaire de traces.
Chaîne de caractères unicode.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Int32 Integer
Type représentant un entier.