12#ifndef ARCANE_CORE_IGRAPH2_H
13#define ARCANE_CORE_IGRAPH2_H
21#include "arcane/core/IItemConnectivity.h"
22#include "arcane/core/IndexedItemConnectivityView.h"
34static const Integer NB_DUAL_ITEM_TYPE = 5;
84 virtual void notifyUpdateConnectivity() = 0;
96 virtual void notifyUpdate() = 0;
119 virtual void releaseGraphConnectivityObserver(
Integer observer_id) = 0;
123 virtual void releaseGraphObserver(
Integer observer_id) = 0;
125 virtual bool isUpdated() = 0;
143 virtual void printDualNodes()
const = 0;
144 virtual void printLinks()
const = 0;
Arcane configuration file.
Declarations of Arcane's general types.
Declarations of types on entities.
virtual Integer nbLink() const =0
Number of links of the graph.
virtual Integer nbDualNode() const =0
Number of dual nodes of the graph.
virtual ~IGraph2()=default
Frees resources.
virtual const IItemFamily * dualNodeFamily() const =0
Returns the family of dual nodes.
virtual const IItemFamily * linkFamily() const =0
Returns the family of links.
Graph connectivity tooling.
virtual DoFVectorView links(const DoF &dualNode) const =0
Access to the view of links composed of the dualNode of type(DoF).
virtual Item dualItem(const DoF &dualNode) const =0
Access to the dual Item of a DualNode (detype DoF).
virtual ~IGraphConnectivity()=default
Frees resources.
virtual DoFVectorView dualNodes(const DoF &link) const =0
Access to the view of DualNodes constituting a Link of type(DoF).
Interface for a mesh graph.
Interface of an entity family.
Base class for a mesh element.
ItemVectorViewT< DoF > DoFVectorView
View over a vector of degrees of freedom.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
eItemKind
Mesh entity type.