    

 ## On this page

  

 

 # syscVolumeMesh

 Last update: 17.07.2025 

<a id="l00001" name="l00001"></a> 1/\*

<a id="l00002" name="l00002"></a> 2\* Copyright ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.

<a id="l00003" name="l00003"></a> 3\*/

<a id="l00004" name="l00004"></a> 4 

<a id="l00005" name="l00005"></a> 5\#pragma once

<a id="l00006" name="l00006"></a> 6 

<a id="l00007" name="l00007"></a> 7\#include "SystemCouplingParticipant/LibraryType.hpp"

<a id="l00008" name="l00008"></a> 8 

<a id="l00009" name="l00009"></a> 9\#include "SystemCouplingParticipant/syscCommonTypes.h"

<a id="l00010" name="l00010"></a> 10\#include "SystemCouplingParticipant/syscMeshDefinition.h"

<a id="l00011" name="l00011"></a> 11\#include "SystemCouplingParticipant/syscOutputVectorData.h"

<a id="l00012" name="l00012"></a> 12 

<a id="l00013" name="l00013"></a> 13\#include &lt;stddef.h&gt;

<a id="l00014" name="l00014"></a> 14\#include &lt;stdint.h&gt;

<a id="l00015" name="l00015"></a> 15 

<a id="l00016" name="l00016"></a> 16\#ifdef \_\_cplusplus

