> ## 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.

# DVS::IClient Class Reference

API for solvers to use to send data to EnSight servers.

`#include <dvs_client_interface.h>`

## Public Member Functions

| Type | Name |
| - | - |
| | **IClient** ()=default default |
|  virtual | **\~IClient** ()=default default |
| | **IClient** ([IClient](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_client.md) &&)=default default |
| [IClient](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_client.md) & | **operator=** ([IClient](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_client.md) &&)=default default |
| | **IClient** (const [IClient](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_client.md) &)=default support copying |
| [IClient](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_client.md) & | **operator=** (const [IClient](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_client.md) &)=default default |
| virtual void | [set\_logger](#a024475b03496bc310e211632d153517d) ([ILogger](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_logger.md) \*logger)=0 Set the logger interface to use. |
| virtual const char \* | [get\_version](#aa5d98105d78c61e4e0c4043e28174fe1) ()=0 Get the version of the client API. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [begin\_init](#aff782ecd341fddd87a22a15107efeb3b) (const char \*dataset\_name, uint32\_t current\_rank, uint32\_t total\_ranks, uint32\_t num\_chunks)=0 Begins initialization for this rank. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [set\_unit\_system](#a284f922fec402e03365c7873502d1fde) (const char \*system)=0 Set the unit system we are using for this session (optional) |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [add\_metadata](#ab4144e59bfdcf9c095c6510c4298d160) (const char \*const keys\[], const char \*const vals\[], uint32\_t num\_metadata\_pairs)=0 Add metadata for the current dataset. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [add\_part\_info](#a5e9ee6af237e76a6e270d99ec8cd4388) (const [dvs\_part\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__part__info.md) \*part\_info, uint32\_t num\_parts)=0 Add part information for session. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [add\_var\_info](#a82f841d7f6f33071bf8c709623ca215d) (const [dvs\_var\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__var__info.md) \*var\_info, uint32\_t num\_vars)=0 Add variable information for session. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [add\_plot\_info](#a1bdb7ca9cf25c63e533f47fe26132af6) (const [dvs\_plot\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__plot__info.md) \*plot\_info, uint32\_t num\_plots)=0 Add plot information for session. |
| virtual uint32\_t | [get\_num\_parts](#af609f80df51a124a137c6476b7d3c958) () const =0 Get the number of [dvs\_part\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__part__info.md) objects this client has stored. |
| virtual uint32\_t | [get\_num\_vars](#a85adbf75ade9d0ffc6d258c34dae1eb3) () const =0 Get the number of [dvs\_var\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__var__info.md) objects this client has stored. |
| virtual uint32\_t | [get\_num\_plots](#a80325aaa83f2d2f27f1aa8e5f167c4c6) () const =0 Get the number of [dvs\_plot\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__plot__info.md) objects this client has stored. |
| virtual const [dvs\_part\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__part__info.md) \* | [get\_part\_info](#a9a1e02d1e1764788a58db0f0ccce4cd4) (uint32\_t index) const =0 Get the [dvs\_part\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__part__info.md) object for a specific index. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [get\_part\_id](#a4e3e6fbf66582927a17b54c9fba3464c) (const std::string \&name, uint32\_t \&id) const =0 Get the ID being used by the client for the named part. |
| virtual const [dvs\_var\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__var__info.md) \* | [get\_var\_info](#afb50715fd6d0ed4aa2df49b8cd9d93bb) (uint32\_t index) const =0 Get the [dvs\_var\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__var__info.md) object for a specific index. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [get\_var\_id](#ac4a86f03c9eb353cb1d92e326945cb9c) (const std::string \&name, uint32\_t \&id) const =0 Get the ID being used by the client for the named var. |
| virtual const [dvs\_plot\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__plot__info.md) \* | [get\_plot\_info](#a7753d7dfb238856722825403a5cb6d32) (uint32\_t index) const =0 Get the [dvs\_plot\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__plot__info.md) object for a specific index. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [get\_plot\_id](#a5dc7f1a7c19c068b04a384c1891e435f) (const std::string \&name, uint32\_t \&id) const =0 Get the ID being used by the client for the named plot. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [end\_init](#aaf1641a1afbf8bb6257940be28dd94b2) ()=0 Finish initialization for this rank. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [begin\_update](#abd1cbbd2007346ad616dc74eab9d0553) (uint32\_t update\_num, uint32\_t rank, uint32\_t chunk, float time)=0 Method to begin an update. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_copy\_previous\_part](#a3de23c0dcfc5c614f3047ff6284167d3) (uint32\_t part\_id, const char \*options)=0 Copy data from the previous timestep before applying other data. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_part\_rigid\_body\_motion](#a119a2ae01cb95e70b82cb3d4aa9550f4) (uint32\_t part\_id, const std::vector\< float > \&quaternion, const std::vector\< float > \&displacement, const std::vector\< float > \&cg\_offset)=0 Update the rigid body motion for a part. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [convert\_rotation\_to\_quaternion](#a70720b911b5f26697cdbe12b518e485c) (std::array\< float, 3 > axis\_start, std::array\< float, 3 > axis\_end, float relative\_rotation\_angle, std::array\< float, 4 > \&quaternion)=0 Utility API to convert a rigid body rotation described by the rotation axis and the angle of rotation to its quaternion representation. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_nodes](#a87ab36c2f16d093c0beaba60da2cd661) (uint32\_t part\_id, const float \*x, const float \*y, const float \*z, uint32\_t num\_values)=0 Update nodes for a specific part. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_nodes\_structured](#a1588c437020e0ba5702ec48460a792a9) (uint32\_t part\_id, const uint32\_t global\_ijk\_max\[3], const uint32\_t local\_ijk\_min\[3], const uint32\_t local\_ijk\_max\[3], const float origin\[3], const float dir\_i\[3], const float dir\_j\[3], const float dir\_k\[3], const float \*i\_vals, const float \*j\_vals, const float \*k\_vals)=0 Update the nodes for a parallelepiped structured part. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_nodes\_structured](#aee6c79370e423a70f4b73c08794cdf9b) (uint32\_t part\_id, const uint32\_t global\_ijk\_max\[3], const uint32\_t local\_ijk\_min\[3], const uint32\_t local\_ijk\_max\[3], const float \*x\_vals, const float \*y\_vals, const float \*z\_vals)=0 Update the nodes for a curvilinear structured part. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_elements](#a41aa2ad12fbfa456f3ec8e48530ea6f6) (uint32\_t part\_id, [dvs\_element\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af1c8824b29a0ab747460216716cc2895) type, const uint32\_t \*indices, uint32\_t num\_indices)=0 Update elements for a specific part and element type. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_elements\_polygon](#ac6b3990562f507eda4abedf53e021647) (uint32\_t part\_id, [dvs\_element\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af1c8824b29a0ab747460216716cc2895) type, const uint32\_t \*nodes\_per\_polygon, uint32\_t nodes\_per\_polygon\_size, const uint32\_t \*indices, uint32\_t indices\_size)=0 Update N-SIDED elements. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_elements\_polyhedral](#a7a9ccf04ed8502d23913d8eef21607ec) (uint32\_t part\_id, [dvs\_element\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af1c8824b29a0ab747460216716cc2895) type, const uint32\_t \*faces\_per\_element, uint32\_t faces\_per\_element\_size, const uint32\_t \*nodes\_per\_face, uint32\_t nodes\_per\_face\_size, const uint32\_t \*indices, uint32\_t indices\_size)=0 Update N-FACED Elements. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_var\_case](#a8f2e7174f9e89ef5285043dd9357f9b0) ([dvs\_var\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af6aa6351345da4151507012681b3aff0) var\_type, uint32\_t var\_id, const float \*values, uint32\_t num\_values)=0 Update case variable. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_var\_part](#ab18cc3827eda737ea73c31aa7fe6ef68) ([dvs\_var\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af6aa6351345da4151507012681b3aff0) var\_type, uint32\_t var\_id, uint32\_t part\_id, const float \*values, uint32\_t num\_values)=0 Update part vector variable. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_var\_element](#aec8ed14b290237049976f68cb81b200f) ([dvs\_element\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af1c8824b29a0ab747460216716cc2895) elem\_type, [dvs\_var\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af6aa6351345da4151507012681b3aff0) var\_type, uint32\_t var\_id, uint32\_t part\_id, const float \*values, uint32\_t num\_values)=0 Update elemental scalar variable values. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_var\_element](#a722ee94dc27c54a0f563229d4677ac3f) ([dvs\_element\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af1c8824b29a0ab747460216716cc2895) elem\_type, [dvs\_var\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af6aa6351345da4151507012681b3aff0) var\_type, uint32\_t var\_id, uint32\_t part\_id, const int64\_t \*values, uint32\_t num\_values)=0 Update elemental scalar 64bit variable values \*. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_var\_node](#ae67a2884dd8f68f4757d8d7fac3828d3) ([dvs\_var\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af6aa6351345da4151507012681b3aff0) var\_type, uint32\_t var\_id, uint32\_t part\_id, const float \*values, uint32\_t num\_values)=0 Update nodal variable values. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_var\_node](#ae1eb49e0bf598055279b8ebbbc1815e6) ([dvs\_var\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af6aa6351345da4151507012681b3aff0) var\_type, uint32\_t var\_id, uint32\_t part\_id, const int64\_t \*values, uint32\_t num\_values)=0 Update nodal variable values Extend support to handle 64 bit values |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_var\_field](#a3834c25cf5ed35a17f08ecefa4b73417) ([dvs\_var\_location](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af4f0eba512eff253854b44d7ce078491) location, [dvs\_element\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af1c8824b29a0ab747460216716cc2895) elem\_type, [dvs\_var\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af6aa6351345da4151507012681b3aff0) var\_type, uint32\_t var\_id, uint32\_t part\_id, const float \*values, uint32\_t num\_values)=0 Update var field values (nodal or elemental) |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_var\_field](#a89c8b5cf33a733071bcc6b4bc35615b2) ([dvs\_var\_location](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af4f0eba512eff253854b44d7ce078491) location, [dvs\_element\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af1c8824b29a0ab747460216716cc2895) elem\_type, [dvs\_var\_type](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af6aa6351345da4151507012681b3aff0) var\_type, uint32\_t var\_id, uint32\_t part\_id, const int64\_t \*values, uint32\_t num\_values)=0 Update var field values (nodal or elemental) Extend support to handle 64 bit integer variable values. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [update\_plot](#afcf7811f22d58bd328bed415116a4c41) (uint32\_t plot\_id, const float \*x\_values, const float \*y\_values, uint32\_t num\_values)=0 Update plot data for plot. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [end\_update](#a6396cc4ae967ad5f0da8e234429a97cd) ()=0 Call to end the update for this timestep/rank/chunk. |
| virtual [dvs\_ret](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__error__codes_8h.md#a1d7466ae72e89fe36cbf2408b4f7d9c1) | [delete\_item](#a5e8f192f5c683a8265dd94020506a0aa) (uint32\_t update\_num, uint32\_t rank, const char \*filter)=0 Delete an item. |

## Detailed Description

API for solvers to use to send data to EnSight servers.

This interface class wraps the client type and other functionality such as data deduplication so the user doesn't need to worry about it. We can add functionality to this without needing solver code to be modified. This will also hide Ensight sessions potentially being taken down and brought up dynamically.

Definition at line [80](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dvs__client__interface_8h_source) of file [dvs\_client\_interface.h](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dvs__client__interface_8h_source).

## Member Function Documentation

### add\_metadata()

```cpp theme={null}
virtual dvs_ret DVS::IClient::add_metadata(
    const char *const keys [],
    const char *const vals [],
    uint32_t num_metadata_pairs
)
```

`pure virtual`

Add metadata for the current dataset.

Errors:

* DVS\_NONE: Success
* DVS\_PARAM\_NULL: Method called with NULL params or num\_metadata\_pairs == 0
* DVS\_CLIENT\_INVALID\_TRANSPORT: Internal error, should not happen
* DVS\_TRANSPORT\_NULL\_INVALID\_SERVER: Internal error, should not happen
* DVS\_VERSION\_MISMATCH: Client version out of date with server version, update server and client to match
* DVS\_VERSION\_UNKNOWN: Unable to determine server version, update the server to match the client
* DVS\_TRANSPORT\_SERVICE\_FAILURE: Normally caused by server call retry time out or invalid secret key

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | keys | string array of UTF-8 Compatible string keys, each string should be null terminated |
| \[in] | vals | string array of UTF-8 Compatible string values, each string should be null terminated |
| \[in] | num\_metadata\_pairs | number of key/value pairs in the arrays |

**Returns**

dvs\_ret DVS\_NONE on success, otherwise see method description

### add\_part\_info()

```cpp theme={null}
virtual dvs_ret DVS::IClient::add_part_info(
    const dvs_part_info * part_info,
    uint32_t num_parts
)
```

`pure virtual`

Add part information for session.

NOTE: These cannot be changed once [end\_init()](#aaf1641a1afbf8bb6257940be28dd94b2) is called.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | part\_info | array of global parts across entire simulaton |
| | num\_parts | number of part info objects in part\_info |

**Returns**

dvs\_ret TODO

### add\_plot\_info()

```cpp theme={null}
virtual dvs_ret DVS::IClient::add_plot_info(
    const dvs_plot_info * plot_info,
    uint32_t num_plots
)
```

`pure virtual`

Add plot information for session.

NOTE: These cannot be changed once [end\_init()](#aaf1641a1afbf8bb6257940be28dd94b2) is called.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | plot\_info | array of global plot information across entire simulation |
| | num\_plots | number of plot\_info objects in plot\_info |

**Returns**

dvs\_ret TODO

### add\_var\_info()

```cpp theme={null}
virtual dvs_ret DVS::IClient::add_var_info(
    const dvs_var_info * var_info,
    uint32_t num_vars
)
```

`pure virtual`

Add variable information for session.

NOTE: These cannot be changed once [end\_init()](#aaf1641a1afbf8bb6257940be28dd94b2) is called.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | var\_info | array of global variable information across entire simulation |
| | num\_vars | number of var info objects in var\_info |

**Returns**

dvs\_ret TODO

### begin\_init()

```cpp theme={null}
virtual dvs_ret DVS::IClient::begin_init(
    const char * dataset_name,
    uint32_t current_rank,
    uint32_t total_ranks,
    uint32_t num_chunks
)
```

`pure virtual`

Begins initialization for this rank.

**Parameters**

| Name | Description |
| - | - |
| dataset\_name | name for dataset |
| current\_rank | the rank we are sending init info for (zero based) |
| total\_ranks | the total number of ranks being used across solver nodes |
| num\_chunks | the number of chunks being used for this rank (usually 1) |

**Returns**

dvs\_ret TODO

### begin\_update()

```cpp theme={null}
virtual dvs_ret DVS::IClient::begin_update(
    uint32_t update_num,
    uint32_t rank,
    uint32_t chunk,
    float time
)
```

`pure virtual`

Method to begin an update.

**Parameters**

| Name | Description |
| - | - |
| update\_num | update number of this update, must be monotonically increasing |
| rank | the rank we are sending an update for (zero based) |
| chunk | the chunk number this update is for (zero based) |
| time | time in seconds this update is for |

**Returns**

dvs\_ret TODO

### convert\_rotation\_to\_quaternion()

```cpp theme={null}
virtual dvs_ret DVS::IClient::convert_rotation_to_quaternion(
    std::array< float, 3 > axis_start,
    std::array< float, 3 > axis_end,
    float relative_rotation_angle,
    std::array< float, 4 > & quaternion
)
```

`pure virtual`

Utility API to convert a rigid body rotation described by the rotation axis and the angle of rotation to its quaternion representation.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | axis\_start | an array of floats describing the starting point of the line representing the rotation axis |
| \[in] | axis\_end | an array of floats describing the end point of the line representing the rotation axis |
| \[in] | relative\_rotation\_angle | the angle to rotate around the give axis |
| \[out] | quaternion | an array of 4 floats to be filled with the quaternion representation of the rotation |

**Returns**

DVS\_NONE if the convention was successful

### delete\_item()

```cpp theme={null}
virtual dvs_ret DVS::IClient::delete_item(
    uint32_t update_num,
    uint32_t rank,
    const char * filter
)
```

`pure virtual`

Delete an item.

Currently this will only allow for timesteps to be deleted. In the future it can be expanded to all objects via the filter mechanism (see [Query Stanzas](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/group__group__dvs__filtering.md#dvs_query_stanzas)). Currently this supports the operands of eq, gt, gte, lt, lte. Example: To delete all timesteps >= time 1.1 the filter would be "/timestep.time/gte/1.1//" .

It also currently only supports one statement so /timestep.time/gt/1.1//and/timestep.time/lt/2.1// is not valid as of version 1.1.0.

Note: The update number should be monotonically increasing with the begin\_update calls

**Parameters**

| Name | Description |
| - | - |
| update\_num | update number of this update, must be monotonically increasing |
| rank | rank making this call |
| filter | filter for the item(s) to delete see detailed description for more info |

**Returns**

dvs\_ret TODO

### end\_init()

```cpp theme={null}
virtual dvs_ret DVS::IClient::end_init()
```

`pure virtual`

Finish initialization for this rank.

This must be called to let server know initialization for this rank is complete

**Returns**

dvs\_ret TODO

### end\_update()

```cpp theme={null}
virtual dvs_ret DVS::IClient::end_update()
```

`pure virtual`

Call to end the update for this timestep/rank/chunk.

**Returns**

dvs\_ret TODO

### get\_num\_parts()

```cpp theme={null}
virtual uint32_t DVS::IClient::get_num_parts() const
```

`pure virtual`

Get the number of [dvs\_part\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__part__info.md) objects this client has stored.

Note: This gets the number of part info objects this client has. It does not query the server for the information.

**Returns**

uint32\_t number of [dvs\_part\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__part__info.md) objects

### get\_num\_plots()

```cpp theme={null}
virtual uint32_t DVS::IClient::get_num_plots() const
```

`pure virtual`

Get the number of [dvs\_plot\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__plot__info.md) objects this client has stored.

Note: This gets the number of plot info objects this client has. It does not query the server for the information.

**Returns**

uint32\_t number of [dvs\_plot\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__plot__info.md) objects

### get\_num\_vars()

```cpp theme={null}
virtual uint32_t DVS::IClient::get_num_vars() const
```

`pure virtual`

Get the number of [dvs\_var\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__var__info.md) objects this client has stored.

Note: This gets the number of part info objects this client has. It does not query the server for the information.

**Returns**

uint32\_t number of [dvs\_var\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__var__info.md) objects

### get\_part\_id()

```cpp theme={null}
virtual dvs_ret DVS::IClient::get_part_id(
    const std::string & name,
    uint32_t & id
) const
```

`pure virtual`

Get the ID being used by the client for the named part.

Errors: DVS\_NONE: Success DVS\_INVALID\_NAME: No object with name found DVS\_ID\_NO\_VALID\_SESSION: No session found matching session\_id DVS\_ID\_INVALID\_TYPE: Session id is of wrong type (possibly server) DVS\_PARAM\_NULL: Null param passed in

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | name | the name of the part to search for |
| \[out] | id | UINT32\_MAX on failure, otherwise the id of the part for this client |

**Returns**

dvs\_ret DVS\_NONE on success, else see method description

### get\_part\_info()

```cpp theme={null}
virtual const dvs_part_info * DVS::IClient::get_part_info(uint32_t index) const
```

`pure virtual`

Get the [dvs\_part\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__part__info.md) object for a specific index.

Note: This only gets the [dvs\_part\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__part__info.md) objects from the current client it does not query the server for the information

**Parameters**

| Name | Description |
| - | - |
| index | index of the [dvs\_part\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__part__info.md) object to retrieve |

**Returns**

const dvs\_part\_info\* found object, nullptr if not found

### get\_plot\_id()

```cpp theme={null}
virtual dvs_ret DVS::IClient::get_plot_id(
    const std::string & name,
    uint32_t & id
) const
```

`pure virtual`

Get the ID being used by the client for the named plot.

Errors: DVS\_NONE: Success DVS\_INVALID\_NAME: No object with name found DVS\_ID\_NO\_VALID\_SESSION: No session found matching session\_id DVS\_ID\_INVALID\_TYPE: Session id is of wrong type (possibly server) DVS\_PARAM\_NULL: Null param passed in

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | name | the name of the plot to search for |
| \[out] | id | UINT32\_MAX on failure, otherwise the id of the plot for this client |

**Returns**

dvs\_ret DVS\_NONE on success, else see method description

### get\_plot\_info()

```cpp theme={null}
virtual const dvs_plot_info * DVS::IClient::get_plot_info(uint32_t index) const
```

`pure virtual`

Get the [dvs\_plot\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__plot__info.md) object for a specific index.

Note: This only gets the [dvs\_plot\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__plot__info.md) objects from the current client it does not query the server for the information

**Parameters**

| Name | Description |
| - | - |
| index | index of the [dvs\_plot\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__plot__info.md) object to retrieve |

**Returns**

const dvs\_plot\_info\* found object, nullptr if not found

### get\_var\_id()

```cpp theme={null}
virtual dvs_ret DVS::IClient::get_var_id(
    const std::string & name,
    uint32_t & id
) const
```

`pure virtual`

Get the ID being used by the client for the named var.

Errors: DVS\_NONE: Success DVS\_INVALID\_NAME: No object with name found DVS\_ID\_NO\_VALID\_SESSION: No session found matching session\_id DVS\_ID\_INVALID\_TYPE: Session id is of wrong type (possibly server) DVS\_PARAM\_NULL: Null param passed in

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | name | the name of the var to search for |
| \[out] | id | UINT32\_MAX on failure, otherwise the id of the var for this client |

**Returns**

dvs\_ret DVS\_NONE on success, else see method description

### get\_var\_info()

```cpp theme={null}
virtual const dvs_var_info * DVS::IClient::get_var_info(uint32_t index) const
```

`pure virtual`

Get the [dvs\_var\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__var__info.md) object for a specific index.

Note: This only gets the [dvs\_var\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__var__info.md) objects from the current client it does not query the server for the information

**Parameters**

| Name | Description |
| - | - |
| index | index of the [dvs\_var\_info](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/structdvs__var__info.md) object to retrieve |

**Returns**

const dvs\_var\_info\* found object, nullptr if not found

### get\_version()

```cpp theme={null}
virtual const char * DVS::IClient::get_version()
```

`pure virtual`

Get the version of the client API.

NOTE: The version is of the format X.Y.Z where X=MAJOR, Y = MINOR, and Z = PATCH. Anything other than a change in Z or PATCH is incompatible with another version and needs to be upgraded to the latest library

**Returns**

const char\* the semantic version of the API

### set\_logger()

```cpp theme={null}
virtual void DVS::IClient::set_logger(ILogger * logger)
```

`pure virtual`

Set the logger interface to use.

Set a logger interface for the client to use. This object will have [DVS::ILogger::release()](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_logger.md#a753d496b0ca488a74e6209f330b13458) invoked on it. If release() is not implemented the memory should be destroyed by the caller after the client is destroyed.

**Parameters**

| Name | Description |
| - | - |
| logger | logger to use, will be released if [DVS::ILogger::release()](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_logger.md#a753d496b0ca488a74e6209f330b13458) is implemented |

### set\_unit\_system()

```cpp theme={null}
virtual dvs_ret DVS::IClient::set_unit_system(const char * system)
```

`pure virtual`

Set the unit system we are using for this session (optional)

NOTE: This cannot be changed once [end\_init()](#aaf1641a1afbf8bb6257940be28dd94b2) is called.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | system | unit system to set, see: [https://nexusdemo.ensight.com/docs/python/html/ENS\_UNITSSchema.html](https://nexusdemo.ensight.com/docs/python/html/ENS_UNITSSchema.html) |

**Returns**

dvs\_ret TODO

### update\_copy\_previous\_part()

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_copy_previous_part(
    uint32_t part_id,
    const char * options
)
```

`pure virtual`

Copy data from the previous timestep before applying other data.

Currently we only support the options of empty string, mesh or mesh.vars empty string and mesh.vars will copy the mesh, connectivity, and nodal/elemental variables. mesh only copies the mesh and connectivity. Note: Currently plots and case/part constant variables will not be copied via this option and must always be sent.

**Parameters**

| Name | Description |
| - | - |
| part\_id | the id of the part we are copying data for, UINT32\_MAX to select all parts |
| options | what to copy, see method description |

**Returns**

dvs\_ret TODO

### update\_elements()

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_elements(
    uint32_t part_id,
    dvs_element_type type,
    const uint32_t * indices,
    uint32_t num_indices
)
```

`pure virtual`

Update elements for a specific part and element type.

This will update the elements for a part. The number of indices needed will vary depending on the type and the num\_elements. I.E. if updating triangles with 3 elements the indices array should be of size 9 (3 triangles with 3 indices)

**Parameters**

| Name | Description |
| - | - |
| part\_id | unique id of part to update elements for (must match parts added with dvs\_add\_part\_info) |
| type | element type of elements to update (points, triangles, quads, etc.) |
| indices | node indices for each element, for ordering info per element type see EnSight's User Manual, section 9.2.3 Supported EnSight Gold Elements |
| num\_indices | the size of the indices array |

**Returns**

ret\_val TODO

### update\_elements\_polygon()

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_elements_polygon(
    uint32_t part_id,
    dvs_element_type type,
    const uint32_t * nodes_per_polygon,
    uint32_t nodes_per_polygon_size,
    const uint32_t * indices,
    uint32_t indices_size
)
```

`pure virtual`

Update N-SIDED elements.

This method will send over a list of arbitrarily sized polygons. The nodes\_per\_polygon param is an array containing the size of each polygon. I.E. if sending a quadrangle, and a 25 sided element the nodes\_per\_polygon array might look like \[4, 25]. The size of the indices array would be 4+25=29 in this example where the first 4 items in the indices array would correspond to the first item in the nodes\_per\_polygon array, the next 25 items in the indices array would correspond to the second item in the nodes\_per\_polygon array

**Parameters**

| Name | Description |
| - | - |
| part\_id | unique id of part to update elements for (must match parts added with dvs\_add\_part\_info) |
| type | element type of elements to update (N\_SIDED\_POLYGON or N\_SIDED\_POLYGON\_GHOST) |
| nodes\_per\_polygon | Array containing number of nodes in each element/polygon |
| nodes\_per\_polygon\_size | size of nodes\_per\_polygon array |
| indices | Array of node indices for the polygons described in nodes\_per\_polygon |
| indices\_size | Size of indices array |

**Returns**

dvs\_ret TODO

### update\_elements\_polyhedral()

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_elements_polyhedral(
    uint32_t part_id,
    dvs_element_type type,
    const uint32_t * faces_per_element,
    uint32_t faces_per_element_size,
    const uint32_t * nodes_per_face,
    uint32_t nodes_per_face_size,
    const uint32_t * indices,
    uint32_t indices_size
)
```

`pure virtual`

Update N-FACED Elements.

**Parameters**

| Name | Description |
| - | - |
| part\_id | unique id of part to update elements for (must match parts added with dvs\_add\_part\_info) |
| type | element type of elements to update (CONVEX\_POLYHEDRON or CONVEX\_POLYHEDRON\_GHOST) |
| faces\_per\_element | Array of how many faces are in each element |
| faces\_per\_element\_size | size of faces\_per\_element array |
| nodes\_per\_face | Array of how many nodes each face contains |
| nodes\_per\_face\_size | size of nodes\_per\_face array |
| indices | Node indices for elements |
| indices\_size | size of node indices |

**Returns**

dvs\_ret TODO

### update\_nodes()

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_nodes(
    uint32_t part_id,
    const float * x,
    const float * y,
    const float * z,
    uint32_t num_values
)
```

`pure virtual`

Update nodes for a specific part.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| | part\_id | the id of part we are updating nodes for |
| \[in] | x | array of x components for nodes |
| \[in] | y | array of y components for nodes |
| \[in] | z | array of z components for nodes |
| | num\_values | number of values in individual x/y/z arrays (max nodes in part 2^31) |

**Returns**

dvs\_ret TODO

### update\_nodes\_structured() \[1/2]

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_nodes_structured(
    uint32_t part_id,
    const uint32_t global_ijk_max [3],
    const uint32_t local_ijk_min [3],
    const uint32_t local_ijk_max [3],
    const float * x_vals,
    const float * y_vals,
    const float * z_vals
)
```

`pure virtual`

Update the nodes for a curvilinear structured part.

A curvilinear structured part is represented by the global IJK grid across ranks, the local sub-block's IJK rank, and the actual XYZ values for each IJK grid point in the local grid.

Local IJK Dimensions: The min/max represent a local sub-block from the overall global grid. This could be the entire range if not splitting the grid into multiple ranks or a specific slice. For example you could have a 2ix3jx4k grid where it was split across the I dimension. One rank would specify min/max IJK as min:\[0,0,0], max:\[0,2,3], the other rank would specify min/max IJK as min:\[1,0,0], max:\[1,2,3]. If sending the data all as one rank it would be the full range of: min:\[0,0,0], max:\[1,2,3]

IJK Vals: These specify the actual XYZ location for each IJK value in the grid. The order of these should be by the fastest changing dimension being I, the next being J, and the next being K. I.E. for a 2x2x2 grid the x\_vals array would contain the X component for IJK values: \[i0 j0 k0]\[i1 j0 k0]\[i0 j1 k0]\[i1 j1 k0]\[i0 j0 k1]\[i1 j0 k1]\[i0 j1 k1]\[i1 j1 k1].

**Note:** iblanking information is sent via [update\_var\_node()](#ae67a2884dd8f68f4757d8d7fac3828d3) using [SCALAR](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af6aa6351345da4151507012681b3aff0a7efbb6cac96595e63e8fa171bde1eb68) as the var type and [DVS\_STRUCTURED\_IBLANKED\_NODES](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#aa405c87964a066405de5426a3089702b) as the variable id

**Note:** Ghost element information is sent [update\_var\_element()](#aec8ed14b290237049976f68cb81b200f) using [SCALAR](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af6aa6351345da4151507012681b3aff0a7efbb6cac96595e63e8fa171bde1eb68) as the var type and [DVS\_STRUCTURED\_GHOST\_ELEMENTS](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#a5f85a0e808c3bad9b9b616e62f5724c0) as the variable id

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | part\_id | the id of part we are updating nodes for |
| \[in] | global\_ijk\_max | The one based global ijk max of the mesh across all ranks |
| \[in] | local\_ijk\_min | the zero based local sub-block ijk min for this rank |
| \[in] | local\_ijk\_max | the zero based local sub-block ijk max for this rank |
| | x\_vals | The actual X component for each IJK value for the local sub block (size (iMax-iMin+1)\*(jMax-jMin+1)\*(kMax-kMin+1)) |
| | y\_vals | The actual Y component for each IJK value for the local sub block (size (iMax-iMin+1)\*(jMax-jMin+1)\*(kMax-kMin+1)) |
| | z\_vals | The actual Z component for each IJK value for the local sub block (size (iMax-iMin+1)\*(jMax-jMin+1)\*(kMax-kMin+1)) |

**Returns**

dvs\_ret TODO

### update\_nodes\_structured() \[2/2]

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_nodes_structured(
    uint32_t part_id,
    const uint32_t global_ijk_max [3],
    const uint32_t local_ijk_min [3],
    const uint32_t local_ijk_max [3],
    const float origin [3],
    const float dir_i [3],
    const float dir_j [3],
    const float dir_k [3],
    const float * i_vals,
    const float * j_vals,
    const float * k_vals
)
```

`pure virtual`

Update the nodes for a parallelepiped structured part.

A parallelepiped structured part is represented by the global IJK grid across ranks, the local sub-block's IJK range, the origin of the IJK sub-block, the normalized direction (unit) vectors for each IJK dimension, and the absolute distances for each IJK index from the origin of this sub-block.

Global IJK Max: for a 2x3x4 grid would be: \[2 3 4]

Local IJK Dimensions: The min/max represent a local sub-block from the overall global grid. This could be the entire range if not splitting the grid into multiple ranks or a specific slice. For example you could have a 2ix3jx4k grid where it was split across the I dimension. One rank would specify min/max IJK as min:\[0,0,0], max:\[0,2,3], the other rank would specify min/max IJK as min:\[1,0,0], max:\[1,2,3]. If sending the data all as one rank it would be the full range of: min:\[0,0,0], max:\[1,2,3]

Direction (Unit) Vectors: These represent the XYZ orientation of each IJK axis. I.E. if I==X J==Y K==Z the vectors would be dir\_i: \[1 0 0], dir\_j: \[0 1 0], dir\_k: \[0 0 1]

IJK Vals: These specify the absolute distance from the XYZ origin in each IJK direction(specified by the direction vectors). So if the distance was 1 between every I index, 2 between every J index, and 3 in between every K index the arrays would look like: i\_vals: \[0 1 2 3 4 5....] j\_vals: \[0 2 4 6 8 10....] k\_vals: \[0 3 6 9 12 15....]

**Note:** iblanking information is sent via [update\_var\_node()](#ae67a2884dd8f68f4757d8d7fac3828d3) using [SCALAR](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af6aa6351345da4151507012681b3aff0a7efbb6cac96595e63e8fa171bde1eb68) as the var type and [DVS\_STRUCTURED\_IBLANKED\_NODES](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#aa405c87964a066405de5426a3089702b) as the variable id

**Note:** Ghost element information is sent [update\_var\_element()](#aec8ed14b290237049976f68cb81b200f) using [SCALAR](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#af6aa6351345da4151507012681b3aff0a7efbb6cac96595e63e8fa171bde1eb68) as the var type and [DVS\_STRUCTURED\_GHOST\_ELEMENTS](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dynamic__visualization__store__enums_8h.md#a5f85a0e808c3bad9b9b616e62f5724c0) as the variable id

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | part\_id | the id of part we are updating nodes for |
| \[in] | global\_ijk\_max | The one based global ijk max of the mesh across all ranks |
| \[in] | local\_ijk\_min | the zero based local sub-block ijk min for this rank |
| \[in] | local\_ijk\_max | the zero based local sub-block ijk max for this rank |
| \[in] | origin | the XYZ origin of this local ijk block |
| \[in] | dir\_i | The normalized XYZ direction vector for the i dimension |
| \[in] | dir\_j | The normalized XYZ direction vector for the j dimension |
| \[in] | dir\_k | The normalized XYZ direction vector for the k dimension |
| \[in] | i\_vals | The absolute distance vector for each i index from the local sub block's origin of size iMax-iMin+1 |
| \[in] | j\_vals | The absolute distance vector for each j index from the local sub block's origin of size jMax-jMin+1 |
| \[in] | k\_vals | The absolute distance vector for each k index from the local sub block's origin of size kMax-kMin+1 |

**Returns**

dvs\_ret TODO

### update\_part\_rigid\_body\_motion()

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_part_rigid_body_motion(
    uint32_t part_id,
    const std::vector< float > & quaternion,
    const std::vector< float > & displacement,
    const std::vector< float > & cg_offset
)
```

`pure virtual`

Update the rigid body motion for a part.

**Parameters**

| Name | Description |
| - | - |
| part\_id | the part ID of the part to update |
| quaternion | a vector of float representing the quaternion describing the rotation. Empty if no rotation. |
| displacement | the displacement describing the rigid body motion translation. Empty if no translation. |
| cg\_offset | the eventual center of gravity offset to apply before the rotation and translations. Empty if no center of gravity offset. |

**Returns**

DVS\_NONE if the update was successful

### update\_plot()

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_plot(
    uint32_t plot_id,
    const float * x_values,
    const float * y_values,
    uint32_t num_values
)
```

`pure virtual`

Update plot data for plot.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| | plot\_id | ID of plot |
| \[in] | x\_values | Array of x axis values of plot |
| \[in] | y\_values | array of y axis values of plot |
| | num\_values | number of x/y value pairs being sent |

**Returns**

dvs\_ret TODO

### update\_var\_case()

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_var_case(
    dvs_var_type var_type,
    uint32_t var_id,
    const float * values,
    uint32_t num_values
)
```

`pure virtual`

Update case variable.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| | var\_type | type of variable we are updating |
| | var\_id | unique id of variable |
| \[in] | values | array of values for variable size based on type |
| | num\_values | size of values array |

**Returns**

dvs\_ret TODO

### update\_var\_element() \[1/2]

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_var_element(
    dvs_element_type elem_type,
    dvs_var_type var_type,
    uint32_t var_id,
    uint32_t part_id,
    const float * values,
    uint32_t num_values
)
```

`pure virtual`

Update elemental scalar variable values.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| | elem\_type | element type |
| | var\_type | type of var see ensight\_dynmaic\_data\_enums.h: dvs\_element\_type for more info |
| | var\_id | id of variable |
| | part\_id | id of part |
| \[in] | values | array of values to update, should be same size as number of elements sent |
| | num\_values | size of values array |

**Returns**

dvs\_ret TODO

### update\_var\_element() \[2/2]

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_var_element(
    dvs_element_type elem_type,
    dvs_var_type var_type,
    uint32_t var_id,
    uint32_t part_id,
    const int64_t * values,
    uint32_t num_values
)
```

`pure virtual`

Update elemental scalar 64bit variable values \*.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| | elem\_type | element type |
| | var\_type | type of var see ensight\_dynmaic\_data\_enums.h: dvs\_element\_type for more info |
| | var\_id | id of variable |
| | part\_id | id of part |
| \[in] | values | array of values to update, should be same size as number of elements sent |
| | num\_values | size of values array |

**Returns**

dvs\_ret TODO

### update\_var\_field() \[1/2]

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_var_field(
    dvs_var_location location,
    dvs_element_type elem_type,
    dvs_var_type var_type,
    uint32_t var_id,
    uint32_t part_id,
    const float * values,
    uint32_t num_values
)
```

`pure virtual`

Update var field values (nodal or elemental)

**Parameters**

| Direction | Name | Description |
| - | - | - |
| | location | Location of variable (node or element) |
| | elem\_type | Element type if location element, else undefined |
| | var\_type | Type of variable |
| | var\_id | ID of variable |
| | part\_id | ID of part variable is associated with |
| \[in] | values | array of values to update |
| | num\_values | size of values array |

**Returns**

dvs\_ret TODO

### update\_var\_field() \[2/2]

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_var_field(
    dvs_var_location location,
    dvs_element_type elem_type,
    dvs_var_type var_type,
    uint32_t var_id,
    uint32_t part_id,
    const int64_t * values,
    uint32_t num_values
)
```

`pure virtual`

Update var field values (nodal or elemental) Extend support to handle 64 bit integer variable values.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| | location | Location of variable (node or element) |
| | elem\_type | Element type if location element, else undefined |
| | var\_type | Type of variable |
| | var\_id | ID of variable |
| | part\_id | ID of part variable is associated with |
| \[in] | values | array of values to update |
| | num\_values | size of values array |

**Returns**

dvs\_ret TODO

### update\_var\_node() \[1/2]

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_var_node(
    dvs_var_type var_type,
    uint32_t var_id,
    uint32_t part_id,
    const float * values,
    uint32_t num_values
)
```

`pure virtual`

Update nodal variable values.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| | var\_type | type of var |
| | var\_id | id of variable |
| | part\_id | id of part |
| \[in] | values | array of values to update, should be same size as number of nodes sent with update\_nodes |
| | num\_values | size of values array |

**Returns**

dvs\_ret TODO

### update\_var\_node() \[2/2]

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_var_node(
    dvs_var_type var_type,
    uint32_t var_id,
    uint32_t part_id,
    const int64_t * values,
    uint32_t num_values
)
```

`pure virtual`

Update nodal variable values Extend support to handle 64 bit values \


**Parameters**

| Direction | Name | Description |
| - | - | - |
| | var\_type | type of var |
| | var\_id | id of variable |
| | part\_id | id of part |
| \[in] | values | array of values to update, should be same size as number of nodes sent with update\_nodes |
| | num\_values | size of values array |

**Returns**

dvs\_ret TODO

### update\_var\_part()

```cpp theme={null}
virtual dvs_ret DVS::IClient::update_var_part(
    dvs_var_type var_type,
    uint32_t var_id,
    uint32_t part_id,
    const float * values,
    uint32_t num_values
)
```

`pure virtual`

Update part vector variable.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| | var\_type | type of variable we are updating |
| | var\_id | id of variable |
| | part\_id | id of part |
| \[in] | values | array of values for variable size based on type |
| | num\_values | size of values array |

**Returns**

dvs\_ret TODO

The documentation for this class was generated from the following file:

* D:/ANSYSDev/Product-src/ensight/user\_defined\_src/readers/dvs/include/[dvs\_client\_interface.h](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/dvs__client__interface_8h_source)
