14#include "arcane/IndexedItemConnectivityView.h"
16#include "arcane/ItemGroup.h"
29_internalItemTestCompile()
31 IndexedCellNodeConnectivityView cell_node;
32 IndexedCellEdgeConnectivityView cell_edge;
33 IndexedCellFaceConnectivityView cell_face;
34 IndexedCellCellConnectivityView cell_cell;
35 IndexedCellDoFConnectivityView cell_dof;
37 IndexedFaceNodeConnectivityView face_node;
38 IndexedFaceEdgeConnectivityView face_edge;
39 IndexedFaceFaceConnectivityView face_face;
40 IndexedFaceCellConnectivityView face_cell;
41 IndexedFaceDoFConnectivityView face_dof;
43 IndexedEdgeNodeConnectivityView edge_node;
44 IndexedEdgeEdgeConnectivityView edge_edge;
45 IndexedEdgeFaceConnectivityView edge_face;
46 IndexedEdgeCellConnectivityView edge_cell;
47 IndexedEdgeDoFConnectivityView edge_dof;
49 IndexedNodeNodeConnectivityView node_node;
50 IndexedNodeEdgeConnectivityView node_edge;
51 IndexedNodeFaceConnectivityView node_face;
52 IndexedNodeCellConnectivityView node_cell;
53 IndexedNodeDoFConnectivityView node_dof;
55 IndexedDoFNodeConnectivityView dof_node;
56 IndexedDoFEdgeConnectivityView dof_edge;
57 IndexedDoFFaceConnectivityView dof_face;
58 IndexedDoFCellConnectivityView dof_cell;
59 IndexedDoFDoFConnectivityView dof_dof;
66 for (NodeLocalId node : node_node.nodes(xnode)) {
67 total += node.localId();
69 for (EdgeLocalId edge : node_edge.edges(xnode)) {
70 total += edge.localId();
72 for (FaceLocalId face : node_face.faces(xnode)) {
73 total += face.localId();
75 for (CellLocalId cell : node_cell.cells(xnode)) {
76 total += cell.localId();
78 for (DoFLocalId dof : node_dof.dofs(xnode)) {
79 total += dof.localId();
85 for (NodeLocalId node : cell_node.nodes(xcell)) {
86 total += node.localId();
88 for (EdgeLocalId edge : cell_edge.edges(xcell)) {
89 total += edge.localId();
91 for (FaceLocalId face : cell_face.faces(xcell)) {
92 total += face.localId();
94 for (CellLocalId cell : cell_cell.cells(xcell)) {
95 total += cell.localId();
97 for (DoFLocalId dof : cell_dof.dofs(xcell)) {
98 total += dof.localId();
104 for (NodeLocalId node : edge_node.nodes(xedge)) {
105 total += node.localId();
107 for (EdgeLocalId edge : edge_edge.edges(xedge)) {
108 total += edge.localId();
110 for (FaceLocalId face : edge_face.faces(xedge)) {
111 total += face.localId();
113 for (CellLocalId cell : edge_cell.cells(xedge)) {
114 total += cell.localId();
116 for (DoFLocalId dof : edge_dof.dofs(xedge)) {
117 total += dof.localId();
123 for (NodeLocalId node : face_node.nodes(xface)) {
124 total += node.localId();
126 for (EdgeLocalId edge : face_edge.edges(xface)) {
127 total += edge.localId();
129 for (FaceLocalId face : face_face.faces(xface)) {
130 total += face.localId();
132 for (CellLocalId cell : face_cell.cells(xface)) {
133 total += cell.localId();
135 for (DoFLocalId dof : face_dof.dofs(xface)) {
136 total += dof.localId();
142 for (NodeLocalId node : dof_node.nodes(xdof)) {
143 total += node.localId();
145 for (EdgeLocalId edge : dof_edge.edges(xdof)) {
146 total += edge.localId();
148 for (FaceLocalId face : dof_face.faces(xdof)) {
149 total += face.localId();
151 for (CellLocalId cell : dof_cell.cells(xdof)) {
152 total += cell.localId();
154 for (DoFLocalId dof : dof_dof.dofs(xdof)) {
155 total += dof.localId();
159 std::cout <<
"TOTAL=" << total <<
"\n";
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-