<a id="l00017" name="l00017"></a> 17extern "C" {

<a id="l00018" name="l00018"></a> 18\#endif

<a id="l00019" name="l00019"></a> 19 

<a id="l00025" name="l00025"></a> 25/\* \*\*\*\*\*\*\*\*\*\*\* Volume mesh \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* \*/

<a id="l00026" name="l00026"></a> 26 

<a id="l00042" name="l00042"></a>[ 42](structSyscVolumeMesh.xhtml)typedef struct {

<a id="l00044" name="l00044"></a>[ 44](structSyscVolumeMesh.xhtml#a3b96b3e7b16a3dc292d5645fde68bc6b) [SyscNodeData](structSyscNodeData.xhtml) [nodes](structSyscVolumeMesh.xhtml#a3b96b3e7b16a3dc292d5645fde68bc6b);

<a id="l00045" name="l00045"></a> 45 

<a id="l00047" name="l00047"></a>[ 47](structSyscVolumeMesh.xhtml#a20300f5632818f7755cb5e68915a5fc5) [SyscFaceData](structSyscFaceData.xhtml) [faces](structSyscVolumeMesh.xhtml#a20300f5632818f7755cb5e68915a5fc5);

<a id="l00048" name="l00048"></a> 48 

<a id="l00050" name="l00050"></a>[ 50](structSyscVolumeMesh.xhtml#a13e403f46c840923ccfcf3d8003927fc) [SyscCellData](structSyscCellData.xhtml) [cells](structSyscVolumeMesh.xhtml#a13e403f46c840923ccfcf3d8003927fc);

<a id="l00051" name="l00051"></a> 51 

<a id="l00053" name="l00053"></a>[ 53](structSyscVolumeMesh.xhtml#ac79a8a4e024bf5df6495b20d8cd533fc) int64_t [connectivityStamp](structSyscVolumeMesh.xhtml#ac79a8a4e024bf5df6495b20d8cd533fc);

<a id="l00054" name="l00054"></a> 54 

<a id="l00057" name="l00057"></a>[ 57](structSyscVolumeMesh.xhtml#a4c9b66b024653d14861a7b0c3bbc5c3c) int64_t [coordinatesStamp](structSyscVolumeMesh.xhtml#a4c9b66b024653d14861a7b0c3bbc5c3c);

<a id="l00058" name="l00058"></a> 58 

<a id="l00060" name="l00060"></a>[ 60](structSyscVolumeMesh.xhtml#afffad005aa559eb275891f7ce643b6a4) int64_t [partitioningStamp](structSyscVolumeMesh.xhtml#afffad005aa559eb275891f7ce643b6a4);

<a id="l00061" name="l00061"></a> 61} [SyscVolumeMesh](structSyscVolumeMesh.xhtml);



<a id="l00062" name="l00062"></a> 62 

<a id="l00070" name="l00070"></a>[ 70](group__SyscParticipantLibraryCAPI.xhtml#ga44f0210eb99864864b6ea802b5c8c857)[SyscVolumeMesh](structSyscVolumeMesh.xhtml) [syscGetVolumeMeshEmpty](group__SyscParticipantLibraryCAPI.xhtml#ga44f0210eb99864864b6ea802b5c8c857)();

<a id="l00071" name="l00071"></a> 71 

<a id="l00083" name="l00083"></a>[ 83](group__SyscParticipantLibraryCAPI.xhtml#gaa082ad5a3f9a308f6dfb794e8bdcd8cd)[SyscVolumeMesh](structSyscVolumeMesh.xhtml) [syscGetVolumeMeshNFC](group__SyscParticipantLibraryCAPI.xhtml#gaa082ad5a3f9a308f6dfb794e8bdcd8cd)(

<a id="l00084" name="l00084"></a> 84 [SyscNodeData](structSyscNodeData.xhtml) nodes,

<a id="l00085" name="l00085"></a> 85 [SyscFaceData](structSyscFaceData.xhtml) faces,

<a id="l00086" name="l00086"></a> 86 [SyscCellData](structSyscCellData.xhtml) cells);

<a id="l00087" name="l00087"></a> 87 

<a id="l00099" name="l00099"></a>[ 99](group__SyscParticipantLibraryCAPI.xhtml#gacdd4cb0f44e5d2e94a0ed34e0dc96bbe)[SyscVolumeMesh](structSyscVolumeMesh.xhtml) [syscGetVolumeMeshElementBased](group__SyscParticipantLibraryCAPI.xhtml#gacdd4cb0f44e5d2e94a0ed34e0dc96bbe)(

<a id="l00100" name="l00100"></a> 100 [SyscNodeData](structSyscNodeData.xhtml) nodes,

<a id="l00101" name="l00101"></a> 101 [SyscElementTypeData](structSyscElementTypeData.xhtml) cellTypes,

<a id="l00102" name="l00102"></a> 102 [SyscElementNodeConnectivityData](structSyscElementNodeConnectivityData.xhtml) cellNodeConnectivity);

<a id="l00103" name="l00103"></a> 103 

<a id="l00118" name="l00118"></a>[ 118](group__SyscParticipantLibraryCAPI.xhtml#gae426344ef494aa92411c8c3856cdcb7f)[SyscVolumeMesh](structSyscVolumeMesh.xhtml) [syscGetVolumeMeshFaceBased](group__SyscParticipantLibraryCAPI.xhtml#gae426344ef494aa92411c8c3856cdcb7f)(

<a id="l00119" name="l00119"></a> 119 [SyscNodeData](structSyscNodeData.xhtml) nodes,

<a id="l00120" name="l00120"></a> 120 [SyscElementNodeCountData](structSyscElementNodeCountData.xhtml) faceNodeCounts,

<a id="l00121" name="l00121"></a> 121 [SyscElementNodeConnectivityData](structSyscElementNodeConnectivityData.xhtml) faceNodeConnectivity,

<a id="l00122" name="l00122"></a> 122 [SyscFaceCellConnectivityData](structSyscFaceCellConnectivityData.xhtml) faceCellConnectivity,

<a id="l00123" name="l00123"></a> 123 [SyscCellIdData](structSyscCellIdData.xhtml) cellIds);

<a id="l00124" name="l00124"></a> 124 

<a id="l00127" name="l00127"></a> 127\#ifdef \_\_cplusplus

<a id="l00128" name="l00128"></a> 128}

<a id="l00129" name="l00129"></a> 129\#endif

[syscGetVolumeMeshEmpty](group__SyscParticipantLibraryCAPI.xhtml#ga44f0210eb99864864b6ea802b5c8c857)

SyscVolumeMesh syscGetVolumeMeshEmpty()

Create an empty volume mesh access struct.



[syscGetVolumeMeshNFC](group__SyscParticipantLibraryCAPI.xhtml#gaa082ad5a3f9a308f6dfb794e8bdcd8cd)

SyscVolumeMesh syscGetVolumeMeshNFC(SyscNodeData nodes, SyscFaceData faces, SyscCellData cells)

Create a volume mesh access struct.



[syscGetVolumeMeshElementBased](group__SyscParticipantLibraryCAPI.xhtml#gacdd4cb0f44e5d2e94a0ed34e0dc96bbe)

SyscVolumeMesh syscGetVolumeMeshElementBased(SyscNodeData nodes, SyscElementTypeData cellTypes, SyscElementNodeConnectivityData cellNodeConnectivity)

Create an element-based volume mesh access struct.



[syscGetVolumeMeshFaceBased](group__SyscParticipantLibraryCAPI.xhtml#gae426344ef494aa92411c8c3856cdcb7f)

SyscVolumeMesh syscGetVolumeMeshFaceBased(SyscNodeData nodes, SyscElementNodeCountData faceNodeCounts, SyscElementNodeConnectivityData faceNodeConnectivity, SyscFaceCellConnectivityData faceCellConnectivity, SyscCellIdData cellIds)

Create a face-based volume mesh access struct.



[SyscCellData](structSyscCellData.xhtml)

Cell data struct.

**Definition** [syscMeshDefinition.h:288](syscMeshDefinition_8h_source.xhtml#l00288)



[SyscCellIdData](structSyscCellIdData.xhtml)

Cell ids struct.

**Definition** [syscMeshDefinition.h:209](syscMeshDefinition_8h_source.xhtml#l00209)



[SyscElementNodeConnectivityData](structSyscElementNodeConnectivityData.xhtml)

Element node connectivity access struct, provides read-only access to the element-to-node connectivit...

**Definition** [syscMeshDefinition.h:166](syscMeshDefinition_8h_source.xhtml#l00166)



[SyscElementNodeCountData](structSyscElementNodeCountData.xhtml)

Element node count access struct, provides read-only access to the mesh element node counts.

**Definition** [syscMeshDefinition.h:126](syscMeshDefinition_8h_source.xhtml#l00126)



[SyscElementTypeData](structSyscElementTypeData.xhtml)

Element types access struct, provides read-only access to the mesh element types.

**Definition** [syscMeshDefinition.h:88](syscMeshDefinition_8h_source.xhtml#l00088)



[SyscFaceCellConnectivityData](structSyscFaceCellConnectivityData.xhtml)

Describes face-to-cell connectivity.

**Definition** [syscMeshDefinition.h:191](syscMeshDefinition_8h_source.xhtml#l00191)



[SyscFaceData](structSyscFaceData.xhtml)

Face data struct.

**Definition** [syscMeshDefinition.h:239](syscMeshDefinition_8h_source.xhtml#l00239)



[SyscNodeData](structSyscNodeData.xhtml)

Node data access struct, provides read-only access to the mesh nodes.

**Definition** [syscMeshDefinition.h:41](syscMeshDefinition_8h_source.xhtml#l00041)



[SyscVolumeMesh](structSyscVolumeMesh.xhtml)

Provide a volume mesh access struct.

**Definition** [syscVolumeMesh.h:42](syscVolumeMesh_8h_source.xhtml#l00042)



[SyscVolumeMesh::cells](structSyscVolumeMesh.xhtml#a13e403f46c840923ccfcf3d8003927fc)

SyscCellData cells

Mesh cells.

**Definition** [syscVolumeMesh.h:50](syscVolumeMesh_8h_source.xhtml#l00050)



[SyscVolumeMesh::faces](structSyscVolumeMesh.xhtml#a20300f5632818f7755cb5e68915a5fc5)

SyscFaceData faces

Mesh faces.

**Definition** [syscVolumeMesh.h:47](syscVolumeMesh_8h_source.xhtml#l00047)



[SyscVolumeMesh::nodes](structSyscVolumeMesh.xhtml#a3b96b3e7b16a3dc292d5645fde68bc6b)

SyscNodeData nodes

Mesh nodes.

**Definition** [syscVolumeMesh.h:44](syscVolumeMesh_8h_source.xhtml#l00044)



[SyscVolumeMesh::coordinatesStamp](structSyscVolumeMesh.xhtml#a4c9b66b024653d14861a7b0c3bbc5c3c)

int64_t coordinatesStamp

Nodal coordinates stamp. Update whenever nodal coordinates get updated.

**Definition** [syscVolumeMesh.h:57](syscVolumeMesh_8h_source.xhtml#l00057)



[SyscVolumeMesh::connectivityStamp](structSyscVolumeMesh.xhtml#ac79a8a4e024bf5df6495b20d8cd533fc)

int64_t connectivityStamp

Mesh connectivity stamp. Update whenever re-meshing happens.

**Definition** [syscVolumeMesh.h:53](syscVolumeMesh_8h_source.xhtml#l00053)



[SyscVolumeMesh::partitioningStamp](structSyscVolumeMesh.xhtml#afffad005aa559eb275891f7ce643b6a4)

int64_t partitioningStamp

Partitioning stamp. Update whenever the mesh is re-partitioned.

**Definition** [syscVolumeMesh.h:60](syscVolumeMesh_8h_source.xhtml#l00060)