> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class sysc::VolumeMesh

![][C++]
![][public]

**Definition**: `VolumeMesh.hpp` (line 26)

Provide a volume mesh access class.

Provides read-only access to the volume mesh for a given region.

## Members

* [checkMeshValidity](#classsysc_1_1VolumeMesh_1aca7d146a22e72f8eca520ef69ea6858a)
* [checkValidity](#classsysc_1_1VolumeMesh_1a3bee2a4c68f47e4887323d31ce691b02)
* [connectivityStamp](#classsysc_1_1VolumeMesh_1adbab9e5317965d98b0e6b02c6ccce7b5)
* [coordinatesStamp](#classsysc_1_1VolumeMesh_1a6415bcc1a32f7374c51d4894d68e338e)
* [getCell0Ids](#classsysc_1_1VolumeMesh_1a417e50bee9c019e45cbedd39fd5bc6cb)
* [getCell1Ids](#classsysc_1_1VolumeMesh_1a1591d15487420143b463ef86835f1874)
* [getCellData](#classsysc_1_1VolumeMesh_1a5ccc339cd9160a32097e4a60277aa26d)
* [getCellIds](#classsysc_1_1VolumeMesh_1a798c79c54b8425b7e8b3060016547ea7)
* [getCellNodeConnectivity](#classsysc_1_1VolumeMesh_1a3bb98664fc0827d3ea1317ca034f493c)
* [getCellTypes](#classsysc_1_1VolumeMesh_1a159cf62afda4022acfbd2f5cbccfca7c)
* [getFaceData](#classsysc_1_1VolumeMesh_1a3b1a9c301f2fdbb47e84dc51873a9c82)
* [getFaceNodeCounts](#classsysc_1_1VolumeMesh_1a66ec70482e4fd44bc9edaa910e0abaf2)
* [getFaceNodeIds](#classsysc_1_1VolumeMesh_1a3a7635141a02711f1dcdacf848c157ab)
* [getFaceTypes](#classsysc_1_1VolumeMesh_1a7cd6df532799ff7878c5a3b30cf0ffe5)
* [getNodeCoords](#classsysc_1_1VolumeMesh_1a4307321266d855dd7ba48023e0b23f4e)
* [getNodeData](#classsysc_1_1VolumeMesh_1abb3afc8a600888ee5af947d4ce1f934a)
* [getNodeIds](#classsysc_1_1VolumeMesh_1a15835b560adaabcc1c73da43d7d25f3e)
* [getNumCells](#classsysc_1_1VolumeMesh_1a941931c2e13bc9b40a19637d1d7d3dcd)
* [getNumNodes](#classsysc_1_1VolumeMesh_1ab30f9a87cf0cc2c5d12f6ddf05e99fca)
* [m\_cells](#classsysc_1_1VolumeMesh_1a190c941c8bc341447d5c3c3fe1485b97)
* [m\_faces](#classsysc_1_1VolumeMesh_1abb3922ea549c83ecbc14b822c620a852)
* [m\_nodes](#classsysc_1_1VolumeMesh_1a50c484d16edd9b6fe72a044fd039da16)
* [operator=](#classsysc_1_1VolumeMesh_1a08f8d75fe5321ae67f0cf4c1c67625df)
* [operator=](#classsysc_1_1VolumeMesh_1ad0a9dfaf02ac0d677f7d993148272d69)
* [partitioningStamp](#classsysc_1_1VolumeMesh_1a9cf06f19acd1b0c3d0003f56ba7df89a)
* [VolumeMesh](#classsysc_1_1VolumeMesh_1ab01007a2dcb32f1a91b0ca7a26c94afb)
* [VolumeMesh](#classsysc_1_1VolumeMesh_1abb0f3e38d18bdfe8128e71da0dcf235f)
* [VolumeMesh](#classsysc_1_1VolumeMesh_1a714cfafbfb04be14720a195cc7590470)
* [VolumeMesh](#classsysc_1_1VolumeMesh_1ab3261c84e62bdcf25d92b69cbefb1cba)
* [VolumeMesh](#classsysc_1_1VolumeMesh_1af2f6fc62a27f5d69af987a82a8154e45)
* [VolumeMesh](#classsysc_1_1VolumeMesh_1ad901c126ab7372df0928446c7a5bede7)
* [VolumeMesh](#classsysc_1_1VolumeMesh_1ac048cda48c16766a7e04688d62203a70)
* [VolumeMesh](#classsysc_1_1VolumeMesh_1a2dfff826766714e9e95227bbc64336a3)

## Public attributes

### Variable connectivityStamp

![][public]

**Definition**: `VolumeMesh.hpp` (line 29)

```cpp theme={null}
std::int64_t sysc::VolumeMesh::connectivityStamp {0}
```

Mesh connectivity stamp. Update whenever re-meshing happens.

**Type**: std::int64\_t

### Variable coordinatesStamp

![][public]

**Definition**: `VolumeMesh.hpp` (line 32)

```cpp theme={null}
std::int64_t sysc::VolumeMesh::coordinatesStamp {0}
```

Nodal coordinates stamp. Update whenever nodal coordinates get updated.

**Type**: std::int64\_t

### Variable partitioningStamp

![][public]

**Definition**: `VolumeMesh.hpp` (line 35)

```cpp theme={null}
std::int64_t sysc::VolumeMesh::partitioningStamp {0}
```

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

**Type**: std::int64\_t

## Private attributes

### Variable m\_nodes

![][private]

**Definition**: `VolumeMesh.hpp` (line 142)

```cpp theme={null}
NodeData sysc::VolumeMesh::m_nodes
```

**Type**: [NodeData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1NodeData.md)

### Variable m\_faces

![][private]

**Definition**: `VolumeMesh.hpp` (line 143)

```cpp theme={null}
FaceData sysc::VolumeMesh::m_faces
```

**Type**: [FaceData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1FaceData.md)

### Variable m\_cells

![][private]

**Definition**: `VolumeMesh.hpp` (line 144)

```cpp theme={null}
CellData sysc::VolumeMesh::m_cells
```

**Type**: [CellData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1CellData.md)

## Public functions

### Function VolumeMesh

![][public]

```cpp theme={null}
sysc::VolumeMesh::VolumeMesh(NodeData nodeData, CellData cellData)
```

Provide a constructor for element-based volume mesh.

**Parameters**:

* [NodeData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1NodeData.md) **nodeData**
* [CellData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1CellData.md) **cellData**

**Return type**:

### Function VolumeMesh

![][public]

```cpp theme={null}
sysc::VolumeMesh::VolumeMesh(NodeData nodeData, FaceData faceData, CellData cellData)
```

Provide a constructor for face-based volume mesh.

**Parameters**:

* [NodeData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1NodeData.md) **nodeData**
* [FaceData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1FaceData.md) **faceData**
* [CellData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1CellData.md) **cellData**

**Return type**:

### Function VolumeMesh

![][public]

```cpp theme={null}
sysc::VolumeMesh::VolumeMesh()=default
```

Provide a default constructor.

**Return type**:

### Function VolumeMesh

![][public]

```cpp theme={null}
sysc::VolumeMesh::VolumeMesh(const VolumeMesh &)=default
```

Provide a copy-constructor.

**Parameters**:

* const [VolumeMesh](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1VolumeMesh.md) &

**Return type**:

### Function VolumeMesh

![][public]

```cpp theme={null}
sysc::VolumeMesh::VolumeMesh(VolumeMesh &&)=default
```

Provide a move-constructor.

**Parameters**:

* [VolumeMesh](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1VolumeMesh.md) &&

**Return type**:

### Function operator=

![][public]

```cpp theme={null}
VolumeMesh& sysc::VolumeMesh::operator=(const VolumeMesh &)=default
```

Provide a copy-assign operator.

**Parameters**:

* const [VolumeMesh](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1VolumeMesh.md) &

**Return type**: [VolumeMesh](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1VolumeMesh.md) &

### Function operator=

![][public]

```cpp theme={null}
VolumeMesh& sysc::VolumeMesh::operator=(VolumeMesh &&)=default
```

Provide a move-assign operator.

**Parameters**:

* [VolumeMesh](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1VolumeMesh.md) &&

**Return type**: [VolumeMesh](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1VolumeMesh.md) &

### Function getNodeData

![][public]
![][const]

```cpp theme={null}
const NodeData& sysc::VolumeMesh::getNodeData() const noexcept
```

Get node data.

**Return type**: const [NodeData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1NodeData.md) &

### Function getFaceData

![][public]
![][const]

```cpp theme={null}
const FaceData& sysc::VolumeMesh::getFaceData() const noexcept
```

Get face data.

**Return type**: const [FaceData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1FaceData.md) &

### Function getCellData

![][public]
![][const]

```cpp theme={null}
const CellData& sysc::VolumeMesh::getCellData() const noexcept
```

Get cell data.

**Return type**: const [CellData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1CellData.md) &

### Function checkValidity

![][public]
![][const]

```cpp theme={null}
ValidityStatus sysc::VolumeMesh::checkValidity() const
```

Provide a method to perform simple mesh validity checks.

**Return type**: [ValidityStatus](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1ValidityStatus.md)

### Function VolumeMesh

![][public]

```cpp theme={null}
sysc::VolumeMesh::VolumeMesh(NodeData nodeData, ElementTypeData faceTypeData, ElementNodeCountData faceNodeCountData, ElementNodeConnectivityData faceNodeConnectivityData, FaceCellConnectivityData faceCellConnectivityData, CellIdData cellIdData, ElementTypeData cellTypeData, ElementNodeConnectivityData cellNodeConnectivityData)
```

For internal use only.

**Parameters**:

* [NodeData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1NodeData.md) **nodeData**
* [ElementTypeData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1ElementTypeData.md) **faceTypeData**
* [ElementNodeCountData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1ElementNodeCountData.md) **faceNodeCountData**
* [ElementNodeConnectivityData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1ElementNodeConnectivityData.md) **faceNodeConnectivityData**
* [FaceCellConnectivityData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1FaceCellConnectivityData.md) **faceCellConnectivityData**
* [CellIdData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1CellIdData.md) **cellIdData**
* [ElementTypeData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1ElementTypeData.md) **cellTypeData**
* [ElementNodeConnectivityData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1ElementNodeConnectivityData.md) **cellNodeConnectivityData**

**Return type**:

### Function getNumNodes

![][public]
![][const]

```cpp theme={null}
std::size_t sysc::VolumeMesh::getNumNodes() const noexcept
```

Provide a method to get the number of nodes for this mesh.

**Return type**: std::size\_t

### Function getNumCells

![][public]
![][const]

```cpp theme={null}
std::size_t sysc::VolumeMesh::getNumCells() const noexcept
```

Get the number of cells.

**Return type**: std::size\_t

### Function getNodeIds

![][public]
![][const]

```cpp theme={null}
OutputIntegerData sysc::VolumeMesh::getNodeIds() const noexcept
```

Provide a method to access node ids array.

**Return type**: [OutputIntegerData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1OutputIntegerData.md)

### Function getNodeCoords

![][public]
![][const]

```cpp theme={null}
OutputVectorData sysc::VolumeMesh::getNodeCoords() const noexcept
```

Provide a method to access node coordinates array.

**Return type**: [OutputVectorData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1OutputVectorData.md)

### Function getFaceTypes

![][public]
![][const]

```cpp theme={null}
ElementTypeData sysc::VolumeMesh::getFaceTypes() const noexcept
```

Get face types.

**Return type**: [ElementTypeData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1ElementTypeData.md)

### Function getFaceNodeCounts

![][public]
![][const]

```cpp theme={null}
OutputIntegerData sysc::VolumeMesh::getFaceNodeCounts() const noexcept
```

Provide a method to access face node counts array.

**Return type**: [OutputIntegerData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1OutputIntegerData.md)

### Function getFaceNodeIds

![][public]
![][const]

```cpp theme={null}
OutputIntegerData sysc::VolumeMesh::getFaceNodeIds() const noexcept
```

Provide a method to access face node ids array.

**Return type**: [OutputIntegerData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1OutputIntegerData.md)

### Function getCell0Ids

![][public]
![][const]

```cpp theme={null}
OutputIntegerData sysc::VolumeMesh::getCell0Ids() const noexcept
```

Provide a method to access cell 0 ids array.

**Return type**: [OutputIntegerData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1OutputIntegerData.md)

### Function getCell1Ids

![][public]
![][const]

```cpp theme={null}
OutputIntegerData sysc::VolumeMesh::getCell1Ids() const noexcept
```

Provide a method to access cell 1 ids array.

**Return type**: [OutputIntegerData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1OutputIntegerData.md)

### Function getCellIds

![][public]
![][const]

```cpp theme={null}
CellIdData sysc::VolumeMesh::getCellIds() const noexcept
```

Provide a method to access cell ids array.

**Return type**: [CellIdData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1CellIdData.md)

### Function getCellTypes

![][public]
![][const]

```cpp theme={null}
ElementTypeData sysc::VolumeMesh::getCellTypes() const noexcept
```

Provide a method to access cell types data.

**Return type**: [ElementTypeData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1ElementTypeData.md)

### Function getCellNodeConnectivity

![][public]
![][const]

```cpp theme={null}
ElementNodeConnectivityData sysc::VolumeMesh::getCellNodeConnectivity() const noexcept
```

Access cell-to-node connectivity data.

**Return type**: [ElementNodeConnectivityData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1ElementNodeConnectivityData.md)

### Function VolumeMesh

![][public]

```cpp theme={null}
sysc::VolumeMesh::VolumeMesh(NodeData nodeData, ElementTypeData cellTypes, ElementNodeConnectivityData cellNodeIds)
```

Provide a constructor for element-based volume mesh.

**Parameters**:

* [NodeData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1NodeData.md) **nodeData**
* [ElementTypeData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1ElementTypeData.md) **cellTypes**
* [ElementNodeConnectivityData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1ElementNodeConnectivityData.md) **cellNodeIds**

**Return type**:

### Function VolumeMesh

![][public]

```cpp theme={null}
sysc::VolumeMesh::VolumeMesh(NodeData nodeData, ElementNodeCountData faceNodeCounts, ElementNodeConnectivityData faceNodeIds, FaceCellConnectivityData faceToCellConnectivity, CellIdData cellIds)
```

Provide a constructor for face-based volume mesh.

**Parameters**:

* [NodeData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1NodeData.md) **nodeData**
* [ElementNodeCountData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1ElementNodeCountData.md) **faceNodeCounts**
* [ElementNodeConnectivityData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1ElementNodeConnectivityData.md) **faceNodeIds**
* [FaceCellConnectivityData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1FaceCellConnectivityData.md) **faceToCellConnectivity**
* [CellIdData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1CellIdData.md) **cellIds**

**Return type**:

### Function checkMeshValidity

![][public]
![][const]

```cpp theme={null}
MeshValidityStatus sysc::VolumeMesh::checkMeshValidity() const
```

This function is deprecated. Use [checkValidity()](#classsysc_1_1VolumeMesh_1a3bee2a4c68f47e4887323d31ce691b02) instead.

**Return type**: [MeshValidityStatus](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1MeshValidityStatus.md)

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[C++]: https://img.shields.io/badge/language-C%2B%2B-blue "C++"

[private]: https://img.shields.io/badge/-private-red "private"

[const]: https://img.shields.io/badge/-const-lightblue "const"
