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

# ansys::CffConsumer Class Reference

Class that provides functions to write data within a CFF database. The database may be stored within a file or some other form of database but the functions provided in this class are common across all implementation and the data must be provided according to the rules defined in the CFF DataModels.

`#include "CffInterface/CffConsumer.hpp"`

Inheritance diagram for ansys::CffConsumer:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_consumer.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=0384fad9d68bbac3d776d9b00da2bed6)

## Public Member Functions

| Type | Name |
| - | - |
| | [CffConsumer](#a9ee6cf1a88b9cd20fb6b56ad1d62062a) (const std::string \&applicationName="Unknown") Constructor. |
| virtual | [\~CffConsumer](#a7a8b28a99eb494920a44b9326f1e2b7c) () Destructor. |
| virtual void | [log](#a840db1734db552b8798d005e6aff5410) (const std::vector\< std::pair\< std::string, std::string > >, [DataClass](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gab852cc24891eb831942fb8da764d8ddb)=[DataClass::CFF\_CASE](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ggab852cc24891eb831942fb8da764d8ddba6c8b8209348df38321689fb67cd4b331)) |
| virtual void | [setIOMode](#a2762ddae4740e0f4b9ba151a7ab13f7a) ([IOMode](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga5820566c2439fe2d74130fb1d323dd6c) ioMode) |
| virtual void | [setMPIComm](#a81c6a2a95c5e3d0701c01eb7ab62f641) (void \*mpiComm) |
| virtual void | [setCompression](#a638307acbea7d99082f60e12f8868c90) (int compression) |
| virtual bool | [startWriting](#acf12d6b60e936c525c8b5348d631ec78) ([DataClass](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gab852cc24891eb831942fb8da764d8ddb) dataClass) |
| virtual bool | [endWriting](#ae4443a3ec02f80e0b2b718220347a4ea) ([DataClass](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gab852cc24891eb831942fb8da764d8ddb) dataClass) |
| virtual bool | [addStringAttribute](#a38f0be852eeac3ccd76f278cc7a4e926) (const std::string \&file, const std::string \&path, const std::string \&name, const std::string \&strAtt) |
| virtual bool | [isWritingData](#aec011d2d887ca444db234030cd290a49) () const Used to determine if the [CFF\_RESULTS](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ggab852cc24891eb831942fb8da764d8ddbaacfdbe512195015b6446480e80caf4a4) model is available for writing. |
| virtual void | [inheritVariableAttributes](#a5046542f47a837ca8dae1c97cb752b0c) (bool inheritVariableAttributes) |

### Settings

| Type | Name |
| - | - |
| virtual void | [writeSettingStrings](#aa7b2ec625efd20196b718fdaf1e1daa1) (const std::vector\< std::pair\< std::string, std::string > > &, [DataClass](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gab852cc24891eb831942fb8da764d8ddb)=[DataClass::CFF\_CASE](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ggab852cc24891eb831942fb8da764d8ddba6c8b8209348df38321689fb67cd4b331), const std::string &=[CffBase::\_defaultSettingsPath](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a03d5187e85700144661d5dc477714202)) const Write settings to the CFF consumer. |
| virtual void | [writeSetting](#aeb0ab41583b24cc5147dc45346241c2e) (CffSetting \&setting, const std::string \&key="Common", DataClass dataClass=[DataClass::CFF\_CASE](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ggab852cc24891eb831942fb8da764d8ddba6c8b8209348df38321689fb67cd4b331), const std::string \&rootName=[CffBase::\_defaultSettingsPath](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a03d5187e85700144661d5dc477714202)) const Write a settings object to CFF consumer. |

### Mesh Size, Units and Attributes

| Type | Name |
| - | - |
| virtual void | [writeMeshAttributes](#ae7b1724d61296f25be88f63476872fda) () const Write the global mesh size attributes and units to the active mesh. |
| void | [writeMeshSize](#a837a9a059159d971a1242efee447c4db) () const |

### Parallel Interface

| Type | Name |
| - | - |
| virtual void | [setLocalElemIdsInZone](#a2a1c25a1227c2cb79a8addea000bad55) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const index, const size\_t dataSize) Provide a local element mapping to global element mapping. |

### Node Zones

| Type | Name |
| - | - |
| virtual void | [startWritingNodes](#a1343500f387f502a9f526018c098188a) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds) const |
| virtual void | [endWritingNodes](#a23365b7cec8e065e64e89fe712ca2dcc) () const End writing nodes. |

### Node Coordinates

| Type | Name |
| - | - |
| virtual void | [startWritingCoordinatesForNodes](#a0caf47b26c27b85aabc920428d0d1229) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds) const Start writing the coorindinates for nodes. |
| virtual void | [setCoordinatesForNode](#a2729f8600097770418aac103cd766d91) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) nodeId, const float \*const coords, const size\_t) const Define the coordinates for a specific node (single precision) |
| virtual void | [setCoordinatesForNodesInZone](#a22505ad0fe2b5bd55800733de96894aa) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const float \*const coords, const size\_t) const Provide the coordinates for all nodes in zone. |
| virtual void | [setCoordinatesForNodesInRange](#a0bc853af6f20d65902ebf55f70a0a5a0) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const float \*const coords, const size\_t) const Provide the coordinates for all nodes in range. |
| virtual void | [setCoordinatesForNode](#a08dfd028c1683db28c2e166850dfdbdc) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) nodeId, const double \*const coords, const size\_t) const Define the coordinates for a specific node (double precision) |
| virtual void | [setCoordinatesForNodesInZone](#aafcec82a2b855d2dddd9f96a4d0a27cb) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const double \*const coords, const size\_t) const Provide the coordinates for all nodes in zone. |
| virtual void | [setCoordinatesForNodesInRange](#abb388bbd7dd01e4df0f0e35208eabeaa) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const double \*const coords, const size\_t) const Provide the coordinates for all nodes in range. |
| virtual void | [endWritingCoordinatesForNodes](#a720cf2a53b71c1b99ff26ca5f73d8c22) () const Finish writing coordinates for nodes. |

### Edge Zones

| Type | Name |
| - | - |
| virtual void | [startWritingEdges](#ac023ac57d5e2b4a0432cf9c65297d3bb) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds) const Start writing information for elements in edge zones. |
| virtual void | [endWritingEdges](#a82676fa32a0f341d330c049d52363a43) () const End writing data associated with edges. |

### Edge Nodes

| Type | Name |
| - | - |
| virtual void | [startWritingNodesForEdges](#ae1da52f9264ba39d534fca35fa7c8742) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds) const Start writing nodes for edges within specified zones. |
| virtual void | [startWritingNodeCountsForEdges](#ad2f567446a912d1973a7879bb1d0ddbf) () const Start writing the node counts for edge zones. |
| virtual void | [setUniformNodeCountForEdgesInRange](#af28915b506a206223de8c6ffb495f0ca) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const short unc) const Set a uniform node count for all faces in a range. |
| virtual void | [setUniformNodeCountForEdgesInZone](#a56c0c168c24d1f4f590e8673813f6965) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const short unc) const Set a uniform node count for all faces in a zone. |
| virtual void | [setNodeCountForEdge](#a15e79f8252872d91ed7d6fa2fc34da80) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) edgeId, const short nodeCount) const Set the number of nodes that define an edge. |
| virtual void | [setNodeCountsForEdgesInRange](#a39dcf00dc1b4297b6920a0111977fcb5) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const short \*const nodeCounts, const size\_t) const Set the number of nodes that define a range of edges. |
| virtual void | [setNodeCountsForEdgesInZone](#a6ca7df62dd02eeca915b1c2bb36293da) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const short \*const nodeCounts, const size\_t) const Set the number of nodes that define a edge zone. |
| virtual void | [endWritingNodeCountsForEdges](#a2cbc029df682e6f44e28ccbd57d5c8a4) () const End writing the node counts for edges. |
| virtual void | [startWritingNodeIdsForEdges](#a1078eaf395db588627bd2b8339f1eb2d) () const Start writing the node ids for edges. |
| virtual void | [setNodeIdsForEdge](#aa2c77bc5c881a5a725378e1d245399d0) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) edgeId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const nodeIds, const size\_t) const Provide the ids of the nodes for a single edge. |
| virtual void | [setNodeIdsForEdgesInRange](#af117d04c16bf86d4d6778b3edd844b18) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const nodeIds, const size\_t) const Provide the ids of the nodes for a range of edges. |
| virtual void | [setNodeIdsForEdgesInZone](#adeb3136fc83b9b7e42ee1f3524a64c30) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const nodeIds, const size\_t) const Provide the ids of the nodes for all edges in an edge zone. |
| virtual void | [endWritingNodeIdsForEdges](#ae916768c0d70c35b5333047e8f7f6e32) () const End writing node ids for edges. |
| virtual void | [endWritingNodesForEdges](#ab02d01a0319c77ec3e29c603727abe83) () const End writing nodes for edges. |

### Face Zones

| Type | Name |
| - | - |
| virtual void | [startWritingFaces](#a5e96f8ea852d406a8323559a1d71316c) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds) const Start of writing faces. |
| virtual void | [endWritingFaces](#acfce986f538e17519279c4443a444ea8) () const End of writing face data. |

### Face Nodes

| Type | Name |
| - | - |
| virtual void | [startWritingNodesForFaces](#ab1bc3a711cc41e8e3e902436f68f64f4) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds) const Start writing faces nodes. |
| virtual void | [startWritingNodeCountsForFaces](#a0b627f3b4c48a5d85a0531588a9e2702) () const Start writing node counts for faces. |
| virtual void | [setUniformNodeCountForFacesInRange](#a60962015a5ff90ba967e6055f3b7af3d) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const short unc) const Set a uniform node count for the faces in a range. |
| virtual void | [setUniformNodeCountForFacesInZone](#afaa280db096bda07f2e9b49c85eac30b) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const short unc) const Set a uniform node count for the faces in a zone. |
| virtual void | [setNodeCountForFace](#a05a03dffe5cd12a207710a30273ebdb6) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) faceId, const short nodeCount) const Define the node count for the face supplied. |
| virtual void | [setNodeCountsForFacesInRange](#aa453272df7823b015fa7d18613186c9e) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const short \*const nodeCounts, const size\_t) const Define the node count for the faces in the range supplied. |
| virtual void | [setNodeCountsForFacesInZone](#ac8bb1e467c3609e2e152ff2bebbf275d) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const short \*const nodeCounts, const size\_t) const Define the node count for the faces in the zone. |
| virtual void | [endWritingNodeCountsForFaces](#a996757c12475874c4a0e8e4a6c8268cf) () const End writing faces node counts. |
| virtual void | [startWritingNodeIdsForFaces](#a1dc11ee2be93f0cba4e33d2d3c946db5) () const Start writing faces node ids. |
| virtual void | [setNodeIdsForFace](#a49de10eb870a2c60b187f3421ddd8dda) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) faceId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const nodeIds, const size\_t) const set the node ids of single face |
| virtual void | [setNodeIdsForFacesInRange](#aa1add89e8f51fec93748d80f64488c54) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const nodeIds, const size\_t) const set the node ids of faces in a range |
| virtual void | [setNodeIdsForFacesInZone](#a322325986e561aa23053e9db6b441d66) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const nodeIds, const size\_t) const set the node ids for all faces in a face zone |
| virtual void | [endWritingNodeIdsForFaces](#a1164f37dd80796d408b261f592eef91a) () const End of writing faces node ids. |
| virtual void | [endWritingNodesForFaces](#ad7ca52810679ccec7356c03be6fe874a) () const End of writing faces nodes. |

### Face Cell Parents

| Type | Name |
| - | - |
| virtual void | [startWritingCell0sForFaces](#a22d0f0b4fe70b1cf95973b420983550f) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds) const Start writing cell0 cell ids for faces. |
| virtual void | [setCell0ForFace](#ad45b18e13bcdeb2df977565db3f382c8) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) faceId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) faceC0) const set the c0 cell id of single face |
| virtual void | [setCell0sForFacesInRange](#af27c78b694b436dc515c29bc61a61ef6) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const faceC0s, const size\_t) const set the c0 cell ids of faces in a range |
| virtual void | [setCell0sForFacesInZone](#a5964decbfeef1890cee7162955ee81ff) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const faceC0s, const size\_t) const set the c0 cell ids for all faces in a face zone |
| virtual void | [endWritingCell0sForFaces](#aa41cc30d1cea747ff9af61b9ca183cc2) () const End of writing cell0 of faces. |
| virtual void | [startWritingCell1sForFaces](#a4a4b8f638ec2d87cd2b99b0e09344673) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds) const Start writing cell1 cell ids for faces. |
| virtual void | [setCell1ForFace](#af51ddb811d566a5f647663e4ed0f4f2f) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) faceId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) faceC1) const set the c1 cell id of single face |
| virtual void | [setCell1sForFacesInRange](#a7ee57b44c54eea690e116cd8991cdfe5) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const faceC1s, const size\_t) const set the c1 cell ids of faces in a range |
| virtual void | [setCell1sForFacesInZone](#acb74ee258ed3caca0b27f3a135d4854b) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const faceC1s, const size\_t) const set the c1 cell ids for all faces in a face zone |
| virtual void | [endWritingCell1sForFaces](#a88421cb579890fe1e6d9450c7e0a2c47) () const End of writing cell1 of faces. |

### Face Shadow Faces Mappings

| Type | Name |
| - | - |
| virtual void | [startWritingShadowFaceIdsForFaces](#ad4e65d78688496b1aa9dbdcfaf26522d) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds) const Start writing shadow faces of faces. |
| virtual void | [setShadowFaceIdForFace](#a547ee3e2733da8ab35ffdd95d913cce9) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) faceId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) shadowFaceId) const set the shadow face id of single face |
| virtual void | [setShadowFaceIdsForFacesInRange](#a685a0cc6236f60628fd889fda5605a12) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const faceShadows, const size\_t) const Set the shadows face ids of faces in a range. |
| virtual void | [setShadowFaceIdsForFacesInZone](#a920acfa7c7960cb022e225b485125588) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const faceShadows, const size\_t) const set the shadows face ids for all faces in a face zone |
| virtual void | [endWritingShadowFaceIdsForFaces](#a3013077d6e320e88b6b7c7b27712bed1) () const End of writing shadow faces ids. |

### Interface Face Mappings

| Type | Name |
| - | - |
| virtual void | [startWritingInterfaceDataForFaces](#a8f6dc0864308e6bf86fab62dc6fadb79) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) &, const std::vector\< int > &) const |
| virtual void | [setInterfaceDataForFacesInZone](#a316f1e973e9b0d0f739bc4ebd6ae6f97) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), const double \*const, const size\_t, const double \*const, const size\_t, const size\_t \*const, const size\_t, const size\_t \*const =NULL, const size\_t=0) const |
| virtual void | [setInterfaceDataForFacesInZone](#af5f897a6a407e756b1cbd146c474003e) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), const float \*const, const size\_t, const float \*const, const size\_t, const size\_t \*const, const size\_t, const size\_t \*const =NULL, const size\_t=0) const |
| virtual void | [endWritingInterfaceDataForFaces](#ae19e1e9995ada20a92864c1382be7feb) () const |

### Face Zone Refinement (Child Faces)

| Type | Name |
| - | - |
| virtual void | [startWritingChildFacesForFaces](#a08a6d9e099589461a24e88d3b8d420c2) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) &) const Start writing refined face data for faces in specified zones. |
| virtual void | [startWritingChildFaceCountsForFaces](#a5949b35daf75473f12cf84364754e7c7) () const Start writing refined child face counts for faces. |
| virtual void | [setChildFaceCountForFace](#a1ee840b3d33b1c3f9b22d9b3ef581111) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) faceId, const short childCount) const Set a refined child face count for a single face. |
| virtual void | [setChildFaceCountsForFacesInRange](#aee2445dc2e1b79ad9d2076946dedd1e0) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const short \*const, const size\_t) const Set a refined child face counts for a range of faces. |
| virtual void | [setChildFaceCountsForFacesInZone](#abf7ea9ecda7cbe6fc069e94994c03346) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), const short \*const, const size\_t) const Set a refined child face counts for all faces in a zone. |
| virtual void | [setUniformChildFaceCountForFacesInRange](#a314962de044ff32cc4ea64d496d67d4a) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const short) const Set a uniformed refined child face count for a face range. |
| virtual void | [setUniformChildFaceCountForFacesInZone](#abc5b37f0e2df371852b7634705a9946e) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), const short) const Set a uniformed refined child face count for all faces in a zone. |
| virtual void | [endWritingChildFaceCountsForFaces](#a4f211e2790a5ab0f848982a07a0ab24b) () const End writing refined child face counts. |
| virtual void | [startWritingChildFaceIdsForFaces](#aa11980b5348cc85a6b48389d448c1688) () const Start writing refined child face ids. |
| virtual void | [setChildFaceIdsForFace](#a7ed7360af7a6cea0d071aea4476270e0) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) faceId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const childIds, const size\_t dataSize) const Write refined child face ids for a face. |
| virtual void | [setChildFaceIdsForFacesInRange](#aab293fbe94a98edc248eed65797f99ff) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const, const size\_t) const Write refined child face ids for faces in a range. |
| virtual void | [setChildFaceIdsForFacesInZone](#a095b16c8ddc1f52dcc8d302795bed01e) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const, const size\_t) const Write refined child face ids for all faces in a zone. |
| virtual void | [endWritingChildFaceIdsForFaces](#a30d1afd8ec7b8d35dac10a1104c0bcf5) () const Finish writing refined child face ids. |
| virtual void | [endWritingChildFacesForFaces](#a6a33db12b06c9c0c22570015bcc75d17) () const Finish writing refined child face data. |

### Cell Zones

| Type | Name |
| - | - |
| virtual void | [startWritingCells](#abfce48f72ab748472442d0378b0ab558) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) &) const Start writing cells. |
| virtual void | [endWritingCells](#acf2719ef1746fe424adbd25eb2865b57) () const End of writing cells. |

### Cell Types

| Type | Name |
| - | - |
| virtual void | [startWritingTypesForCells](#ae40b4a5f63b1c57aaea793827eeffed1) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) &, const std::vector\< [CellType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gac0b3f753b9307362895e46aaa1a9f366) > &) const Start writing cells types. |
| virtual void | [setTypeForCell](#a74fe0a6e9c7280bf354d82b04dac1dfd) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) cellId, const [CellType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gac0b3f753b9307362895e46aaa1a9f366) cellType) const set the cell type of single cell |
| virtual void | [setTypesForCellsInRange](#a88d1aaaa0ab10568a816d3eab9e77c34) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const [CellType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gac0b3f753b9307362895e46aaa1a9f366) \*const, const size\_t) const set the cell element types of cells in a range |
| virtual void | [setTypesForCellsInZone](#a6395f7bcc27c03238f5c4b9a2ed4ec56) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), const [CellType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gac0b3f753b9307362895e46aaa1a9f366) \*const cellTypes, const size\_t) const set the cell element types for all cells in a cell zone |
| virtual void | [endWritingTypesForCells](#a2f09f429cf9e52f160932a5301028cb0) () const End of writing cell types. |

### Cell Nodes

| Type | Name |
| - | - |
| virtual void | [startWritingNodesForCells](#a9f44b9f36c6ee988d4bc68d813acf1f4) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds) const Start writing cell nodes. |
| virtual void | [startWritingNodeCountsForCells](#a613892be117f3ef49395f6b18f1f940c) () const Start writing counts for cell nodes. |
| virtual void | [setNodeCountForCell](#a12bef4717ab0373b9df316a5ffef624c) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) cellId, const short nodeCount) const set the node count for single cell |
| virtual void | [setNodeCountsForCellsInRange](#a7fb0573e2b04c5161bcc0def2df554ad) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const short \*const nodeCounts, const size\_t) const Set the node counts for several cells. |
| virtual void | [setNodeCountsForCellsInZone](#aaa47dcaa94172fe80bea3810dba66322) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const short \*const nodeCounts, const size\_t) const set the node counts for all cells in an cell zone |
| virtual void | [setUniformNodeCountForCellsInRange](#a674b4b5473f84d81a4474bcb799a326d) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const short unc) const |
| virtual void | [setUniformNodeCountForCellsInZone](#a855bb9d28781ced5e395334442aff2c4) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const short unc) const |
| virtual void | [endWritingNodeCountsForCells](#aa7aadfa5827a95b6e7dd2ba0d01762c4) () const End of writing counts for cell nodes. |
| virtual void | [startWritingNodeIdsForCells](#aff46a3cf63642bd5b1619b83492ce1ee) () const Start writing ids for cell nodes. |
| virtual void | [setNodeIdsForCell](#adc1cab8df6fec8528c2fb5ef23b437ed) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) cellId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const nodeIds, const size\_t dataSize) const set the node ids of single cell |
| virtual void | [setNodeIdsForCellsInRange](#a8312d8fe94316a8cae0f6175dd1731a1) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const nodeIds, const size\_t) const set the node ids of cells in a range |
| virtual void | [setNodeIdsForCellsInZone](#a2f43d8676830bdbfc12caafc95f41300) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const nodeIds, const size\_t) const set the node ids for all cells in a cell zone |
| virtual void | [endWritingNodeIdsForCells](#afff6cd55777c98100bf45175f4c31e3d) () const End of writing ids for cell nodes. |
| virtual void | [endWritingNodesForCells](#aea4cb4529f671463a6081db3fdb2f7c4) () const End of writing cell nodes. |

### Cell Faces

| Type | Name |
| - | - |
| virtual void | [startWritingFacesForCells](#a805838312e10bffd9e49fc0e7fb19ded) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds) const Start writing cell faces. |
| virtual void | [startWritingFaceCountsForCells](#aa6df60e53abbe13607bbc6b5eedbeca5) () const Start writing count of cell faces. |
| virtual void | [setFaceCountForCell](#a8822ed78cc31f675f1c8d5861c85e4b5) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) cellId, const short faceCount) const set the face count for single cell |
| virtual void | [setFaceCountsForCellsInRange](#ad164330aa7fcaa75f92eab54d3c7026a) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const short \*const faceCounts, const size\_t dataSize) const Set the face counts for several cells. |
| virtual void | [setFaceCountsForCellsInZone](#ac74e0eae78c9d056aa01d6726b8c7467) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const short \*const faceCounts, const size\_t) const set the face counts for all cells in an cells zone |
| virtual void | [setUniformFaceCountForCellsInRange](#a18549afa7c45b16b3b1f46c76c47f568) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const short unc) const |
| virtual void | [setUniformFaceCountForCellsInZone](#a81f30be91bd690af55b810b68bd2259c) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const short unc) const |
| virtual void | [endWritingFaceCountsForCells](#aedeedee034ba9271762c9a3e0e7dd4a7) () const End of writing counts of cells faces. |
| virtual void | [startWritingFaceIdsForCells](#a07cda183275554be175c1348d58fffbf) () const Start writing ids of cell faces. |
| virtual void | [setFaceIdsForCell](#a49c0c5652761ad728996363125f0297d) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) cellId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const faceIds, const size\_t dataSize) const set the face ids of single cell |
| virtual void | [setFaceIdsForCellsInRange](#ac69a32e195925ff67bdc65cd4963d593) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const faceIds, const size\_t dataSize) const set the face ids of cells in a range |
| virtual void | [setFaceIdsForCellsInZone](#a4cfbb18cd69a3c45495e8b6eb2aae929) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const faceIds, const size\_t) const set the face ids for all cells in a cell zone |
| virtual void | [endWritingFaceIdsForCells](#a3d2a2b947f8d9e331169bc60ad57ce00) () const End of writing ids of cells faces. |
| virtual void | [endWritingFacesForCells](#ae7cb2371470a08b5edf4d2a37e99ab32) () const End of writing cells faces. |

### Cell Partitions

| Type | Name |
| - | - |
| virtual void | [startWritingPartitionIdsForCells](#a3fc03a75a657c01bedaa388aace7b9f0) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) &, const int) const Start writing partition ids for cells. |
| virtual void | [setPartitionIdForCell](#afd90cc7fca1e6a89ed038ff550618aa8) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) cellId, const [PartitionIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaa0b01fb68d68067022164a7fcb5cb0e5) partId) const set the partition id for single cell |
| virtual void | [setPartitionIdsForCellsInRange](#a62fed9aeca8b63936c48a6888fdb3e1a) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const [PartitionIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaa0b01fb68d68067022164a7fcb5cb0e5) \*const partIds, const size\_t) const Set the partition ids for several cells. |
| virtual void | [setPartitionIdsForCellsInZone](#a0444944d41d5361b99527444100f8aea) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), const [PartitionIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaa0b01fb68d68067022164a7fcb5cb0e5) \*const partIds, const size\_t) const set the partition ids for all cells in an cells zone |
| virtual void | [endWritingPartitionIdsForCells](#abd2b1617c3b8849d10716773bafd0e88) () const End of writing partition ids for cells. |

### Cell Zone Refinement (Child Cells)

| Type | Name |
| - | - |
| virtual void | [startWritingChildCellsForCells](#a78d61e55b2b3d20d85a4d40199ad6bff) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) &) const |
| virtual void | [startWritingChildCellCountsForCells](#a80bddda457abdba41fba299d65543bb7) () const |
| virtual void | [setChildCellCountForCell](#ac6d6f207a2ddd9fb9d31fcc17cbf8790) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) cellId, const short childCount) const |
| virtual void | [setChildCellCountsForCellsInRange](#ae8c6daab4715bf822b8b5203a2ab5d70) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const short \*const, const size\_t) const |
| virtual void | [setChildCellCountsForCellsInZone](#a5795a7ca5d8c65cbf7ff09ab19609642) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), const short \*const, const size\_t) const |
| virtual void | [setUniformChildCellCountForCellsInRange](#a9faed45d0ea1b493ae7faf62c646a95d) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const short) const |
| virtual void | [setUniformChildCellCountForCellsInZone](#a50d500f55d561e35a10f1f5c2e03c764) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), const short) const |
| virtual void | [endWritingChildCellCountsForCells](#a716f71a5322d54c14876ac65d36a336e) () const |
| virtual void | [startWritingChildCellIdsForCells](#a480e132abdbbe202c54b95a75867cb80) () const |
| virtual void | [setChildCellIdsForCell](#a60e9eb7de63cc1a81736c8ff93f639ff) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) cellId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const childIds, const size\_t dataSize) const |
| virtual void | [setChildCellIdsForCellsInRange](#a05aba8f443a0f5deaa3ccffad9019de1) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const, const size\_t) const |
| virtual void | [setChildCellIdsForCellsInZone](#afe52060d75ba7da452fa7f5dfe7a5993) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const, const size\_t) const |
| virtual void | [endWritingChildCellIdsForCells](#a8c523f8f2a15818b50ecd7a9d9667df1) () const |
| virtual void | [endWritingChildCellsForCells](#ad72d3244dbb3f707fa2ee72963a6f455) () const |

### Special Case Sections

| Type | Name |
| - | - |
| virtual void | [startWritingCaseSectionCategories](#a2d38f5dcee364ed764631a514f775368) (const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b), const [CategoryNames](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaeeea0478d322fd0ada102f1c2c8fb835) &) const |
| virtual void | [startWritingCaseSectionDataForCategory](#a1cbe36ac69e9fb1b65d06bd3ace2727c) (const [CategoryName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaa2122630c8f73fb0367d48ff4fb21821) &, const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) &, const [PlainDataType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gaa26eac1911cb4a05854b39ca3d909615), const size\_t) const |
| virtual void | [setCaseSectionDataForElementsInRange](#ad8ba8edfe324460fe44cd92355f25540) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), const void \*const, const size\_t) const |
| virtual void | [setCaseSectionDataForElementsInZone](#a0e0166295f7cca0beb0caf08fc51cda3) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), const void \*const, const size\_t) const |
| virtual void | [endWritingCaseSectionDataForCategory](#a0193b2b296c996d4d040c378d67390cc) () const |
| virtual void | [endWritingCaseSectionCategories](#ac08fa07d58077f1da35d96459933c24a) () const |

### Time Levels

| Type | Name |
| - | - |
| void | [startWritingTimeLevel](#a40e2244390ba088e2b05e113e3bc6c27) (const [TimeLevelType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gabedb5244490da90f6098241bdc88e24c)=CffLatestTimeLevel) const |
| void | [endWritingTimeLevel](#ac1f066e81f2123f4f3a5bf2169b4f08d) () const |

### Phases and Phase Attributes

| Type | Name |
| - | - |
| virtual bool | [addPhaseName](#a1d5014b36d7f2a45899ad290760b82fc) (const [PhaseName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaec2c2963724097e7a913a6645b545682) \&phaseName, [PhaseIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gac3312714419db4aa206bdeda4efa9223) \&phaseId) const Append a phase name (existing phases are not removed) |
| virtual bool | [addPhaseNames](#a5d8306e695df14687815c3a8c1a2a17d) (const [PhaseNames](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga0fd5a01583470684274d967989f7172c) \&phaseNames, [PhaseIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga99ff3bf3b76eac538df4d637faab6b4c) \&phaseIds) const Append a number of phase names (existing phases are not removed) |
| virtual bool | [setAttributeValueOfPhase](#a861eb60b702a7837c8623f0436b4d649) ([PhaseIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gac3312714419db4aa206bdeda4efa9223) phaseId, const [AttributeName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gafe05ca5c613fa0a0b097c5fbdad6ba07) \&attributeName, const [AttributeValue](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga47c6faffdbbe31551e61373e813bf984) \&attributeValue) const |
| virtual bool | [setAttributeValueOfPhase](#a4d6ddb88ef6bbd3757741c3e7cbd2692) (const [PhaseName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaec2c2963724097e7a913a6645b545682) \&phaseName, const [AttributeName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gafe05ca5c613fa0a0b097c5fbdad6ba07) \&attributeName, const [AttributeValue](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga47c6faffdbbe31551e61373e813bf984) \&attributeValue) const |
| virtual bool | [setAttributeValueOfPhase](#a61a5bdd6239105e86e18e29baecea99e) (const [AttributeName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gafe05ca5c613fa0a0b097c5fbdad6ba07) \&attributeName, const [AttributeValue](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga47c6faffdbbe31551e61373e813bf984) \&attributeValue) const |
| virtual bool | [setPhaseNames](#ab5dd586e7146b9a776c9a7a90381dfe2) (const [PhaseNames](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga0fd5a01583470684274d967989f7172c) \&phaseNames, [PhaseIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga99ff3bf3b76eac538df4d637faab6b4c) \&phaseIds) const Define the set of unique phase names (all existing phase names and associated variables are deleted) |
| virtual void | [startWritingPhase](#a47b4f9fdb291b208f1b22e2024d1f73f) (const [PhaseIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gac3312714419db4aa206bdeda4efa9223) phaseId=1) const Start writing a phase. |
| virtual void | [endWritingPhase](#a5de197702a57c70600e73e7934d9f4e4) () const End of writing solution data for certain phase. |

### Variables (Solution Phases)

| Type | Name |
| - | - |
| virtual bool | [addPhaseVariable](#a1f10319b8a109a255f5c82bebe503f6b) ([PhaseIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gac3312714419db4aa206bdeda4efa9223) phaseId, const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&variableName, [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) \&variableId) const Add a variable. |
| virtual bool | [addPhaseVariable](#a2c3db676fbb579701ee9f9cb1842cd77) (const [PhaseName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaec2c2963724097e7a913a6645b545682) \&phaseName, const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&variableName, [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) \&variableId) const Add a variable to the specified phase. |
| virtual bool | [addPhaseVariable](#a1807802f7913daca1ead7daa389b33bb) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&variableName, [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) \&variableId) const Add a variable to the current phase. |
| virtual bool | [setPhaseVariablesOfCategory](#a3971a27135e4547f49ca0f49fbb29298) (const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b) zoneCategory, const [VariableIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gad69adea4467dfcbfbc23dac7843118dc) \&ids) const Add the variables in the currently active phase to zones of the category. |
| virtual bool | [setPhaseVariablesOfCategory](#a3bac158a70e8271f5ad57073da2bce64) (const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b), const [VariableNames](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga0f1f2a7436a48ebc6dbd9b96b61295fb) &, [VariableIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gad69adea4467dfcbfbc23dac7843118dc) &) const Add the variables in the currently active phase to zones of the category. |
| virtual bool | [setPhaseVariablesOfCategory](#a0aa7c6dea5c4eb0815b90274fc42fecc) (const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b), const [VariableNames](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga0f1f2a7436a48ebc6dbd9b96b61295fb) &) const Add the variables in the currently active phase to zones of the category. |
| virtual void | [startWritingZonesOfCategory](#a00cf33ac57393d8d4bda116324492b25) (const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b)) const Start writing solution data for zones of certain category. |
| virtual bool | [setAttributeValueOfPhaseVariable](#ab4f246788cd2c0e6f38b1e943cfcc5ad) ([VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) variableId, const [AttributeName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gafe05ca5c613fa0a0b097c5fbdad6ba07) \&attributeName, const [AttributeValue](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga47c6faffdbbe31551e61373e813bf984) \&attributeValue) const |
| virtual bool | [setAttributeValueOfPhaseVariable](#a7f8f4896566d3e383ca315aed8365923) ([PhaseIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gac3312714419db4aa206bdeda4efa9223) phaseId, const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&variableName, const [AttributeName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gafe05ca5c613fa0a0b097c5fbdad6ba07) \&attributeName, const [AttributeValue](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga47c6faffdbbe31551e61373e813bf984) \&attributeValue) const |
| virtual bool | [setAttributeValueOfPhaseVariable](#af96563174d969479a4533857ffc7fcf7) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&variable, const [AttributeName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gafe05ca5c613fa0a0b097c5fbdad6ba07) \&attributeName, const [AttributeValue](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga47c6faffdbbe31551e61373e813bf984) \&attributeValue) const |
| virtual void | [startWritingPhaseVariableInZonesOfCategory](#aa8ed95ace22971899dba34a0da50c633) (const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b) zoneCategory, const [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) varId, [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds, const size\_t numCols) const Start writing data for certain variable. |
| virtual void | [startWritingPhaseVariableInZonesOfCategory](#a33ea725ef0d3650448e42b19bbb76049) (const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b) zoneCategory, const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds, const size\_t numCols) const Start writing data for certain variable. |
| virtual void | [setValuesOfPhaseVariableForElementsInRange](#a1008d4c36732865f9a67e2d844f42282) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) startId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) endId, const double \*const vals, const size\_t dataSize) const Set the solution data values for all elements in certain range. |
| virtual void | [setValuesOfPhaseVariableForElementsInRange](#a122c530c159496d7a22f88ae33f063d0) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) startId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) endId, const float \*const vals, const size\_t dataSize) const Set the solution data values for all elements in certain range. |
| virtual void | [setValuesOfPhaseVariableForElementsInZone](#a92a71afe8f9855090d4cb8c1f07c4ae8) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const double \*const vals, const size\_t dataSize) const Set the solution data values for all elements in certain range. |
| virtual void | [setValuesOfPhaseVariableForElementsInZone](#a6b958c48b2d819cdf3cd9761c806f150) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const float \*const vals, const size\_t dataSize) const Set the solution data values for all elements in certain range. |
| virtual void | [endWritingPhaseVariableInZonesOfCategory](#a728b453632154ff97445bd09e421d6da) () const End of writing one variable in certain zone category. |
| virtual void | [endWritingZonesOfCategory](#a2ba9b65dcd0749c02b0862b2de35540b) () End of writing solution data in certain zone category. |

### Set Data

| Type | Name |
| - | - |
| virtual void | [startWritingSetData](#ab78a697364bf9c099f30f45fc8bd4c6e) (const [DataClass](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gab852cc24891eb831942fb8da764d8ddb) dataClass, const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b) cat, const std::string \&setName) |
| virtual void | [startWritingIdsForSetData](#a397a596285b6597a6de888f6ba80d53f) () |
| virtual size\_t | [setIdsForSetData](#ab8c98ad4402cd830ed4fc9b45635b0ed) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const setId, const size\_t dataSize, const size\_t chunkId=0) |
| virtual void | [endWritingIdsForSetData](#a0122cb30f0c00355d0b4a9fe603a90a8) () |
| virtual void | [startWritingVariableForSetData](#a5dc0ea7ac0776e92ae670be84ecd7661) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName) |
| virtual size\_t | [setVariableForSetData](#a0a2a905c94ef28d4b117b9ded37af692) (const unsigned char \*const data, const size\_t numRow, const size\_t numCol, const size\_t chunkId=0) |
| virtual size\_t | [setVariableForSetData](#a5f32bf56d4d40de930883c4c016f0479) (const char \*const data, const size\_t numRow, const size\_t numCol, const size\_t chunkId=0) |
| virtual size\_t | [setVariableForSetData](#aa7509a08d0380152f3a82dd189196313) (const short \*const data, const size\_t numRow, const size\_t numCol, const size\_t chunkId=0) |
| virtual size\_t | [setVariableForSetData](#abcc3279c0c77088456368725a15b55b5) (const unsigned int \*const data, const size\_t numRow, const size\_t numCol, const size\_t chunkId=0) |
| virtual size\_t | [setVariableForSetData](#a0527760f760a86006d3fca5e9b648292) (const int \*const data, const size\_t numRow, const size\_t numCol, const size\_t chunkId=0) |
| virtual size\_t | [setVariableForSetData](#ab636b1888e5507acf319d3fab68fb23e) (const long \*const data, const size\_t numRow, const size\_t numCol, const size\_t chunkId=0) |
| virtual size\_t | [setVariableForSetData](#a904176079934802f7b6a25a15d0e0811) (const long long \*const data, const size\_t numRow, const size\_t numCol, const size\_t chunkId=0) |
| virtual size\_t | [setVariableForSetData](#a441679fe43d6ce756af210780edc4187) (const size\_t \*const data, const size\_t numRow, const size\_t numCol, const size\_t chunkId=0) |
| virtual size\_t | [setVariableForSetData](#a086aba795f81f4451553f263a436c72d) (const float \*const data, const size\_t numRow, const size\_t numCol, const size\_t chunkId=0) |
| virtual size\_t | [setVariableForSetData](#aec1531e9a6e8f17dc95be17177d90771) (const double \*const data, const size\_t numRow, const size\_t numCol, const size\_t chunkId=0) |
| virtual void | [endWritingVariableForSetData](#a63e26706d59ec958e4ab9e721278f07b) () |
| virtual void | [startWritingVariableLengthVariableForSetData](#a9fb09a9e313e690421fbd5228addb81e) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a4a07b89791ac59b9358db34cd358c92a) (const unsigned char \*const data, const size\_t dataSize, const short \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a017eef3bf4f92cc049f47dd50a4d29de) (const char \*const data, const size\_t dataSize, const short \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a4062799d5f598a1f5581c4972fa845eb) (const short \*const data, const size\_t dataSize, const short \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a231946d6cbba4509f9e4bd1541c77405) (const unsigned int \*const data, const size\_t dataSize, const short \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a07f985993fa4dce8f11233a216bfb745) (const int \*const data, const size\_t dataSize, const short \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#abbf622150f68c70124f85f80f55a0610) (const long \*const data, const size\_t dataSize, const short \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#aa6547f32b450d23386c86a28a6e26888) (const long long \*const data, const size\_t dataSize, const short \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a69430202e942430530609f7cd40334fb) (const size\_t \*const data, const size\_t dataSize, const short \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#ab68678d5dea28bb837b3ad4b5cf03054) (const float \*const data, const size\_t dataSize, const short \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a822860804b2a49f5a77e2dd16edba5fc) (const double \*const data, const size\_t dataSize, const short \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a4e2686c580385c4a696d4e68cd240d8b) (const unsigned char \*const data, const size\_t dataSize, const size\_t \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a34c8459e715484c32c93d524a7cccfb6) (const char \*const data, const size\_t dataSize, const size\_t \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#abc430e45e5bfe5926aa6d016217ac460) (const short \*const data, const size\_t dataSize, const size\_t \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#ae3cd091c857784f816839f22f7094369) (const unsigned int \*const data, const size\_t dataSize, const size\_t \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a86301803870586333ee7123f7762e407) (const int \*const data, const size\_t dataSize, const size\_t \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#af628853f3350cdd3d01081f3052b8a50) (const long \*const data, const size\_t dataSize, const size\_t \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#ae82dd10d3b96fa5b2a4923d8685a6a4e) (const long long \*const data, const size\_t dataSize, const size\_t \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a5b5220f842cae9685503923e21c8423a) (const size\_t \*const data, const size\_t dataSize, const size\_t \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a6744b9ee815859f1126a547e2aba3e9c) (const float \*const data, const size\_t dataSize, const size\_t \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a5acc6901b5404e9dc6478abe4d294740) (const double \*const data, const size\_t dataSize, const size\_t \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a4dd882895c9baffbe018fb43a19fb1a3) (const unsigned char \*const data, const size\_t dataSize, const int \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a4ab4ace6f1c0697ce8857b101171bf11) (const char \*const data, const size\_t dataSize, const int \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a64aae8ae232e982b9a76ce2b442d191d) (const short \*const data, const size\_t dataSize, const int \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#aa75246c1bdc2bedd85bf38196479376d) (const unsigned int \*const data, const size\_t dataSize, const int \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a75a8c4c8c9a98c3641ce28d8f6bc5f07) (const int \*const data, const size\_t dataSize, const int \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#ae34b7fc436fd0fa1217f38e65ba89892) (const long \*const data, const size\_t dataSize, const int \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#aa1ed7a94833430780768151d76699733) (const long long \*const data, const size\_t dataSize, const int \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a8ba8ef432357e866bfda6cc743e17fd0) (const size\_t \*const data, const size\_t dataSize, const int \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#a297eca567fc4be0b54eedee594e15aad) (const float \*const data, const size\_t dataSize, const int \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual size\_t | [setVariableLengthVariableForSetData](#ac41e7ebb4c8eeb65064d9a8fab2d0802) (const double \*const data, const size\_t dataSize, const int \*const size, const size\_t sizeSize, const size\_t chunkId=0) |
| virtual void | [endWritingVariableLengthVariableForSetData](#a9a33c6ad71e58faf1e66368aa7d75e2d) () |
| virtual void | [writeStringDataForSetData](#aed9e6b3ba678893cbb9bf578f8976c15) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const std::string \&data) |
| virtual void | [writeOtherDataForSetData](#ae10ab26d755d0a502c2d0c2c478635cc) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const unsigned char \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSetData](#ac2c55ac1ae1510cb0c458ba7ab819e3b) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const char \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSetData](#a78d3353da2207b9655c65143188797fa) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const short \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSetData](#ab35efddd5689e0de448e42c586ad95a7) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const int \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSetData](#a6592adf1b3e500afb7465ba09a22109c) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const unsigned int \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSetData](#a3f9a3057b4957c2b6b25cd334c7ecbe5) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const long \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSetData](#a3e67ea2c83c1a2ff6d1d3519dd8636f0) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const long long \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSetData](#a4916dac6b9cd050b56971ec246e5a007) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const size\_t \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSetData](#a2ed2e1b8ce0ed67a6a2540ff4b57b797) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const float \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSetData](#a1a057a44a4bbba29bbc980350e72550e) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const double \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [endWritingSetData](#a3b6d53b0186284a645bcd6c5c24e5047) () |

### Solution Variables (Particle Track Phases)

| Type | Name |
| - | - |
| virtual bool | [startWritingParticleTracks](#a069cd434def68916e9fd2e8daf103834) (const [PhaseIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gac3312714419db4aa206bdeda4efa9223) phaseId=-1, const [MeshIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga9a6c5565b81f965277b48f14355a38ae) meshId=-1, const [TargetCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga2bf8717ca5a1d17190dddf5faf6efa5d) target=[TargetCategory::CFF\_TARGET\_CATEGORY\_UNKNOWN](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gga2bf8717ca5a1d17190dddf5faf6efa5da372c46c2ed9c012ea7fe06fbaf2ec59f), const [PartitionIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaa0b01fb68d68067022164a7fcb5cb0e5) partition=-1) Start write particle tracks under phase specified by phaseId in the mesh set specified by mesh Id, target and partition. |
| virtual void | [startWritingPartiticleTrackGroup](#a13a3c579626fcfefac7ba75673142d9f) (const std::string \&name="") Start writing particle track group. |
| virtual void | [startWritingChunkInPartiticleTrackGroup](#a47cc2477e5982afdb6706df79a68e3c3) (const size\_t chunkIndex=0) start writing chunk in particle track group, the input chunkIndex specifies |
| virtual void | [setValuesOfParticleTrackVariable](#a395f886e1861bd4578678bc5d5da0b56) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const unsigned char \*const data, const size\_t numSteps, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#a9eee3c6c85931cc9d28b9cf78d50ed96) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&name, const char \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#a253bc81b822e99d907ea86d27515b3ac) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&name, const short \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#ab9eb8e757796a4a3ff77c805c1a780b3) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&name, const unsigned int \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#a38c2fe9de0c6a508d65a072aed562515) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&name, const int \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#a04f30fd571f46130a4236774bf1303ea) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&name, const long long \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#a2c03b20a6cda6fd6c49701fe348a527a) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&name, const long \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#a74c1762ae0810db3fa6c8e82d69bac8d) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&name, const size\_t \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#aac51b782df5ec2ccc3838066ea6bcdcf) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&name, const float \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#a80113a836378a1ab3a144be262f13ac2) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&name, const double \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#aceb9d2d009899f0f1a1019594bc9062a) (const [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) VarId, const unsigned char \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#a3a86ec60e1984c691bb506d0ffb0363f) (const [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) VarId, const char \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#ae43e9205cce717eb0b6e8be19960c0d0) (const [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) VarId, const short \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#a597ccbb3eb8889bf32444da0186c9670) (const [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) VarId, const unsigned int \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#a4d891b02f0b166019260c37b6b561c6a) (const [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) VarId, const int \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#aa0a657104aedc754092cd2b0a198709d) (const [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) VarId, const long \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#a8366676e13abcf2355142cfc19771cb0) (const [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) VarId, const long long \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#aec2d28e56df74710aa86a6650c2485c5) (const [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) VarId, const size\_t \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#a00764556e4bc9a8a1302aa9f1efca9f5) (const [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) VarId, const float \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [setValuesOfParticleTrackVariable](#a609bb19473a5dcd19192934ac6f3c238) (const [VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be) VarId, const double \*const data, const size\_t numElem, const size\_t numCol=1, const bool asConstant=false) Write variable to chunk. |
| virtual void | [endWritingChunkInPartiticleTrackGroup](#adfc9c98fdb9b02bf4d327c768d27d6ab) () Finish writing particle track data in chunk of particle track group. |
| virtual void | [endWritingPartiticleTrackGroup](#ab4be5634147f9da96392ba9ba2c473e8) () Finish writing article track group. |
| virtual void | [endWritingParticleTracks](#aaf542389d8766d4202383751ca12f36d) () Finish writing particle track group. |

### Location Model - Topology

| Type | Name |
| - | - |
| void | [setLocationModel](#a865a5dcdb4b75ee748cb45b3aeef82d1) (const [CffLocationModel](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_location_model.md) \*) const Write the location model. |

> [accordion] Public Member Functions inherited from ansys::CffBase
>
> Public Member Functions inherited from [ansys::CffBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md)
>
> | Type | Name |
> | - | - |
> | | [CffBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a8e91a34b6ff2e403b674b5f7eabbd30d) () Constructor. |
> | virtual | [\~CffBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a20caf165b9dd7454fc7792d61e14eb7e) () Destructor. |
> | void | [setPartitionId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#acd0f72767680be525a7445e07fb3b9ba) (const [PartitionIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaa0b01fb68d68067022164a7fcb5cb0e5) pId) |
> | [PartitionIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaa0b01fb68d68067022164a7fcb5cb0e5) | [getPartitionId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#aebfbe683df8687fd15685c7cf5e2dbe9) () const |
> | virtual void | [setDebugOn](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a762f990aefce5b11164a58d2721bd350) (bool debug) Turn on/off debugging information. |
> | virtual void | [setReadNCIOn](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a7580864520aebd0a63c0e3f4490c8ea3) (bool readNCI) Turn on/off non-conformal interface reading. |
> | void | [setMeshId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a7a12ef6589a193f80be541291b0cec4b) (const [MeshIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga9a6c5565b81f965277b48f14355a38ae) meshId) Set the Identifier for active mesh being read or written. |
> | [MeshIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga9a6c5565b81f965277b48f14355a38ae) | [getMeshId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a38bd51885eca5de0f72d49db6bff1ffb) () const Get the Identifier of the active mesh. |
> | void | [setTarget](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a8f9c0f2adda371644dfe678da1bdd9a2) (const [TargetCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga2bf8717ca5a1d17190dddf5faf6efa5d) target) Set the target category for which the data is intended. |
> | [TargetCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga2bf8717ca5a1d17190dddf5faf6efa5d) | [getTarget](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a9ed7e905d291697c22f073ee8482ec40) () const Get the target category for which the data is intended. |
> | void | [setMeshSize](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a259b65322ef0d42859d988166eed23d7) (const [MeshSizeType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gaf5d669ab21b6699ea497958b17c32002) type, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) size) Sets a value that defines the dimension or the global number of objects of a specific mesh entity. |
> | void | [getMeshSize](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#acaf3eef987d98a7af34c15b9b7954abc) (const [MeshSizeType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gaf5d669ab21b6699ea497958b17c32002) type, [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \&size) const Obtains a value that defines the dimension or the global number of objects of a specific mesh entity. |
> | void | [setMeshUnits](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#ae323125334ed9fb3d4d62796e08a8451) (const std::string \&units="m") Define the units of length the mesh is defined in. |
> | void | [getMeshUnits](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a1f85337345d893d33c9cfcdd0431757a) (std::string \&unit) const Obtains the unit of length the mesh is defined in. |
> | void | [setZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a39f93ca4fe18b77774bf8e8de49761e0) (const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b) zoneCategory, const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zonesIds) Define the zones that are of a specific category. |
> | virtual size\_t | [getNumZones](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a3cfe9f0e37df52d9d9a0d0846f01be44) (const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b)) const Returns the number of zones in a specific category. |
> | virtual void | [getZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a27eedb8c5bce9f6df83472ad4f3e02bd) (const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b) zoneCategory, [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) \&zoneIds) const Request the collection of zone Ids that are of a specific category. |
> | void | [setNodeZoneInfo](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#af769e3a822ffc4c0fdf1a729c166c9cb) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) nodeZoneId, const [NodeZoneInfoType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gacc3f469fa6326c4b75b40d9e4f8313db) nodeZoneInfoType, const int info) const set certain zone level info for a node zone. |
> | void | [getNodeZoneInfo](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a5a38fe3bcf5c8c129c6691b5c57440e9) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) nodeZoneId, const [NodeZoneInfoType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gacc3f469fa6326c4b75b40d9e4f8313db) nodeZoneInfoType, int \&info) const get certain zone level info for a node zone. |
> | void | [setAllFaceZoneFlags](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#abb3c12f95d090dd9df153008b6515ed7) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) faceZoneId, const int allFlags) Set flags for a face zone. |
> | void | [getAllFaceZoneFlags](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a3a07688c012e35b57939fe2a94ae7bf6) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) faceZoneId, int \&allFlags) const Get flags for a face zone. |
> | void | [setFaceZoneType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a95e9e01481576f3f34c3b2276215fab7) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) faceZoneId, const [FaceZoneType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga13c2dd97c5e14c90a074a2c603ec2bc3) zoneType) set zone type of a face zone. |
> | void | [getFaceZoneType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a54f28797f4937e10436099ce2aeacfb9) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) faceZoneId, [FaceZoneType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga13c2dd97c5e14c90a074a2c603ec2bc3) \&zoneType) const get the zone type of a face zone. |
> | void | [setFaceZoneInfo](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a5c7a587b4206497cf6b9608c41d6b543) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) faceZoneId, const [FaceZoneInfoType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga90bd9c961be9a1b7e7d014e9f04588e3) faceZoneInfoType, const int info) const set certain zone level info for a face zone. |
> | void | [getFaceZoneInfo](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#af7d98ff434df5ca813e0abc6fcda06b5) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) faceZoneId, const [FaceZoneInfoType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga90bd9c961be9a1b7e7d014e9f04588e3) faceZoneInfoType, int \&info) const get certain zone level info for a face zone. |
> | void | [setFaceZoneProp](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a9fd0b6d7cec6f6bf0d1d49be26f7d55d) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) faceZoneId, const [FaceZonePropType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gadf13e7806827f3d0db8ecb550aa50384) faceZonePropType) |
> | bool | [getFaceZoneProp](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a6916863ecd01e1a7f61660c64cf64b85) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) faceZoneId, const [FaceZonePropType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gadf13e7806827f3d0db8ecb550aa50384)) const |
> | void | [setZoneSizeInfo](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#ab004b191ee5ecb3c4e601e8fdad56c1a) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const [ZoneSizeType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga54ba682a6deedd60cb203d1963a0ac12) sizeType, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) size) Sets a size setting of a zone. |
> | void | [getZoneSizeInfo](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a3288b67c94eebe85133afbf5c6329a73) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const [ZoneSizeType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga54ba682a6deedd60cb203d1963a0ac12) sizeType, [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \&size) const Obtains a size setting of a zone. |
> | void | [setCellZoneInfo](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a4fad271e6ee24cc9de5fca8e0990e558) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) cellZoneId, const [CellZoneInfoType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gaaffda1f82c7b51d603aff684c9ab0cd2) cellZoneInfoType, const int info) set certain zone level info for a cell zone. |
> | void | [getCellZoneInfo](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a8cdb470e83dfbe98fda9597e5908570d) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) cellZoneId, const [CellZoneInfoType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gaaffda1f82c7b51d603aff684c9ab0cd2) cellZoneInfoType, int \&info) const get certain zone level info for a cell zone. |
> | void | [setEdgeZoneType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a022ca55715eb4c7a1f46e7c1c7c899f3) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) edgeZoneId, const [EdgeZoneType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gac0bfa43991cd91c6cc7045a2596e36bf) zoneType) set zone type of a edge zone. |
> | void | [getEdgeZoneType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a338831ea194619a576aa15aa96f479f8) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) edgeZoneId, [EdgeZoneType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gac0bfa43991cd91c6cc7045a2596e36bf) \&zoneType) const get the zone type of a edge zone. |
> | void | [setEdgeZoneInfo](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a4deb6b8c569d92acabf1c0bd85a4f35f) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) edgeZoneId, const [EdgeZoneInfoType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gab5510fa8ae80e1c0e3f4d17207ac2cf8) edgeZoneInfoType, const int info) set certain zone level info for a edge zone. |
> | void | [getEdgeZoneInfo](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a781704a9b5db32ad76674f0d76ff1c82) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) edgeZoneId, const [EdgeZoneInfoType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gab5510fa8ae80e1c0e3f4d17207ac2cf8) edgeZoneInfoType, int \&info) const get certain zone level info for a edge zone. |
> | void | [setZoneStringInfo](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a41dad7e9d021bdda73c87fe328dc8165) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const [ZoneStringInfoType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga7fe67117cb23bbcbb4ff2d5b55c3a704) type, const std::string \&info) Sets a string value associated with a zone. |
> | void | [getZoneStringInfo](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a996240e5d9daecbd1a2fca41931e6857) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId, const [ZoneStringInfoType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga7fe67117cb23bbcbb4ff2d5b55c3a704) type, std::string \&info) const Obtains a string value associated with a zone. |
> | void | [getFaceCellZone0Ids](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#aed5f714fd202db49f2d5dbc643f8ae0b) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) faceZoneId, std::list\< [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) > \&zoneIds) Get a list of cell zones on side zero of a face zone. |
> | void | [getFaceCellZone1Ids](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a5b3ac69ef66941dc47ac51567da0e811) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) faceZoneId, std::list\< [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) > \&zoneIds) Get a list of cell zones on side one of a face zone. |
> | void | [getCellFaceZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#aefdb444e036bf2bde4727ca122985a06) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) cellZoneId, std::list\< [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) > \&zoneIds) Get a list of face zones touching a cell zone. |
> | virtual void | [setSolverType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a30ca8450d5f621a2decc2dde0ff9207f) ([SolverType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga195806ab92eb9a11e3bda91098c6ac38) solverType) Set the name of the application that is supplying the data. |
> | [SolverType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga195806ab92eb9a11e3bda91098c6ac38) | [getSolverType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#aac055e13c1b7040833aa2d981a606486) () const Obtains the owner of the data in the model. |
> | const [CffLocationModel](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_location_model.md) \* | [getLocationModel](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a6ef0a23c0b31c58b1a70e8c7abdb3cb9) () const Get a query interface to the underlying topology model. |
> | void | [setVariableAttributeProvider](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#af65917c8ea7a2165f19462275e4fdc11) (const CffVariableAttributeProvider \*, bool takeOwnership=false) Register an alternative variable attribute provider. |
> | CffMessageRegistrar \* | [getMessageRegistrar](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#ab3cf0c9c550daa3233c0121c06b9a12e) () const Obtains a message registrar object so that external plug-ins can register messages with the API. |
> | bool | [hasError](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#ae21605b67de8dfdc99ed2dd2436c8276) () const returns whether there are unprocessed error messages registered. |
> | bool | [hasWarning](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a0c21e26398dc9974f47ca3483ddf5511) () const returns whether there are unprocessed warning messages registered. |
> | bool | [hasInfo](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a9951a635748839427d6f0025ffe52624) () const returns whether there are unprocessed informative messages registered. |
> | std::vector\< std::string > | [getErrors](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a4ad1f2f007e8a575da4935bbc136ee1a) (bool formated=true, bool clear=false) const returns, as strings, any unprocessed error messages registered |
> | std::vector\< std::string > | [getWarnings](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#ac9b6a55b76b04124c6e0ce8670b27cdf) (bool formated=true, bool clear=false) const returns, as strings, any unprocessed warning messages registered |
> | std::vector\< std::string > | [getInfos](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a082d2c3d4dc0c44c918764d25adcadda) (bool formated=true, bool clear=false) const returns, as strings, any unprocessed information messages registered |
> | void | [registerSettingsParser](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a52f6b4e5a617b22028b2cab38fcbc861) (CffSettingsParser \*) Sets a parser for processing settings. |
> | bool | [addSetting](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a2ec5c496eb4060808d5c93e7de48afba) (const [DataClass](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gab852cc24891eb831942fb8da764d8ddb) dataClass, const std::string \&key, const std::string \&value, const [SolverType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga195806ab92eb9a11e3bda91098c6ac38) \&solverType="CFF\_GENERIC") Sets a specific setting by supplying a key and a value. |
> | bool | [addSettingsDataSet](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#ac3afd0039522c633e78e643ef5c92c88) (const [DataClass](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gab852cc24891eb831942fb8da764d8ddb) dataClass, const std::string \&dataSetPath, const std::string \&data, const [SolverType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga195806ab92eb9a11e3bda91098c6ac38) \&solverType="CFF\_GENERIC", const std::vector\< std::string > \&settingsKeys=std::vector\< std::string >()) Defines a set of data that contain the more than one setting. |
> | void | [setApplicationName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a37ac2d23d1b21376117cb574ea5aecd5) (const std::string \&applicationName) Sets an application name for error purposes and when logging to a file. |
> | void | [getPhaseIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#af555905619187578ebedc0da9116ae54) ([PhaseIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga99ff3bf3b76eac538df4d637faab6b4c) \&phaseIds) const Obtain the Identifiers of all Phase. |
> | bool | [getPhaseName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#ac0e318ff4148977296fd1e7e332a4cb2) (const [PhaseIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gac3312714419db4aa206bdeda4efa9223) phaseId, [PhaseName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaec2c2963724097e7a913a6645b545682) \&phaseName) const Obtain the unique name a specific Phase. |
> | [PhaseName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaec2c2963724097e7a913a6645b545682) | [getPhaseName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#aaf2782a59cd4e5939299c278f2e2c14d) (const [PhaseIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gac3312714419db4aa206bdeda4efa9223) phaseId) const Obtain the unique name a specific Phase. |
> | const [TimeLevels](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga05f2423bfbdc98936c0b6e77108a3ceb) & | [getTimeLevels](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#aed5e5b99ed3a9c2f0c99c79f766529f6) () const |
> | [TimeLevelType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gabedb5244490da90f6098241bdc88e24c) | [getTimeLevel](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#acd2f82d0cc8278ce20a870e5216dc16b) () const |

> [accordion] Public Member Functions inherited from ansys::CffVersion
>
> Public Member Functions inherited from [ansys::CffVersion](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_version.md)
>
> | Type | Name |
> | - | - |
> | | [CffVersion](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_version.md#a9274e8b4fd14afdc71d46fb66dc405cd) () |
> | | [\~CffVersion](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_version.md#a3ee0c0a7f11906983671c5b693860430) () |

## Protected Member Functions

| Type | Name |
| - | - |
| virtual void | [cacheLocationModelState](#ac8e5b92a73e66758780bb4ce51031918) (const std::string \&state) const |
| bool | [inheritVariableAttributes](#ad72c489d9dec93c68dc7ec81ad5d561f) () const |
| virtual int | [getLastLogIndex](#adfe5dba4e96d0b81feac0447ec2c6dc6) ([DataClass](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gab852cc24891eb831942fb8da764d8ddb) dataClass=[DataClass::CFF\_CASE](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ggab852cc24891eb831942fb8da764d8ddba6c8b8209348df38321689fb67cd4b331)) const |

> [accordion] Protected Member Functions inherited from ansys::CffBase
>
> Protected Member Functions inherited from [ansys::CffBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md)
>
> | Type | Name |
> | - | - |
> | [CffReadable](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga0fb9773918c961ce8187a074481c3069) | [isSupported](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a0f6a86dc4029c4ff72ccf893a1247fb1) (const std::string \&version) const Check whether the version can be read by this version of the CFF SDK. |
> | void | [setMeshSize](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a5c0728f170c875374eef517fcb4a75fb) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) nDims, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) nodesCount, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) edgesCount, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) facesCount, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) cellsCount) Set the mesh size info This function is for providing top level meta data: the total mesh size of all zones In case you do not save certain entity, for example, edges, then the input edgesCount should be 0. |
> | virtual void | [setZoneAdjacency](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a5ef5d972c78d183d8d765f1b5578ea57) () |
> | void | [setFaceCellZone0Ids](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#ac0abea2487c710f7091853e6519493e7) (const std::map\< [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), std::list\< [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) > > &) Set the c0 cell zones of all face zones The CellZone0 (c0) cell zones are the cell zones adjacent to the face zone and at the side of face normal direction The information provided here will be helpful for quicker establishment of zone level topology when reading the mesh Mesh without those information can still be read, but would be much slower. |
> | void | [setFaceCellZone1Ids](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a5b3584e853403d6f0fdac43573c60fb0) (const std::map\< [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), std::list\< [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) > > &) Set the c1 cell zones of all face zones The CellZone1 (c1) cell zones are the cell zones adjacent to the face zone and at the side opposite to face normal direction The information provided here will be helpful for quicker establishment of zone level topology when reading the mesh Mesh without those information can still be read, but would be much slower. |
> | void | [getFaceCellZone0Ids](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#acb322a7e2667baee3ae555968a4bb429) (std::map\< [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), std::list\< [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) > > &) |
> | void | [getFaceCellZone1Ids](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#ad4fedb6f7158c5340fcc0dd5ebffa790) (std::map\< [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), std::list\< [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) > > &) |
> | void | [setCellFaceZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a5f0ef9af551d0fa910224bcd5b2ff012) (const std::map\< [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96), std::list\< [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) > > &) Set the face zones ids of all cell zones The face zones of a cell zone are all face zones that adjacent to the cell zone The information provided here will be helpful for quicker establishment of zone level topology when reading the mesh Mesh without those information can still be read, but would be much slower. |
> | void | [getSortedMinIdZoneId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#acd55506ab391dd7dd7e62f51f7aaa2b0) (const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b), std::vector\< std::pair\< [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107), [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) > > \&minIdZoneId) const |
> | std::string | [getGroupNameForPhase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#af0d21caac7777b939f76735e83984cbe) ([PhaseIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gac3312714419db4aa206bdeda4efa9223) phaseId) const |
> | CffSolutionModel \* | [solutionModel](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a91b255a6c333f2f5e302fe61a09e5657) () const |
> | virtual void | [initLocationModel](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a624faedd25141cbf3f46877cfa7a2c53) () const |
> | [CffLocationModel](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_location_model.md) \* | [locationModel](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a022d5e7d262d2f307d305b071844f7b8) () const |
> | void | [initializeVariableAttributeProvider](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a2630b322188a07ec1eeb9b136c73c4e2) (const [SolverType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga195806ab92eb9a11e3bda91098c6ac38) \&solverType, const std::string \&variableTarget) |
> | virtual bool | [updateData](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a4705c89685f16a8b76f879dff8d53a4c) ([DataClass](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gab852cc24891eb831942fb8da764d8ddb)) |
> | bool | [setMeshContext](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#aa91c9abb97b43c30e006c41852a54486) ([MeshId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/namespaceansys#ad39fb97de8d4c01dcde3d4d829eee232), [TargetCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga2bf8717ca5a1d17190dddf5faf6efa5d), [PartitionIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaa0b01fb68d68067022164a7fcb5cb0e5), [UpdateMethod](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a1e830177b6b0f3a1ab06bd2679f8a801)=[UpdateMethod::CaseAndResults](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a1e830177b6b0f3a1ab06bd2679f8a801a3e88061dedbcbe68f2a2b719a774044d)) |
> | void | [setZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a24487deb6252ec704a446743f74dc84a) (const [ZoneIds](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga93b257990d79f628e301fb5e39125cfa) &, const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b)) set the zone categories of all zones of the same zone category |
> | [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b) | [getZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#aefc5f51cf7ed4b2d2f7c887e28edb068) (const [ZoneIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga96bae07dc5559ed1e54e8b8919f11b96) zoneId) const get the zone category of a given zone by zone id |
> | void | [addVariableOfCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a5a34019a24cdc2b0198f5fd1f9169579) ([VariableIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae1bb05c41fbbd2e21c7b62cbe214b4be), [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b)) const |
> | std::string | [getApplicationName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a2c9e460ac858ffb8050c9e4c30c23eb9) () const Obtains the application name that was set by calling [setApplicationName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a37ac2d23d1b21376117cb574ea5aecd5) logging when writing a file. |
> | bool | [getActivePhase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#ac71e552c0ad9f94ec0b117f544e16dab) ([PhaseIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gac3312714419db4aa206bdeda4efa9223) &) const |
> | bool | [setActivePhase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#ab033b5affde5ab8b4ae0ff2bc27a1c57) ([PhaseIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gac3312714419db4aa206bdeda4efa9223)) const |
> | bool | [getActivePhase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#afa627cbd51a548d5e9d7357ee0ff879d) ([PhaseName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaec2c2963724097e7a913a6645b545682) &) const |
> | bool | [setActivePhase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#ae45bcd4e2a15aa09114e4f9767ce7b6a) (const [PhaseName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gaec2c2963724097e7a913a6645b545682) &) const |
> | void | [addTimeLevel](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a61b15533595d9c6fb16b083c1810f362) ([TimeLevelType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gabedb5244490da90f6098241bdc88e24c)) const |
> | bool | [setTimeLevel](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a8070844e08f8fd939cf1a23e1200f374) ([TimeLevelType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gabedb5244490da90f6098241bdc88e24c)) const |

## Data Precision

| Type | Name |
| - | - |
| void | [setDataPrecision](#ad74e63316298fa4468f604c380dbd6cf) ([DataPrecisionType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga2ecbf04cb65f31fde87a9c60a5bab3d6) ptype) Sets the precision for solution data. |
| [DataPrecisionType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga2ecbf04cb65f31fde87a9c60a5bab3d6) | [getDataPrecision](#a658b2e955f52915a3b685820e987a2e7) () const Get the precision of solution data. |

## DEPRECATED Set Data functions

| Type | Name |
| - | - |
| virtual void | [startWritingSet](#a36f6186095344c5feac93fea98f39a25) (const [DataClass](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gab852cc24891eb831942fb8da764d8ddb) dataClass, const [ZoneCategory](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ga1e26b7f9299129cd1edc8fdf99f2917b) cat, const std::string \&setName) |
| virtual void | [setSizesAndMinMaxIdsForSet](#a3052437abf2b14148e353792b3d6966b) (const std::vector\< size\_t > \&numElem, const std::vector\< [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) > \&minIndices, const std::vector\< [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) > \&maxIndices, const std::vector\< [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) > \&minId, const std::vector\< [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) > \&maxId) |
| virtual void | [startWritingIdsForSet](#af7764a11aa715efaa6dda8dabad3d9a3) (const std::vector\< [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) > \&minIndicies, const std::vector\< [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) > \&maxIndicies, const std::vector\< size\_t > \&numElem, const std::vector\< [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) > \&minElemIds, const std::vector\< [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) > \&maxElemIds) |
| virtual void | [setIdsForSetInRange](#a098a4291dd028e493ce5cd881cccfdd4) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minIndex, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxIndex, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) \*const setId, const size\_t dataSize) |
| virtual void | [endWritingIdsForSet](#a14c0d66a61f03dc13ae59ff4e2222451) () |
| virtual void | [startWritingDataOfVariableForSet](#ad32854ffb68ca8ad0003be2b3df0c79f) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const std::vector\< size\_t > numElem, const size\_t dim, const [PlainDataType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gaa26eac1911cb4a05854b39ca3d909615) type) |
| virtual void | [setDataOfVariableForSetInRange](#a37f3e903791289466417df7dd193146e) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const unsigned char \*const data, const size\_t dataSize) |
| virtual void | [setDataOfVariableForSetInRange](#a114ce818662c5c741267ac81356b64ea) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const char \*const data, const size\_t dataSize) |
| virtual void | [setDataOfVariableForSetInRange](#a754a6d8323bb270737d12e70981cde95) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const short \*const data, const size\_t dataSize) |
| virtual void | [setDataOfVariableForSetInRange](#a2da5a385f1e3590384f544707cfdc29f) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const unsigned int \*const data, const size\_t dataSize) |
| virtual void | [setDataOfVariableForSetInRange](#a84bb6c02a8cff6b16f9211fab9bd99f7) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const int \*const data, const size\_t dataSize) |
| virtual void | [setDataOfVariableForSetInRange](#a90ef71797a54d4cb05dffe97102c5e45) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const long \*const data, const size\_t dataSize) |
| virtual void | [setDataOfVariableForSetInRange](#a3c40c4a7774d5b4a79cd201224db935b) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const long long \*const data, const size\_t dataSize) |
| virtual void | [setDataOfVariableForSetInRange](#a7cd1101770e9256d75cd39a55f30a2d3) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const float \*const data, const size\_t dataSize) |
| virtual void | [setDataOfVariableForSetInRange](#aba7fd5651d9936acc13b97c50ec76a44) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const double \*const data, const size\_t dataSize) |
| virtual void | [setDataOfVariableForSetInRange](#aca0f104334d280d0c8696b459f9527a1) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const size\_t \*const data, const size\_t dataSize) |
| virtual void | [endWritingDataOfVariableForSet](#a61acdb0d119b88a72d8bc72a39559e75) () |
| virtual void | [startWritingSizeOfVariableForSet](#a6708a20726e1846c369cad217fa8bc19) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const std::vector\< size\_t > numElem, const [PlainDataType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gaa26eac1911cb4a05854b39ca3d909615) dataType=[PlainDataType::CFF\_DATATYPE\_SHORT](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ggaa26eac1911cb4a05854b39ca3d909615a5eff6001aa6d603e0b0ecfa9922cf95f)) |
| virtual void | [setSizeOfVariableForSetInRange](#adaa2b1bbf85981a27638618b98688ce2) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const [CountType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga7cdcbae326690d88fcdb07486a41d620) \*const counts, const size\_t dataSize) |
| virtual void | [setSizeOfVariableForSetInRange](#aaa9a360fc4c1dda78c7d4438e31f6261) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const [CountType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga7cdcbae326690d88fcdb07486a41d620) count, const size\_t dataSize) |
| virtual void | [setSizeOfVariableForSetInRange](#a66a400add60ff0f7d02296ee05c47857) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const int \*const counts, const size\_t dataSize) |
| virtual void | [setSizeOfVariableForSetInRange](#ad26fd34bbd31047ebdad2b315b509a1f) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const int count, const size\_t dataSize) |
| virtual void | [setSizeOfVariableForSetInRange](#ac56ea20adfd07dfc64cb97956ec095d7) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const size\_t \*const counts, const size\_t dataSize) |
| virtual void | [setSizeOfVariableForSetInRange](#aeb6d88214b82fe103e5e9460ecd0e49f) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const size\_t count, const size\_t dataSize) |
| virtual void | [endWritingSizeOfVariableForSet](#a561bfb06ea3bc653ef0c7fcf9edcc95d) () |
| virtual void | [startWritingVariableLengthedDataOfVariableForSet](#af2112da068059d3ede048e13ceba1b4b) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const [PlainDataType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#gaa26eac1911cb4a05854b39ca3d909615) type) |
| virtual void | [setVariableLengthedDataOfVariableForSetInRange](#af93268bc0f86b741906dd4775c73cb0a) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const unsigned char \*const data, const size\_t dataSize) |
| virtual void | [setVariableLengthedDataOfVariableForSetInRange](#a625041cd1703708328febd19445194c6) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const char \*const data, const size\_t dataSize) |
| virtual void | [setVariableLengthedDataOfVariableForSetInRange](#a4c5a2254949b3b4db3bc7f22c9b404f5) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const short \*const data, const size\_t dataSize) |
| virtual void | [setVariableLengthedDataOfVariableForSetInRange](#aa4d5336cc8228e636bafc4109888e50b) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const int \*const data, const size\_t dataSize) |
| virtual void | [setVariableLengthedDataOfVariableForSetInRange](#af629ff1300bd72d3f0651f1c39750b5e) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const unsigned int \*const data, const size\_t dataSize) |
| virtual void | [setVariableLengthedDataOfVariableForSetInRange](#a79566f43e1ca9f0caee33e78a4e22569) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const long \*const data, const size\_t dataSize) |
| virtual void | [setVariableLengthedDataOfVariableForSetInRange](#a7d44f629edc39e2b6871c3693ad6babe) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const long long \*const data, const size\_t dataSize) |
| virtual void | [setVariableLengthedDataOfVariableForSetInRange](#a858360c9ec07ffaabd0f590d6ee9fd3c) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const float \*const data, const size\_t dataSize) |
| virtual void | [setVariableLengthedDataOfVariableForSetInRange](#a05453efb77c7cc1215e8f6b2856016b5) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const double \*const data, const size\_t dataSize) |
| virtual void | [setVariableLengthedDataOfVariableForSetInRange](#ae73e021ca89a726e7b0a83f8e9e578dd) (const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) minId, const [ElemIdType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#gae50a482a800bfe94fe6b210685908107) maxId, const size\_t \*const data, const size\_t dataSize) |
| virtual void | [endWritingVariableLengthedDataOfVariableForSet](#a308e7ccbd79baf59a0eaa7408174b8d5) () |
| virtual void | [writeStringDataForSet](#aaf0c3a10ae93edf19585b65345dd7c56) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const std::string \&data) |
| virtual void | [writeOtherDataForSet](#a0d8f5dbcf74ed5491c1b723c1cc89a58) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const unsigned char \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSet](#a1a5874cda20960640ddb95d02bb7d9eb) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const char \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSet](#aab90235089ef9439469a60ad05d6d9ad) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const short \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSet](#ab897b59f7e1e1f10ebaca46994c76cc9) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const unsigned int \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSet](#a701b45b219eda1f4435920780c9b78ca) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const int \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSet](#a93c353483b337d3433a270b93a0aa282) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const long \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSet](#a9d4a8766ef0b107858d140f5572f8810) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const long long \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSet](#af343fd3383215ff98e14260bbc80c882) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const double \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSet](#a6fdeacdb590d7a554bfea5e2c8c29a33) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const float \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [writeOtherDataForSet](#a86b6d138aed033a2f4b705de98844d5e) (const [VariableName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga8b6411ff43380610eb20ed6f2e55292f) \&varName, const size\_t \*const data, const size\_t numCols, const size\_t numRows) |
| virtual void | [endWritingSet](#aa78b0e873e7c9e4e70ec458edc3855e7) () |

## Additional Inherited Members

> [accordion] Static Public Member Functions inherited from ansys::CffVersion
>
> Static Public Member Functions inherited from [ansys::CffVersion](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_version.md)
>
> | Type | Name |
> | - | - |
> | static unsigned int | [getMajor](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_version.md#a6eac2194e4845de8b13fc6654a6061db) () |
> | static unsigned int | [getMinor](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_version.md#ae580f388b6c6dd9e68db8433749da81e) () |
> | static unsigned int | [getPatch](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_version.md#ad1139980443eb9200c7c37e1a48433ac) () |
> | static std::string | [getSHA](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_version.md#a054bb0e156cf7a084145cd536399fcf1) () |
> | static bool | [isBeta](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_version.md#a49bba0b8a37276210f7e51c425ee4788) () |
> | static std::string | [apiVersionAsString](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_version.md#aba256dcc082e509be94d1c332a88f1dc) (const std::string \&separator=".") |
> | static std::string | [ansysApplicationVersion](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_version.md#a839a336d8430485ed81d1bafdc6671cc) (const std::string \&appName) |
> | static std::string | [copyright](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_version.md#a36112f9aea74b547d2d238c447ab89a9) (bool allRightsReserved) |

> [accordion] Static Public Attributes inherited from ansys::CffBase
>
> Static Public Attributes inherited from [ansys::CffBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md)
>
> | Type | Name |
> | - | - |
> | static std::string | [\_defaultSettingsPath](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a03d5187e85700144661d5dc477714202) = "settings" |

> [accordion] Protected Types inherited from ansys::CffBase
>
> Protected Types inherited from [ansys::CffBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md)
>
> | Type | Name |
> | - | - |
> | enum class | [UpdateMethod](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a1e830177b6b0f3a1ab06bd2679f8a801) \{ [CaseOnly](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a1e830177b6b0f3a1ab06bd2679f8a801aa0021edb3bd3a0360dad3a09fe2c2185) = 1 , [ResultsOnly](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a1e830177b6b0f3a1ab06bd2679f8a801ad0a948b0e19dfca30fe1b7fc8745cc52) , [CaseAndResults](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a1e830177b6b0f3a1ab06bd2679f8a801a3e88061dedbcbe68f2a2b719a774044d) } |

> [accordion] Protected Attributes inherited from ansys::CffBase
>
> Protected Attributes inherited from [ansys::CffBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md)
>
> | Type | Name |
> | - | - |
> | std::unique\_ptr\< DataInterface > | [\_data](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#abe68a138cc582d12caf4fe858a9c8c94) |
> | std::unique\_ptr\< const CffVariableAttributeProvider > | [\_varAttrProvider](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a6cc0f9a6020b6a1eb82f705ac2e4a0a2) |

## Detailed Description

Class that provides functions to write data within a CFF database. The database may be stored within a file or some other form of database but the functions provided in this class are common across all implementation and the data must be provided according to the rules defined in the CFF DataModels.

```cpp theme={null}
ansys::CffConsumer* consumer = ansys::getDataConsumer(ansys::FileType::CFF_GENERIC);
consumer->startWriting(ansys::DataClass::CFF_CASE);
// Write data through consumer
consumer->endWriting(ansys::DataClass::CFF_CASE);
delete consumer;
```

## Constructor & Destructor Documentation

### CffConsumer()

```cpp theme={null}
ansys::CffConsumer::CffConsumer(const std::string & applicationName = "Unknown")
```

Constructor.

### \~CffConsumer()

```cpp theme={null}
ansys::CffConsumer::~CffConsumer()
```

`virtual`

Destructor.

Destroys an instance of [CffConsumer](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_consumer.md)

## Member Function Documentation

### addPhaseName()

```cpp theme={null}
bool ansys::CffConsumer::addPhaseName(
    const PhaseName & phaseName,
    PhaseIdType & phaseId
) const
```

`virtual`

Append a phase name (existing phases are not removed)

> [!NOTE]
>
> If a phase name already exists it will return the existing phaseId

**Parameters**

| Name | Description |
| - | - |
| phaseName | \[in] - the phase to add |
| phaseId | \[out] - the associated phase id return \[out] - true if phase is defined or false |

### addPhaseNames()

```cpp theme={null}
bool ansys::CffConsumer::addPhaseNames(
    const PhaseNames & phaseNames,
    PhaseIds & phaseIds
) const
```

`virtual`

Append a number of phase names (existing phases are not removed)

> [!NOTE]
>
> If a phase name already exists it will return the existing phaseId

**Parameters**

| Name | Description |
| - | - |
| phaseNames | \[in] - the phase names to add |
| phaseIds | \[out] - the associated phase ids |

**Returns**

* true if phases are defined or false

### addPhaseVariable() \[1/3]

```cpp theme={null}
bool ansys::CffConsumer::addPhaseVariable(
    const PhaseName & phaseName,
    const VariableName & varName,
    VariableIdType & varId
) const
```

`virtual`

Add a variable to the specified phase.

> [!NOTE]
>
> If a variable already exists it will return the existing id

**Parameters**

| Name | Description |
| - | - |
| phaseName | \[in] - the phase in which to add the variable |
| varName | \[in] - the variable name to add |
| varId | \[out] - the variable id if successful |

**Returns**

* true if variable is defined or false

### addPhaseVariable() \[2/3]

```cpp theme={null}
bool ansys::CffConsumer::addPhaseVariable(
    const VariableName & variableName,
    VariableIdType & variableId
) const
```

`virtual`

Add a variable to the current phase.

> [!NOTE]
>
> If a variable already exists it will return the existing id

**Parameters**

| Name | Description |
| - | - |
| variableName | \[in] - the variable name to add |
| variableId | \[out] - the variable id if successful |

**Returns**

* true if variable is defined or false

### addPhaseVariable() \[3/3]

```cpp theme={null}
bool ansys::CffConsumer::addPhaseVariable(
    PhaseIdType phaseId,
    const VariableName & varName,
    VariableIdType & varId
) const
```

`virtual`

Add a variable.

> [!NOTE]
>
> If a variable already exists it will return the existing id

**Parameters**

| Name | Description |
| - | - |
| phaseId | \[in] - the phase in which to add the variable |
| varName | \[in] - the variable name to add |
| varId | \[out] - the variable id if successful return \[out] - true if variable is defined or false |

### addStringAttribute()

```cpp theme={null}
bool ansys::CffConsumer::addStringAttribute(
    const std::string & file,
    const std::string & path,
    const std::string & name,
    const std::string & strAtt
)
```

`virtual`

### cacheLocationModelState()

```cpp theme={null}
virtual void ansys::CffConsumer::cacheLocationModelState(const std::string & state) const
```

`inline` `protected` `virtual`

### endWriting()

```cpp theme={null}
virtual bool ansys::CffConsumer::endWriting(DataClass dataClass)
```

`inline` `virtual`

Reimplemented in [ansys::CffFileConsumer](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_file_consumer.md#ab2d78f6543b28ae60a625e04f531c4b5).

### endWritingCaseSectionCategories()

```cpp theme={null}
void ansys::CffConsumer::endWritingCaseSectionCategories() const
```

`virtual`

### endWritingCaseSectionDataForCategory()

```cpp theme={null}
void ansys::CffConsumer::endWritingCaseSectionDataForCategory() const
```

`virtual`

### endWritingCell0sForFaces()

```cpp theme={null}
void ansys::CffConsumer::endWritingCell0sForFaces() const
```

`virtual`

End of writing cell0 of faces.

### endWritingCell1sForFaces()

```cpp theme={null}
void ansys::CffConsumer::endWritingCell1sForFaces() const
```

`virtual`

End of writing cell1 of faces.

### endWritingCells()

```cpp theme={null}
void ansys::CffConsumer::endWritingCells() const
```

`virtual`

End of writing cells.

### endWritingChildCellCountsForCells()

```cpp theme={null}
void ansys::CffConsumer::endWritingChildCellCountsForCells() const
```

`virtual`

### endWritingChildCellIdsForCells()

```cpp theme={null}
void ansys::CffConsumer::endWritingChildCellIdsForCells() const
```

`virtual`

### endWritingChildCellsForCells()

```cpp theme={null}
void ansys::CffConsumer::endWritingChildCellsForCells() const
```

`virtual`

### endWritingChildFaceCountsForFaces()

```cpp theme={null}
void ansys::CffConsumer::endWritingChildFaceCountsForFaces() const
```

`virtual`

End writing refined child face counts.

### endWritingChildFaceIdsForFaces()

```cpp theme={null}
void ansys::CffConsumer::endWritingChildFaceIdsForFaces() const
```

`virtual`

Finish writing refined child face ids.

### endWritingChildFacesForFaces()

```cpp theme={null}
void ansys::CffConsumer::endWritingChildFacesForFaces() const
```

`virtual`

Finish writing refined child face data.

### endWritingChunkInPartiticleTrackGroup()

```cpp theme={null}
void ansys::CffConsumer::endWritingChunkInPartiticleTrackGroup()
```

`virtual`

Finish writing particle track data in chunk of particle track group.

### endWritingCoordinatesForNodes()

```cpp theme={null}
void ansys::CffConsumer::endWritingCoordinatesForNodes() const
```

`virtual`

Finish writing coordinates for nodes.

**See also**

[startWritingCoordinatesForNodes](#a0caf47b26c27b85aabc920428d0d1229), [setCoordinatesForNode](#a2729f8600097770418aac103cd766d91), [setCoordinatesForNodesInRange](#a0bc853af6f20d65902ebf55f70a0a5a0), [setCoordinatesForNodesInZone](#a22505ad0fe2b5bd55800733de96894aa)

### endWritingDataOfVariableForSet()

```cpp theme={null}
void ansys::CffConsumer::endWritingDataOfVariableForSet()
```

`virtual`

### endWritingEdges()

```cpp theme={null}
void ansys::CffConsumer::endWritingEdges() const
```

`virtual`

End writing data associated with edges.

**See also**

[startWritingEdges](#ac023ac57d5e2b4a0432cf9c65297d3bb), [startWritingNodesForEdges](#ae1da52f9264ba39d534fca35fa7c8742), [endWritingNodesForEdges](#ab02d01a0319c77ec3e29c603727abe83)

### endWritingFaceCountsForCells()

```cpp theme={null}
void ansys::CffConsumer::endWritingFaceCountsForCells() const
```

`virtual`

End of writing counts of cells faces.

### endWritingFaceIdsForCells()

```cpp theme={null}
void ansys::CffConsumer::endWritingFaceIdsForCells() const
```

`virtual`

End of writing ids of cells faces.

### endWritingFaces()

```cpp theme={null}
void ansys::CffConsumer::endWritingFaces() const
```

`virtual`

End of writing face data.

### endWritingFacesForCells()

```cpp theme={null}
void ansys::CffConsumer::endWritingFacesForCells() const
```

`virtual`

End of writing cells faces.

### endWritingIdsForSet()

```cpp theme={null}
void ansys::CffConsumer::endWritingIdsForSet()
```

`virtual`

### endWritingIdsForSetData()

```cpp theme={null}
void ansys::CffConsumer::endWritingIdsForSetData()
```

`virtual`

### endWritingInterfaceDataForFaces()

```cpp theme={null}
void ansys::CffConsumer::endWritingInterfaceDataForFaces() const
```

`virtual`

### endWritingNodeCountsForCells()

```cpp theme={null}
void ansys::CffConsumer::endWritingNodeCountsForCells() const
```

`virtual`

End of writing counts for cell nodes.

### endWritingNodeCountsForEdges()

```cpp theme={null}
void ansys::CffConsumer::endWritingNodeCountsForEdges() const
```

`virtual`

End writing the node counts for edges.

**See also**

[startWritingNodesForEdges](#ae1da52f9264ba39d534fca35fa7c8742), setNodeCountsForEdge, [setNodeCountsForEdgesInRange](#a39dcf00dc1b4297b6920a0111977fcb5), [setNodeCountsForEdgesInZone](#a6ca7df62dd02eeca915b1c2bb36293da), setNodeCountForEdgesInZone, [setUniformNodeCountForFacesInRange](#a60962015a5ff90ba967e6055f3b7af3d)

### endWritingNodeCountsForFaces()

```cpp theme={null}
void ansys::CffConsumer::endWritingNodeCountsForFaces() const
```

`virtual`

End writing faces node counts.

**See also**

[startWritingNodeCountsForFaces](#a0b627f3b4c48a5d85a0531588a9e2702), [setNodeCountForFace](#a05a03dffe5cd12a207710a30273ebdb6), [setNodeCountsForFacesInRange](#aa453272df7823b015fa7d18613186c9e), [setNodeCountsForFacesInZone](#ac8bb1e467c3609e2e152ff2bebbf275d), [setUniformNodeCountForEdgesInRange](#af28915b506a206223de8c6ffb495f0ca), [setUniformNodeCountForEdgesInZone](#a56c0c168c24d1f4f590e8673813f6965)

### endWritingNodeIdsForCells()

```cpp theme={null}
void ansys::CffConsumer::endWritingNodeIdsForCells() const
```

`virtual`

End of writing ids for cell nodes.

### endWritingNodeIdsForEdges()

```cpp theme={null}
void ansys::CffConsumer::endWritingNodeIdsForEdges() const
```

`virtual`

End writing node ids for edges.

**See also**

[startWritingNodeIdsForEdges](#a1078eaf395db588627bd2b8339f1eb2d), [setNodeIdsForEdge](#aa2c77bc5c881a5a725378e1d245399d0), [setNodeIdsForEdgesInRange](#af117d04c16bf86d4d6778b3edd844b18), [setNodeIdsForEdgesInZone](#adeb3136fc83b9b7e42ee1f3524a64c30)

### endWritingNodeIdsForFaces()

```cpp theme={null}
void ansys::CffConsumer::endWritingNodeIdsForFaces() const
```

`virtual`

End of writing faces node ids.

### endWritingNodes()

```cpp theme={null}
void ansys::CffConsumer::endWritingNodes() const
```

`virtual`

End writing nodes.

**See also**

[startWritingNodes](#a1343500f387f502a9f526018c098188a)

### endWritingNodesForCells()

```cpp theme={null}
void ansys::CffConsumer::endWritingNodesForCells() const
```

`virtual`

End of writing cell nodes.

### endWritingNodesForEdges()

```cpp theme={null}
void ansys::CffConsumer::endWritingNodesForEdges() const
```

`virtual`

End writing nodes for edges.

**See also**

[startWritingNodesForEdges](#ae1da52f9264ba39d534fca35fa7c8742), [startWritingNodeCountsForEdges](#ad2f567446a912d1973a7879bb1d0ddbf), [endWritingNodeCountsForEdges](#a2cbc029df682e6f44e28ccbd57d5c8a4), [startWritingNodeIdsForEdges](#a1078eaf395db588627bd2b8339f1eb2d), [endWritingNodeIdsForEdges](#ae916768c0d70c35b5333047e8f7f6e32)

### endWritingNodesForFaces()

```cpp theme={null}
void ansys::CffConsumer::endWritingNodesForFaces() const
```

`virtual`

End of writing faces nodes.

### endWritingParticleTracks()

```cpp theme={null}
void ansys::CffConsumer::endWritingParticleTracks()
```

`virtual`

Finish writing particle track group.

### endWritingPartiticleTrackGroup()

```cpp theme={null}
void ansys::CffConsumer::endWritingPartiticleTrackGroup()
```

`virtual`

Finish writing article track group.

### endWritingPartitionIdsForCells()

```cpp theme={null}
void ansys::CffConsumer::endWritingPartitionIdsForCells() const
```

`virtual`

End of writing partition ids for cells.

### endWritingPhase()

```cpp theme={null}
void ansys::CffConsumer::endWritingPhase() const
```

`virtual`

End of writing solution data for certain phase.

### endWritingPhaseVariableInZonesOfCategory()

```cpp theme={null}
void ansys::CffConsumer::endWritingPhaseVariableInZonesOfCategory() const
```

`virtual`

End of writing one variable in certain zone category.

### endWritingSet()

```cpp theme={null}
void ansys::CffConsumer::endWritingSet()
```

`virtual`

### endWritingSetData()

```cpp theme={null}
void ansys::CffConsumer::endWritingSetData()
```

`virtual`

### endWritingShadowFaceIdsForFaces()

```cpp theme={null}
void ansys::CffConsumer::endWritingShadowFaceIdsForFaces() const
```

`virtual`

End of writing shadow faces ids.

### endWritingSizeOfVariableForSet()

```cpp theme={null}
void ansys::CffConsumer::endWritingSizeOfVariableForSet()
```

`virtual`

### endWritingTimeLevel()

```cpp theme={null}
void ansys::CffConsumer::endWritingTimeLevel() const
```

### endWritingTypesForCells()

```cpp theme={null}
void ansys::CffConsumer::endWritingTypesForCells() const
```

`virtual`

End of writing cell types.

### endWritingVariableForSetData()

```cpp theme={null}
void ansys::CffConsumer::endWritingVariableForSetData()
```

`virtual`

### endWritingVariableLengthedDataOfVariableForSet()

```cpp theme={null}
void ansys::CffConsumer::endWritingVariableLengthedDataOfVariableForSet()
```

`virtual`

### endWritingVariableLengthVariableForSetData()

```cpp theme={null}
void ansys::CffConsumer::endWritingVariableLengthVariableForSetData()
```

`virtual`

### endWritingZonesOfCategory()

```cpp theme={null}
void ansys::CffConsumer::endWritingZonesOfCategory()
```

`virtual`

End of writing solution data in certain zone category.

### getDataPrecision()

```cpp theme={null}
DataPrecisionType ansys::CffConsumer::getDataPrecision() const
```

`protected`

Get the precision of solution data.

**Returns**

The data precision.

### getLastLogIndex()

```cpp theme={null}
int ansys::CffConsumer::getLastLogIndex(DataClass dataClass = DataClass::CFF_CASE) const
```

`protected` `virtual`

### inheritVariableAttributes() \[1/2]

```cpp theme={null}
bool ansys::CffConsumer::inheritVariableAttributes() const
```

`inline` `protected`

### inheritVariableAttributes() \[2/2]

```cpp theme={null}
virtual void ansys::CffConsumer::inheritVariableAttributes(bool inheritVariableAttributes)
```

`inline` `virtual`

### isWritingData()

```cpp theme={null}
bool ansys::CffConsumer::isWritingData() const
```

`virtual`

Used to determine if the [CFF\_RESULTS](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__enums.md#ggab852cc24891eb831942fb8da764d8ddbaacfdbe512195015b6446480e80caf4a4) model is available for writing.

**See also**

[startWriting](#acf12d6b60e936c525c8b5348d631ec78), [endWriting](#ae4443a3ec02f80e0b2b718220347a4ea)

### log()

```cpp theme={null}
virtual void ansys::CffConsumer::log(
    const std::vector< std::pair< std::string, std::string > >,
    DataClass = DataClass::CFF_CASE
)
```

`inline` `virtual`

### setAttributeValueOfPhase() \[1/3]

```cpp theme={null}
bool ansys::CffConsumer::setAttributeValueOfPhase(
    const AttributeName & name,
    const AttributeValue & value
) const
```

`virtual`

Set the value of an attribute in the active phase

**Parameters**

| Name | Description |
| - | - |
| name | \[in] - the attribute name to set |
| value | \[in] - the attribute value to store return \[out] - true if successful, or false |

### setAttributeValueOfPhase() \[2/3]

```cpp theme={null}
bool ansys::CffConsumer::setAttributeValueOfPhase(
    const PhaseName & phaseName,
    const AttributeName & name,
    const AttributeValue & value
) const
```

`virtual`

Set the value of an attribute in a phase

**Parameters**

| Name | Description |
| - | - |
| phaseName | \[in] - the phase the attribute the associated with |
| name | \[in] - the attribute name to set |
| value | \[in] - the attribute value to store return \[out] - true if successful, or false |

### setAttributeValueOfPhase() \[3/3]

```cpp theme={null}
bool ansys::CffConsumer::setAttributeValueOfPhase(
    PhaseIdType phaseId,
    const AttributeName & name,
    const AttributeValue & value
) const
```

`virtual`

Set the value of an attribute in a phase

**Parameters**

| Name | Description |
| - | - |
| phaseId | \[in] - the phase the attribute the associated with |
| name | \[in] - the attribute name to set |
| value | \[in] - the attribute value to store return \[out] - true if successful, or false |

### setAttributeValueOfPhaseVariable() \[1/3]

```cpp theme={null}
bool ansys::CffConsumer::setAttributeValueOfPhaseVariable(
    const VariableName & varName,
    const AttributeName & name,
    const AttributeValue & value
) const
```

`virtual`

Set the value of an attribute in a variable in the active phase

**Parameters**

| Name | Description |
| - | - |
| varName | (in) - the variable the attribute the associated with |
| name | (in) - the attribute name to set |
| value | (in) - the attribute value to store return (out) - true if successful, or false |

### setAttributeValueOfPhaseVariable() \[2/3]

```cpp theme={null}
bool ansys::CffConsumer::setAttributeValueOfPhaseVariable(
    PhaseIdType phaseId,
    const VariableName & varName,
    const AttributeName & name,
    const AttributeValue & value
) const
```

`virtual`

Set the value of an attribute in a variable in the supplied phase

**Parameters**

| Name | Description |
| - | - |
| phaseId | (in) - the phase the variable belongs to |
| varName | (in) - the variable the attribute the associated with |
| name | (in) - the attribute name to set |
| value | (in) - the attribute value to store return (out) - true if successful, or false |

### setAttributeValueOfPhaseVariable() \[3/3]

```cpp theme={null}
bool ansys::CffConsumer::setAttributeValueOfPhaseVariable(
    VariableIdType varId,
    const AttributeName & name,
    const AttributeValue & value
) const
```

`virtual`

Set the value of an attribute in a variable in the active phase

**Parameters**

| Name | Description |
| - | - |
| varId | (in) - the variable the attribute the associated with |
| name | (in) - the attribute name to set |
| value | (in) - the attribute value to store return (out) - true if successful, or false |

### setCaseSectionDataForElementsInRange()

```cpp theme={null}
void ansys::CffConsumer::setCaseSectionDataForElementsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const void * const data,
    const size_t dataSize
) const
```

`virtual`

### setCaseSectionDataForElementsInZone()

```cpp theme={null}
void ansys::CffConsumer::setCaseSectionDataForElementsInZone(
    const ZoneIdType zoneId,
    const void * const data,
    const size_t dataSize
) const
```

`virtual`

### setCell0ForFace()

```cpp theme={null}
void ansys::CffConsumer::setCell0ForFace(
    const ElemIdType faceId,
    const ElemIdType faceC0
) const
```

`virtual`

set the c0 cell id of single face

**Parameters**

| Name | Description |
| - | - |
| faceId | \[in] - face Id |
| faceC0 | \[in] - the cell on the side 0 of the face |

### setCell0sForFacesInRange()

```cpp theme={null}
void ansys::CffConsumer::setCell0sForFacesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const ElemIdType *const faceC0s,
    const size_t dataSize
) const
```

`virtual`

set the c0 cell ids of faces in a range

1. Will set c0 cell ids for all faces, whose face id is between minId and maxId 2) The face ids are supposed to be continuous in the range

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - minimum Id |
| maxId | \[in] - maximum Id |
| faceC0s | \[in] - c0 cell ids |
| dataSize | \[in] - data size |

### setCell0sForFacesInZone()

```cpp theme={null}
void ansys::CffConsumer::setCell0sForFacesInZone(
    const ZoneIdType zoneId,
    const ElemIdType *const faceC0s,
    const size_t dataSize
) const
```

`virtual`

set the c0 cell ids for all faces in a face zone

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - face zone Id |
| faceC0s | \[in] - c0 cell ids |
| dataSize | \[in] - data size |

### setCell1ForFace()

```cpp theme={null}
void ansys::CffConsumer::setCell1ForFace(
    const ElemIdType faceId,
    const ElemIdType faceC1
) const
```

`virtual`

set the c1 cell id of single face

**Parameters**

| Name | Description |
| - | - |
| faceId | \[in] - face Id |
| faceC1 | \[in] - the cell on the side 1 of the face |

### setCell1sForFacesInRange()

```cpp theme={null}
void ansys::CffConsumer::setCell1sForFacesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const ElemIdType *const faceC1s,
    const size_t dataSize
) const
```

`virtual`

set the c1 cell ids of faces in a range

1. Will set c1 cell ids for all faces, whose face id is between minId and maxId 2) The face ids are supposed to be continuous in the range

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - minimum Id |
| maxId | \[in] - maximum Id |
| faceC1s | \[in] - c1 cell ids |
| dataSize | \[in] - data size |

### setCell1sForFacesInZone()

```cpp theme={null}
void ansys::CffConsumer::setCell1sForFacesInZone(
    const ZoneIdType zoneId,
    const ElemIdType *const faceC1s,
    const size_t dataSize
) const
```

`virtual`

set the c1 cell ids for all faces in a face zone

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - face zone Id |
| faceC1s | \[in] - c1 cell ids |
| dataSize | \[in] - data size |

### setChildCellCountForCell()

```cpp theme={null}
void ansys::CffConsumer::setChildCellCountForCell(
    const ElemIdType cellId,
    const short childCount
) const
```

`virtual`

### setChildCellCountsForCellsInRange()

```cpp theme={null}
void ansys::CffConsumer::setChildCellCountsForCellsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short * const childCounts,
    const size_t dataSize
) const
```

`virtual`

### setChildCellCountsForCellsInZone()

```cpp theme={null}
void ansys::CffConsumer::setChildCellCountsForCellsInZone(
    const ZoneIdType zoneId,
    const short * const childCounts,
    const size_t dataSize
) const
```

`virtual`

### setChildCellIdsForCell()

```cpp theme={null}
void ansys::CffConsumer::setChildCellIdsForCell(
    const ElemIdType cellId,
    const ElemIdType *const childIds,
    const size_t dataSize
) const
```

`virtual`

### setChildCellIdsForCellsInRange()

```cpp theme={null}
void ansys::CffConsumer::setChildCellIdsForCellsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const ElemIdType * const childIds,
    const size_t dataSize
) const
```

`virtual`

### setChildCellIdsForCellsInZone()

```cpp theme={null}
void ansys::CffConsumer::setChildCellIdsForCellsInZone(
    const ZoneIdType zoneId,
    const ElemIdType * const childIds,
    const size_t dataSize
) const
```

`virtual`

### setChildFaceCountForFace()

```cpp theme={null}
void ansys::CffConsumer::setChildFaceCountForFace(
    const ElemIdType faceId,
    const short childCount
) const
```

`virtual`

Set a refined child face count for a single face.

### setChildFaceCountsForFacesInRange()

```cpp theme={null}
void ansys::CffConsumer::setChildFaceCountsForFacesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short * const childCounts,
    const size_t dataSize
) const
```

`virtual`

Set a refined child face counts for a range of faces.

### setChildFaceCountsForFacesInZone()

```cpp theme={null}
void ansys::CffConsumer::setChildFaceCountsForFacesInZone(
    const ZoneIdType zoneId,
    const short * const childCounts,
    const size_t dataSize
) const
```

`virtual`

Set a refined child face counts for all faces in a zone.

### setChildFaceIdsForFace()

```cpp theme={null}
void ansys::CffConsumer::setChildFaceIdsForFace(
    const ElemIdType faceId,
    const ElemIdType *const childIds,
    const size_t dataSize
) const
```

`virtual`

Write refined child face ids for a face.

### setChildFaceIdsForFacesInRange()

```cpp theme={null}
void ansys::CffConsumer::setChildFaceIdsForFacesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const ElemIdType * const childIds,
    const size_t dataSize
) const
```

`virtual`

Write refined child face ids for faces in a range.

### setChildFaceIdsForFacesInZone()

```cpp theme={null}
void ansys::CffConsumer::setChildFaceIdsForFacesInZone(
    const ZoneIdType zoneId,
    const ElemIdType * const childIds,
    const size_t dataSize
) const
```

`virtual`

Write refined child face ids for all faces in a zone.

### setCompression()

```cpp theme={null}
virtual void ansys::CffConsumer::setCompression(int compression)
```

`inline` `virtual`

### setCoordinatesForNode() \[1/2]

```cpp theme={null}
void ansys::CffConsumer::setCoordinatesForNode(
    const ElemIdType nodeId,
    const double *const coords,
    const size_t dataSize
) const
```

`virtual`

Define the coordinates for a specific node (double precision)

**Parameters**

| Name | Description |
| - | - |
| nodeId | \[in] - The node for which to set coordinates |
| coords | \[in] - The coordinates |
| dataSize | \[in] - The size of the coordinates array |

> [!NOTE]
>
> For a 2D mesh dataSize will be 2, for a 3D mesh it wil be 3

**See also**

[startWritingCoordinatesForNodes](#a0caf47b26c27b85aabc920428d0d1229), [setCoordinatesForNodesInRange](#a0bc853af6f20d65902ebf55f70a0a5a0) [setCoordinatesForNodesInZone](#a22505ad0fe2b5bd55800733de96894aa), [endWritingCoordinatesForNodes](#a720cf2a53b71c1b99ff26ca5f73d8c22)

### setCoordinatesForNode() \[2/2]

```cpp theme={null}
void ansys::CffConsumer::setCoordinatesForNode(
    const ElemIdType nodeId,
    const float *const coords,
    const size_t dataSize
) const
```

`virtual`

Define the coordinates for a specific node (single precision)

**Parameters**

| Name | Description |
| - | - |
| nodeId | \[in] - The node for which to set coordinates |
| coords | \[in] - The coordinates |
| dataSize | \[in] - The size of the coordinates array |

> [!NOTE]
>
> For a 2D mesh dataSize will be 2, for a 3D mesh it wil be 3

**See also**

[startWritingCoordinatesForNodes](#a0caf47b26c27b85aabc920428d0d1229), [setCoordinatesForNodesInRange](#a0bc853af6f20d65902ebf55f70a0a5a0) [setCoordinatesForNodesInZone](#a22505ad0fe2b5bd55800733de96894aa), [endWritingCoordinatesForNodes](#a720cf2a53b71c1b99ff26ca5f73d8c22)

### setCoordinatesForNodesInRange() \[1/2]

```cpp theme={null}
void ansys::CffConsumer::setCoordinatesForNodesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const double *const coords,
    const size_t dataSize
) const
```

`virtual`

Provide the coordinates for all nodes in range.

The nodes for which coordinates will be set must be between the minId and maxId passed as arguments and will encompass all nodes in that range

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - First node |
| maxId | \[in] - Last node |
| coords | \[in] - The coordinates for all nodes |
| dataSize | \[in] - The size of the coordinates array |

**See also**

[startWritingCoordinatesForNodes](#a0caf47b26c27b85aabc920428d0d1229), [setCoordinatesForNode](#a2729f8600097770418aac103cd766d91), [setCoordinatesForNodesInZone](#a22505ad0fe2b5bd55800733de96894aa), [endWritingCoordinatesForNodes](#a720cf2a53b71c1b99ff26ca5f73d8c22)

### setCoordinatesForNodesInRange() \[2/2]

```cpp theme={null}
void ansys::CffConsumer::setCoordinatesForNodesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const float *const coords,
    const size_t dataSize
) const
```

`virtual`

Provide the coordinates for all nodes in range.

The nodes for which coordinates will be set must be between the minId and maxId passed as arguments and will encompass all nodes in that range

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - First node |
| maxId | \[in] - Last node |
| coords | \[in] - The coordinates for all nodes |
| dataSize | \[in] - The size of the coordinates array |

**See also**

[startWritingCoordinatesForNodes](#a0caf47b26c27b85aabc920428d0d1229), [setCoordinatesForNode](#a2729f8600097770418aac103cd766d91), [setCoordinatesForNodesInZone](#a22505ad0fe2b5bd55800733de96894aa), [endWritingCoordinatesForNodes](#a720cf2a53b71c1b99ff26ca5f73d8c22)

### setCoordinatesForNodesInZone() \[1/2]

```cpp theme={null}
void ansys::CffConsumer::setCoordinatesForNodesInZone(
    const ZoneIdType zoneId,
    const double *const coords,
    const size_t dataSize
) const
```

`virtual`

Provide the coordinates for all nodes in zone.

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - The node zone for which coordinates are provided |
| coords | \[in] - The coordinates for all nodes in the zone |
| dataSize | \[in] - The size of the coordinates array |

**See also**

[startWritingCoordinatesForNodes](#a0caf47b26c27b85aabc920428d0d1229), [setCoordinatesForNode](#a2729f8600097770418aac103cd766d91), [setCoordinatesForNodesInRange](#a0bc853af6f20d65902ebf55f70a0a5a0), [endWritingCoordinatesForNodes](#a720cf2a53b71c1b99ff26ca5f73d8c22)

### setCoordinatesForNodesInZone() \[2/2]

```cpp theme={null}
void ansys::CffConsumer::setCoordinatesForNodesInZone(
    const ZoneIdType zoneId,
    const float *const coords,
    const size_t dataSize
) const
```

`virtual`

Provide the coordinates for all nodes in zone.

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - The node zone for which coordinates are provided |
| coords | \[in] - The coordinates for all nodes in the zone |
| dataSize | \[in] - The size of the coordinates array |

**See also**

[startWritingCoordinatesForNodes](#a0caf47b26c27b85aabc920428d0d1229), [setCoordinatesForNode](#a2729f8600097770418aac103cd766d91), [setCoordinatesForNodesInRange](#a0bc853af6f20d65902ebf55f70a0a5a0), [endWritingCoordinatesForNodes](#a720cf2a53b71c1b99ff26ca5f73d8c22)

### setDataOfVariableForSetInRange() \[1/10]

```cpp theme={null}
void ansys::CffConsumer::setDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const char *const data,
    const size_t dataSize
)
```

`virtual`

### setDataOfVariableForSetInRange() \[2/10]

```cpp theme={null}
void ansys::CffConsumer::setDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const double *const data,
    const size_t dataSize
)
```

`virtual`

### setDataOfVariableForSetInRange() \[3/10]

```cpp theme={null}
void ansys::CffConsumer::setDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const float *const data,
    const size_t dataSize
)
```

`virtual`

### setDataOfVariableForSetInRange() \[4/10]

```cpp theme={null}
void ansys::CffConsumer::setDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const int *const data,
    const size_t dataSize
)
```

`virtual`

### setDataOfVariableForSetInRange() \[5/10]

```cpp theme={null}
void ansys::CffConsumer::setDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const long *const data,
    const size_t dataSize
)
```

`virtual`

### setDataOfVariableForSetInRange() \[6/10]

```cpp theme={null}
void ansys::CffConsumer::setDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const long long *const data,
    const size_t dataSize
)
```

`virtual`

### setDataOfVariableForSetInRange() \[7/10]

```cpp theme={null}
void ansys::CffConsumer::setDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short *const data,
    const size_t dataSize
)
```

`virtual`

### setDataOfVariableForSetInRange() \[8/10]

```cpp theme={null}
void ansys::CffConsumer::setDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const size_t *const data,
    const size_t dataSize
)
```

`virtual`

### setDataOfVariableForSetInRange() \[9/10]

```cpp theme={null}
void ansys::CffConsumer::setDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const unsigned char *const data,
    const size_t dataSize
)
```

`virtual`

### setDataOfVariableForSetInRange() \[10/10]

```cpp theme={null}
void ansys::CffConsumer::setDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const unsigned int *const data,
    const size_t dataSize
)
```

`virtual`

### setDataPrecision()

```cpp theme={null}
void ansys::CffConsumer::setDataPrecision(DataPrecisionType ptype)
```

Sets the precision for solution data.

**Parameters**

| Name | Description |
| - | - |
| ptype | \[in] - The precision of the data |

**See also**

[DataPrecisionType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga18f67b3416e75030b241246c774f1d2c)

### setFaceCountForCell()

```cpp theme={null}
void ansys::CffConsumer::setFaceCountForCell(
    const ElemIdType cellId,
    const short faceCount
) const
```

`virtual`

set the face count for single cell

**Parameters**

| Name | Description |
| - | - |
| cellId | \[in] - cell Id |
| faceCount | \[in] - face count of the cell element |

### setFaceCountsForCellsInRange()

```cpp theme={null}
void ansys::CffConsumer::setFaceCountsForCellsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short *const faceCounts,
    const size_t dataSize
) const
```

`virtual`

Set the face counts for several cells.

1. Will set face counts for all cells, whose element id is between minId and maxId 2) The cell element ids are supposed to be continuous in the range

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - minimum Id |
| maxId | \[in] - maximum Id |
| faceCounts | \[in] - face counts data |
| dataSize | \[in] - data size |

### setFaceCountsForCellsInZone()

```cpp theme={null}
void ansys::CffConsumer::setFaceCountsForCellsInZone(
    const ZoneIdType zoneId,
    const short *const faceCounts,
    const size_t dataSize
) const
```

`virtual`

set the face counts for all cells in an cells zone

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - edge zone Id |
| faceCounts | \[in] - face counts |
| dataSize | \[in] - data size |

### setFaceIdsForCell()

```cpp theme={null}
void ansys::CffConsumer::setFaceIdsForCell(
    const ElemIdType cellId,
    const ElemIdType *const faceIds,
    const size_t dataSize
) const
```

`virtual`

set the face ids of single cell

**Parameters**

| Name | Description |
| - | - |
| cellId | \[in] - cell Id |
| faceIds | \[in] - face Ids |
| dataSize | \[in] - data size |

### setFaceIdsForCellsInRange()

```cpp theme={null}
void ansys::CffConsumer::setFaceIdsForCellsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const ElemIdType *const FaceIds,
    const size_t dataSize
) const
```

`virtual`

set the face ids of cells in a range

1. Will set face ids for all cells, whose element id is between minId and maxId 2) The cell ids are supposed to be continuous in the range

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - minimum Id |
| maxId | \[in] - maximum Id |
| FaceIds | \[in] - face Ids |
| dataSize | \[in] - data size |

### setFaceIdsForCellsInZone()

```cpp theme={null}
void ansys::CffConsumer::setFaceIdsForCellsInZone(
    const ZoneIdType zoneId,
    const ElemIdType *const faceIds,
    const size_t dataSize
) const
```

`virtual`

set the face ids for all cells in a cell zone

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - cell zone Id |
| faceIds | \[in] - face Ids |
| dataSize | \[in] - data size |

### setIdsForSetData()

```cpp theme={null}
size_t ansys::CffConsumer::setIdsForSetData(
    const ElemIdType *const setId,
    const size_t dataSize,
    const size_t chunkId = 0
)
```

`virtual`

### setIdsForSetInRange()

```cpp theme={null}
void ansys::CffConsumer::setIdsForSetInRange(
    const ElemIdType minIndex,
    const ElemIdType maxIndex,
    const ElemIdType minId,
    const ElemIdType maxId,
    const ElemIdType *const setId,
    const size_t dataSize
)
```

`virtual`

### setInterfaceDataForFacesInZone() \[1/2]

```cpp theme={null}
void ansys::CffConsumer::setInterfaceDataForFacesInZone(
    const ZoneIdType zoneId,
    const double * const area,
    const size_t areaSize,
    const double * const centroid,
    const size_t centroidSize,
    const size_t * const pf0Ids,
    const size_t pf0Size,
    const size_t * const pf1Ids = NULL,
    const size_t pf1Size = 0
) const
```

`virtual`

### setInterfaceDataForFacesInZone() \[2/2]

```cpp theme={null}
void ansys::CffConsumer::setInterfaceDataForFacesInZone(
    const ZoneIdType zoneId,
    const float * const area,
    const size_t areaSize,
    const float * const centroid,
    const size_t centroidSize,
    const size_t * const pf0Ids,
    const size_t pf0Size,
    const size_t * const pf1Ids = NULL,
    const size_t pf1Size = 0
) const
```

`virtual`

### setIOMode()

```cpp theme={null}
virtual void ansys::CffConsumer::setIOMode(IOMode ioMode)
```

`inline` `virtual`

### setLocalElemIdsInZone()

```cpp theme={null}
void ansys::CffConsumer::setLocalElemIdsInZone(
    const ZoneIdType zoneId,
    const ElemIdType *const elemIds,
    const size_t dataSize
)
```

`virtual`

Provide a local element mapping to global element mapping.

When writing a file in serial write mode, the data that will be written will be associated with the element ids provided by the zone information. However, when writing in parallel the may only be provided for part of the zone in which case this function should be provided such that it represents the element ids for which data is being provided.

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - The zone for which data is being provided |
| elemIds | \[in] - The global element ids for the data being provided |
| dataSize | \[in] - The number of element ids provided |

**See also**

[setIOMode](#a2762ddae4740e0f4b9ba151a7ab13f7a) and [ansys::IOMode](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/group__typedefs.md#ga04c6c99ed7a91578e061064a3933f121)

### setLocationModel()

```cpp theme={null}
void ansys::CffConsumer::setLocationModel(const CffLocationModel * locationModel) const
```

Write the location model.

**Parameters**

| Name | Description |
| - | - |
| locationModel | \[in] - The location model object to write to the CFF\_CASE model. |

### setMPIComm()

```cpp theme={null}
virtual void ansys::CffConsumer::setMPIComm(void * mpiComm)
```

`inline` `virtual`

### setNodeCountForCell()

```cpp theme={null}
void ansys::CffConsumer::setNodeCountForCell(
    const ElemIdType cellId,
    const short nodeCount
) const
```

`virtual`

set the node count for single cell

**Parameters**

| Name | Description |
| - | - |
| cellId | \[in] - cell Id |
| nodeCount | \[in] - node count of the cell element |

### setNodeCountForEdge()

```cpp theme={null}
void ansys::CffConsumer::setNodeCountForEdge(
    const ElemIdType edgeId,
    const short nodeCount
) const
```

`virtual`

Set the number of nodes that define an edge.

**Parameters**

| Name | Description |
| - | - |
| edgeId | \[in] - The edge |
| nodeCount | \[in] - The number of nodes for the edge |

**See also**

[startWritingNodeCountsForEdges](#ad2f567446a912d1973a7879bb1d0ddbf), [setNodeCountsForEdgesInRange](#a39dcf00dc1b4297b6920a0111977fcb5), [setNodeCountsForEdgesInZone](#a6ca7df62dd02eeca915b1c2bb36293da), [setUniformNodeCountForEdgesInZone](#a56c0c168c24d1f4f590e8673813f6965), [setUniformNodeCountForFacesInZone](#afaa280db096bda07f2e9b49c85eac30b) [setNodeCountsForEdgesInZone](#a6ca7df62dd02eeca915b1c2bb36293da), [setUniformNodeCountForEdgesInZone](#a56c0c168c24d1f4f590e8673813f6965), [setUniformNodeCountForFacesInZone](#afaa280db096bda07f2e9b49c85eac30b) [endWritingNodeCountsForEdges](#a2cbc029df682e6f44e28ccbd57d5c8a4)

### setNodeCountForFace()

```cpp theme={null}
void ansys::CffConsumer::setNodeCountForFace(
    const ElemIdType faceId,
    const short nodeCount
) const
```

`virtual`

Define the node count for the face supplied.

**Parameters**

| Name | Description |
| - | - |
| faceId | \[in] - The face for which the count is supplied |
| nodeCount | \[in] - The node count of that face |

**See also**

startWritingNodeCOuntsForFaces, [setNodeCountsForFacesInRange](#aa453272df7823b015fa7d18613186c9e), [setNodeCountsForFacesInZone](#ac8bb1e467c3609e2e152ff2bebbf275d), [setUniformNodeCountForEdgesInRange](#af28915b506a206223de8c6ffb495f0ca), [setUniformNodeCountForEdgesInZone](#a56c0c168c24d1f4f590e8673813f6965), [endWritingNodeCountsForFaces](#a996757c12475874c4a0e8e4a6c8268cf)

### setNodeCountsForCellsInRange()

```cpp theme={null}
void ansys::CffConsumer::setNodeCountsForCellsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short *const nodeCounts,
    const size_t dataSize
) const
```

`virtual`

Set the node counts for several cells.

1. Will set node counts for all cells, whose element id is between minId and maxId 2) The cell element ids are supposed to be continuous in the range

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - minimum Id |
| maxId | \[in] - maximum Id |
| nodeCounts | \[in] - node counts data |
| dataSize | \[in] - data size |

### setNodeCountsForCellsInZone()

```cpp theme={null}
void ansys::CffConsumer::setNodeCountsForCellsInZone(
    const ZoneIdType zoneId,
    const short *const nodeCounts,
    const size_t dataSize
) const
```

`virtual`

set the node counts for all cells in an cell zone

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - edge zone Id |
| nodeCounts | \[in] - node counts |
| dataSize | \[in] - data size |

### setNodeCountsForEdgesInRange()

```cpp theme={null}
void ansys::CffConsumer::setNodeCountsForEdgesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short *const nodeCounts,
    const size_t dataSize
) const
```

`virtual`

Set the number of nodes that define a range of edges.

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - The first edge in the range |
| maxId | \[in] - The final edge in the range |
| nodeCounts | \[in] - The node counts for all edges in the range |
| dataSize | \[in] - The size of the nodeCounts array |

**See also**

[startWritingNodeCountsForEdges](#ad2f567446a912d1973a7879bb1d0ddbf), setNodeCountsForEdge, [setNodeCountsForEdgesInZone](#a6ca7df62dd02eeca915b1c2bb36293da), [setUniformNodeCountForEdgesInZone](#a56c0c168c24d1f4f590e8673813f6965), [setUniformNodeCountForFacesInZone](#afaa280db096bda07f2e9b49c85eac30b) [endWritingNodeCountsForEdges](#a2cbc029df682e6f44e28ccbd57d5c8a4)

### setNodeCountsForEdgesInZone()

```cpp theme={null}
void ansys::CffConsumer::setNodeCountsForEdgesInZone(
    const ZoneIdType zoneId,
    const short *const nodeCounts,
    const size_t dataSize
) const
```

`virtual`

Set the number of nodes that define a edge zone.

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - The zone for which counts are supplied |
| nodeCounts | \[in] - The node counts for all edges in the zone |
| dataSize | \[in] - The size of the nodeCounts array |

**See also**

[startWritingNodeCountsForEdges](#ad2f567446a912d1973a7879bb1d0ddbf), setNodeCountsForEdge, [setNodeCountsForEdgesInRange](#a39dcf00dc1b4297b6920a0111977fcb5), [setUniformNodeCountForEdgesInZone](#a56c0c168c24d1f4f590e8673813f6965), [setUniformNodeCountForFacesInZone](#afaa280db096bda07f2e9b49c85eac30b) [endWritingNodeCountsForEdges](#a2cbc029df682e6f44e28ccbd57d5c8a4)

### setNodeCountsForFacesInRange()

```cpp theme={null}
void ansys::CffConsumer::setNodeCountsForFacesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short *const nodeCounts,
    const size_t dataSize
) const
```

`virtual`

Define the node count for the faces in the range supplied.

> [!NOTE]
>
> The range must be continuous and so the number of counts supplied will equal the size of the range

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - The first face for which counts are supplied |
| maxId | \[in] - The last face for which counts are supplied |
| nodeCounts | \[in] - The node counts |
| dataSize | \[in] - The size of the nodeCounts array |

**See also**

[startWritingNodeCountsForFaces](#a0b627f3b4c48a5d85a0531588a9e2702), [setNodeCountForFace](#a05a03dffe5cd12a207710a30273ebdb6), [setNodeCountsForFacesInZone](#ac8bb1e467c3609e2e152ff2bebbf275d), [setUniformNodeCountForEdgesInRange](#af28915b506a206223de8c6ffb495f0ca), [setUniformNodeCountForEdgesInZone](#a56c0c168c24d1f4f590e8673813f6965), [endWritingNodeCountsForFaces](#a996757c12475874c4a0e8e4a6c8268cf)

### setNodeCountsForFacesInZone()

```cpp theme={null}
void ansys::CffConsumer::setNodeCountsForFacesInZone(
    const ZoneIdType zoneId,
    const short *const nodeCounts,
    const size_t dataSize
) const
```

`virtual`

Define the node count for the faces in the zone.

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - The zone for which counts are supplied |
| nodeCounts | \[in] - The node counts |
| dataSize | \[in] - The size of the nodeCounts array |

**See also**

[startWritingNodeCountsForFaces](#a0b627f3b4c48a5d85a0531588a9e2702), [setNodeCountForFace](#a05a03dffe5cd12a207710a30273ebdb6), [setNodeCountsForFacesInRange](#aa453272df7823b015fa7d18613186c9e), [setUniformNodeCountForEdgesInRange](#af28915b506a206223de8c6ffb495f0ca), [setUniformNodeCountForEdgesInZone](#a56c0c168c24d1f4f590e8673813f6965), [endWritingNodeCountsForFaces](#a996757c12475874c4a0e8e4a6c8268cf)

### setNodeIdsForCell()

```cpp theme={null}
void ansys::CffConsumer::setNodeIdsForCell(
    const ElemIdType cellId,
    const ElemIdType *const nodeIds,
    const size_t dataSize
) const
```

`virtual`

set the node ids of single cell

**Parameters**

| Name | Description |
| - | - |
| cellId | \[in] - cell Id |
| nodeIds | \[in] - node Ids |
| dataSize | \[in] - data size |

### setNodeIdsForCellsInRange()

```cpp theme={null}
void ansys::CffConsumer::setNodeIdsForCellsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const ElemIdType *const nodeIds,
    const size_t dataSize
) const
```

`virtual`

set the node ids of cells in a range

1. Will set node ids for all cells, whose cell element id is between minId and maxId 2) The cell ids are supposed to be continuous in the range

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - minimum Id |
| maxId | \[in] - maximum Id |
| nodeIds | \[in] - node Ids |
| dataSize | \[in] - data size |

### setNodeIdsForCellsInZone()

```cpp theme={null}
void ansys::CffConsumer::setNodeIdsForCellsInZone(
    const ZoneIdType zoneId,
    const ElemIdType *const nodeIds,
    const size_t dataSize
) const
```

`virtual`

set the node ids for all cells in a cell zone

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - cell zone Id |
| nodeIds | \[in] - node Ids |
| dataSize | \[in] - data size |

### setNodeIdsForEdge()

```cpp theme={null}
void ansys::CffConsumer::setNodeIdsForEdge(
    const ElemIdType edgeId,
    const ElemIdType *const nodeIds,
    const size_t dataSize
) const
```

`virtual`

Provide the ids of the nodes for a single edge.

**Parameters**

| Name | Description |
| - | - |
| edgeId | \[in] - The edge for which nodes are supplied |
| nodeIds | \[in] - The nodes defining the edge |
| dataSize | \[in] - The size of the nodeIds array |

> [!NOTE]
>
> dataSize should be the same as the node count previously supplied for the edge being defined

**See also**

[startWritingNodeIdsForEdges](#a1078eaf395db588627bd2b8339f1eb2d)\ [setNodeIdsForEdgesInRange](#af117d04c16bf86d4d6778b3edd844b18), [setNodeIdsForEdgesInZone](#adeb3136fc83b9b7e42ee1f3524a64c30), [endWritingNodeIdsForEdges](#ae916768c0d70c35b5333047e8f7f6e32)

### setNodeIdsForEdgesInRange()

```cpp theme={null}
void ansys::CffConsumer::setNodeIdsForEdgesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const ElemIdType *const nodeIds,
    const size_t dataSize
) const
```

`virtual`

Provide the ids of the nodes for a range of edges.

> [!NOTE]
>
> The edge range must be continuous

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - The first edge for which nodes are provided |
| maxId | \[in] - The last edge for which nodes are provided |
| nodeIds | \[in] - The nodes defining each edge |
| dataSize | \[in] - The size of the nodeIds array |

**See also**

[startWritingNodeIdsForEdges](#a1078eaf395db588627bd2b8339f1eb2d)\ [setNodeIdsForEdge](#aa2c77bc5c881a5a725378e1d245399d0), [setNodeIdsForEdgesInZone](#adeb3136fc83b9b7e42ee1f3524a64c30), [endWritingNodeIdsForEdges](#ae916768c0d70c35b5333047e8f7f6e32)

### setNodeIdsForEdgesInZone()

```cpp theme={null}
void ansys::CffConsumer::setNodeIdsForEdgesInZone(
    const ZoneIdType zoneId,
    const ElemIdType *const nodeIds,
    const size_t dataSize
) const
```

`virtual`

Provide the ids of the nodes for all edges in an edge zone.

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - The edge zone for which nodes will be provided |
| nodeIds | \[in] - The nodes for all edges in the zone |
| dataSize | \[in] - The size of the nodeIds array |

**See also**

[startWritingNodeIdsForEdges](#a1078eaf395db588627bd2b8339f1eb2d)\ [setNodeIdsForEdge](#aa2c77bc5c881a5a725378e1d245399d0), [setNodeIdsForEdgesInRange](#af117d04c16bf86d4d6778b3edd844b18), [endWritingNodeIdsForEdges](#ae916768c0d70c35b5333047e8f7f6e32)

### setNodeIdsForFace()

```cpp theme={null}
void ansys::CffConsumer::setNodeIdsForFace(
    const ElemIdType faceId,
    const ElemIdType *const nodeIds,
    const size_t dataSize
) const
```

`virtual`

set the node ids of single face

**Parameters**

| Name | Description |
| - | - |
| faceId | \[in] - face Id |
| nodeIds | \[in] - node Ids |
| dataSize | \[in] - data size |

### setNodeIdsForFacesInRange()

```cpp theme={null}
void ansys::CffConsumer::setNodeIdsForFacesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const ElemIdType *const nodeIds,
    const size_t dataSize
) const
```

`virtual`

set the node ids of faces in a range

1. Will set node ids for all faces, whose face id is between minId and maxId 2) The face ids are supposed to be continuous in the range

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - minimum Id |
| maxId | \[in] - maximum Id |
| nodeIds | \[in] - node Ids |
| dataSize | \[in] - data size |

### setNodeIdsForFacesInZone()

```cpp theme={null}
void ansys::CffConsumer::setNodeIdsForFacesInZone(
    const ZoneIdType zoneId,
    const ElemIdType *const nodeIds,
    const size_t dataSize
) const
```

`virtual`

set the node ids for all faces in a face zone

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - face zone Id |
| nodeIds | \[in] - node Ids |
| dataSize | \[in] - data size |

### setPartitionIdForCell()

```cpp theme={null}
void ansys::CffConsumer::setPartitionIdForCell(
    const ElemIdType cellId,
    const PartitionIdType partId
) const
```

`virtual`

set the partition id for single cell

**Parameters**

| Name | Description |
| - | - |
| cellId | \[in] - cell Id |
| partId | \[in] - partition id of the cell element |

### setPartitionIdsForCellsInRange()

```cpp theme={null}
void ansys::CffConsumer::setPartitionIdsForCellsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const PartitionIdType *const partIds,
    const size_t dataSize
) const
```

`virtual`

Set the partition ids for several cells.

1. Will set partition ids for all cells, whose element id is between minId and maxId 2) The cell element ids are supposed to be continuous in the range

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - minimum Id |
| maxId | \[in] - maximum Id |
| partIds | \[in] - partition ids |
| dataSize | \[in] - data size |

### setPartitionIdsForCellsInZone()

```cpp theme={null}
void ansys::CffConsumer::setPartitionIdsForCellsInZone(
    const ZoneIdType zoneId,
    const PartitionIdType *const partIds,
    const size_t dataSize
) const
```

`virtual`

set the partition ids for all cells in an cells zone

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - edge zone Id |
| partIds | \[in] - partition ids |
| dataSize | \[in] - data size |

### setPhaseNames()

```cpp theme={null}
bool ansys::CffConsumer::setPhaseNames(
    const PhaseNames & phaseNames,
    PhaseIds & phaseIds
) const
```

`virtual`

Define the set of unique phase names (all existing phase names and associated variables are deleted)

> [!NOTE]
>
> If a phase name already exists it will return the existing phaseId

**Parameters**

| Name | Description |
| - | - |
| phaseNames | \[in] - the phase names to add |
| phaseIds | \[out] - the associated phase ids return \[out] - true if phases are defined successfully or false |

### setPhaseVariablesOfCategory() \[1/3]

```cpp theme={null}
bool ansys::CffConsumer::setPhaseVariablesOfCategory(
    const ZoneCategory zoneCategory,
    const VariableIds & ids
) const
```

`virtual`

Add the variables in the currently active phase to zones of the category.

**Parameters**

| Name | Description |
| - | - |
| zoneCategory | \[in] of which zone category, the variable ids will be set |
| ids | \[in] variable ids |

**Returns**

* true if operation is successful otherwise false

### setPhaseVariablesOfCategory() \[2/3]

```cpp theme={null}
bool ansys::CffConsumer::setPhaseVariablesOfCategory(
    const ZoneCategory zoneCategory,
    const VariableNames & names
) const
```

`virtual`

Add the variables in the currently active phase to zones of the category.

**Parameters**

| Name | Description |
| - | - |
| zoneCategory | \[in] of which zone category, the variable ids will be set |
| names | \[in] variable name |

**Returns**

* * true if operation is successful otherwise false

### setPhaseVariablesOfCategory() \[3/3]

```cpp theme={null}
bool ansys::CffConsumer::setPhaseVariablesOfCategory(
    const ZoneCategory zoneCategory,
    const VariableNames & names,
    VariableIds & ids
) const
```

`virtual`

Add the variables in the currently active phase to zones of the category.

**Parameters**

| Name | Description |
| - | - |
| zoneCategory | \[in] of which zone category, the variable ids will be set |
| names | \[in] variable name |
| ids | \[out] variable ids corresponding to the input variable names |

**Returns**

* * true if operation is successful otherwise false

### setShadowFaceIdForFace()

```cpp theme={null}
void ansys::CffConsumer::setShadowFaceIdForFace(
    const ElemIdType faceId,
    const ElemIdType faceShadow
) const
```

`virtual`

set the shadow face id of single face

**Parameters**

| Name | Description |
| - | - |
| faceId | \[in] - face Id |
| faceShadow | \[in] - shadow face Id |

### setShadowFaceIdsForFacesInRange()

```cpp theme={null}
void ansys::CffConsumer::setShadowFaceIdsForFacesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const ElemIdType *const faceShadows,
    const size_t dataSize
) const
```

`virtual`

Set the shadows face ids of faces in a range.

1. Will set shadows face ids for all faces, whose face id is between minId and maxId 2) The face ids are supposed to be continuous in the range

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - minimum Id |
| maxId | \[in] - maximum Id |
| faceShadows | \[in] - shadows face ids |
| dataSize | \[in] - data size |

### setShadowFaceIdsForFacesInZone()

```cpp theme={null}
void ansys::CffConsumer::setShadowFaceIdsForFacesInZone(
    const ZoneIdType zoneId,
    const ElemIdType *const faceShadows,
    const size_t dataSize
) const
```

`virtual`

set the shadows face ids for all faces in a face zone

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - face zone Id |
| faceShadows | \[in] - shadows face ids |
| dataSize | \[in] - data size |

### setSizeOfVariableForSetInRange() \[1/6]

```cpp theme={null}
void ansys::CffConsumer::setSizeOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const CountType *const counts,
    const size_t dataSize
)
```

`virtual`

### setSizeOfVariableForSetInRange() \[2/6]

```cpp theme={null}
void ansys::CffConsumer::setSizeOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const CountType count,
    const size_t dataSize
)
```

`virtual`

### setSizeOfVariableForSetInRange() \[3/6]

```cpp theme={null}
void ansys::CffConsumer::setSizeOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const int *const counts,
    const size_t dataSize
)
```

`virtual`

### setSizeOfVariableForSetInRange() \[4/6]

```cpp theme={null}
void ansys::CffConsumer::setSizeOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const int count,
    const size_t dataSize
)
```

`virtual`

### setSizeOfVariableForSetInRange() \[5/6]

```cpp theme={null}
void ansys::CffConsumer::setSizeOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const size_t *const counts,
    const size_t dataSize
)
```

`virtual`

### setSizeOfVariableForSetInRange() \[6/6]

```cpp theme={null}
void ansys::CffConsumer::setSizeOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const size_t count,
    const size_t dataSize
)
```

`virtual`

### setSizesAndMinMaxIdsForSet()

```cpp theme={null}
void ansys::CffConsumer::setSizesAndMinMaxIdsForSet(
    const std::vector< size_t > & numElem,
    const std::vector< ElemIdType > & minIndices,
    const std::vector< ElemIdType > & maxIndices,
    const std::vector< ElemIdType > & minId,
    const std::vector< ElemIdType > & maxId
)
```

`virtual`

### setTypeForCell()

```cpp theme={null}
void ansys::CffConsumer::setTypeForCell(
    const ElemIdType cellId,
    const CellType cellType
) const
```

`virtual`

set the cell type of single cell

**Parameters**

| Name | Description |
| - | - |
| cellId | \[in] - cell Id |
| cellType | \[in] - cell type |

### setTypesForCellsInRange()

```cpp theme={null}
void ansys::CffConsumer::setTypesForCellsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const CellType * const cellTypes,
    const size_t dataSize
) const
```

`virtual`

set the cell element types of cells in a range

1. Will set cell element types for all cells, whose cell element id is between minId and maxId 2) The cell ids are supposed to be continuous in the range

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - minimum Id |
| maxId | \[in] - maximum Id |
| cellTypes | \[in] - cell element types |
| dataSize | \[in] - data size |

### setTypesForCellsInZone()

```cpp theme={null}
void ansys::CffConsumer::setTypesForCellsInZone(
    const ZoneIdType zoneId,
    const CellType *const cellTypes,
    const size_t dataSize
) const
```

`virtual`

set the cell element types for all cells in a cell zone

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - cell zone Id |
| cellTypes | \[in] - cell element types |
| dataSize | \[in] - data size |

### setUniformChildCellCountForCellsInRange()

```cpp theme={null}
void ansys::CffConsumer::setUniformChildCellCountForCellsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short ucc
) const
```

`virtual`

### setUniformChildCellCountForCellsInZone()

```cpp theme={null}
void ansys::CffConsumer::setUniformChildCellCountForCellsInZone(
    const ZoneIdType zoneId,
    const short ucc
) const
```

`virtual`

### setUniformChildFaceCountForFacesInRange()

```cpp theme={null}
void ansys::CffConsumer::setUniformChildFaceCountForFacesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short ufc
) const
```

`virtual`

Set a uniformed refined child face count for a face range.

### setUniformChildFaceCountForFacesInZone()

```cpp theme={null}
void ansys::CffConsumer::setUniformChildFaceCountForFacesInZone(
    const ZoneIdType zoneId,
    const short ufc
) const
```

`virtual`

Set a uniformed refined child face count for all faces in a zone.

### setUniformFaceCountForCellsInRange()

```cpp theme={null}
void ansys::CffConsumer::setUniformFaceCountForCellsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short unc
) const
```

`virtual`

### setUniformFaceCountForCellsInZone()

```cpp theme={null}
void ansys::CffConsumer::setUniformFaceCountForCellsInZone(
    const ZoneIdType zoneId,
    const short unc
) const
```

`virtual`

### setUniformNodeCountForCellsInRange()

```cpp theme={null}
void ansys::CffConsumer::setUniformNodeCountForCellsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short unc
) const
```

`virtual`

### setUniformNodeCountForCellsInZone()

```cpp theme={null}
void ansys::CffConsumer::setUniformNodeCountForCellsInZone(
    const ZoneIdType zoneId,
    const short unc
) const
```

`virtual`

### setUniformNodeCountForEdgesInRange()

```cpp theme={null}
void ansys::CffConsumer::setUniformNodeCountForEdgesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short unc
) const
```

`virtual`

Set a uniform node count for all faces in a range.

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - The first edge in the range |
| maxId | \[in] - The final edge in the range |
| unc | \[in] - The node count for all edges in the range |

**See also**

[startWritingNodeCountsForEdges](#ad2f567446a912d1973a7879bb1d0ddbf), setNodeCountsForEdge, [setNodeCountsForEdgesInRange](#a39dcf00dc1b4297b6920a0111977fcb5), setNodeCountForEdgesInZone, [setUniformNodeCountForFacesInZone](#afaa280db096bda07f2e9b49c85eac30b), [endWritingNodeCountsForEdges](#a2cbc029df682e6f44e28ccbd57d5c8a4)

### setUniformNodeCountForEdgesInZone()

```cpp theme={null}
void ansys::CffConsumer::setUniformNodeCountForEdgesInZone(
    const ZoneIdType zoneId,
    const short unc
) const
```

`virtual`

Set a uniform node count for all faces in a zone.

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - The edge zone for which the count is provided |
| unc | \[in] - The node count for all edges in the range |

**See also**

[startWritingNodeCountsForEdges](#ad2f567446a912d1973a7879bb1d0ddbf), setNodeCountsForEdge, [setNodeCountsForEdgesInRange](#a39dcf00dc1b4297b6920a0111977fcb5), setNodeCountForEdgesInZone, [setUniformNodeCountForFacesInRange](#a60962015a5ff90ba967e6055f3b7af3d), [endWritingNodeCountsForEdges](#a2cbc029df682e6f44e28ccbd57d5c8a4)

### setUniformNodeCountForFacesInRange()

```cpp theme={null}
void ansys::CffConsumer::setUniformNodeCountForFacesInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short unc
) const
```

`virtual`

Set a uniform node count for the faces in a range.

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - The first face for which counts are supplied |
| maxId | \[in] - The last face for which counts are supplied |
| unc | \[in] - The uniform node count for all faces in the range |

**See also**

[startWritingNodeCountsForFaces](#a0b627f3b4c48a5d85a0531588a9e2702), [setNodeCountForFace](#a05a03dffe5cd12a207710a30273ebdb6), [setNodeCountsForFacesInRange](#aa453272df7823b015fa7d18613186c9e), [setNodeCountsForFacesInZone](#ac8bb1e467c3609e2e152ff2bebbf275d), [setUniformNodeCountForEdgesInZone](#a56c0c168c24d1f4f590e8673813f6965), [endWritingNodeCountsForFaces](#a996757c12475874c4a0e8e4a6c8268cf)

### setUniformNodeCountForFacesInZone()

```cpp theme={null}
void ansys::CffConsumer::setUniformNodeCountForFacesInZone(
    const ZoneIdType zoneId,
    const short unc
) const
```

`virtual`

Set a uniform node count for the faces in a zone.

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - The zone in which the elements should have the uniform count set |
| unc | \[in] - The uniform node count for all faces zone |

**See also**

[startWritingNodeCountsForFaces](#a0b627f3b4c48a5d85a0531588a9e2702), [setNodeCountForFace](#a05a03dffe5cd12a207710a30273ebdb6), [setNodeCountsForFacesInRange](#aa453272df7823b015fa7d18613186c9e), [setNodeCountsForFacesInZone](#ac8bb1e467c3609e2e152ff2bebbf275d), [setUniformNodeCountForEdgesInRange](#af28915b506a206223de8c6ffb495f0ca), [endWritingNodeCountsForFaces](#a996757c12475874c4a0e8e4a6c8268cf)

### setValuesOfParticleTrackVariable() \[1/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableIdType VarId,
    const char *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| VarId | \[in] - specifies the variable by id |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[2/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableIdType VarId,
    const double *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| VarId | \[in] - specifies the variable by id |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[3/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableIdType VarId,
    const float *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| VarId | \[in] - specifies the variable by id |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[4/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableIdType VarId,
    const int *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| VarId | \[in] - specifies the variable by id |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[5/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableIdType VarId,
    const long *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| VarId | \[in] - specifies the variable by id |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[6/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableIdType VarId,
    const long long *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| VarId | \[in] - specifies the variable by id |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[7/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableIdType VarId,
    const short *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| VarId | \[in] - specifies the variable by id |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[8/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableIdType VarId,
    const size_t *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| VarId | \[in] - specifies the variable by id |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[9/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableIdType VarId,
    const unsigned char *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| VarId | \[in] - specifies the variable by id |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[10/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableIdType VarId,
    const unsigned int *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| VarId | \[in] - specifies the variable by id |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[11/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableName & varName,
    const char *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| varName | \[in] - specifies the variable name |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[12/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableName & varName,
    const double *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| varName | \[in] - specifies the variable name |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[13/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableName & varName,
    const float *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| varName | \[in] - specifies the variable name |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[14/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableName & varName,
    const int *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| varName | \[in] - specifies the variable name |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[15/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableName & varName,
    const long *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| varName | \[in] - specifies the variable name |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[16/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableName & varName,
    const long long *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| varName | \[in] - specifies the variable name |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[17/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableName & varName,
    const short *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| varName | \[in] - specifies the variable name |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[18/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableName & varName,
    const size_t *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| varName | \[in] - specifies the variable name |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[19/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableName & varName,
    const unsigned int *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| varName | \[in] - specifies the variable name |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is pa rticle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfParticleTrackVariable() \[20/20]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfParticleTrackVariable(
    const VariableName & varName,
    const unsigned char *const data,
    const size_t numSteps,
    const size_t numCol = 1,
    const bool asConstant = false
)
```

`virtual`

Write variable to chunk.

**Parameters**

| Name | Description |
| - | - |
| varName | \[in] - specifies the variable name |
| data | \[in] - pointer to actual data to write, the data type of data can be unsigned char, char, int, unsigned int, short, float, double, long, long long or size\_t |
| numSteps | \[in] - specifies the number of particle track steps. In the file, data fpr each step will be saved in a "row" |
| numCol | \[in] - specifies the number of data for each step. For example, if the variable is particle location in a 3D case, numCol should be 3. If the variable is temperature of that particle, numCol should be 1. |
| asConstant | \[in] - specifies whether the variable changes as a function of track steps or not. For example, for particle id, asConstant should be true, for temperature, asConstant should be false |

### setValuesOfPhaseVariableForElementsInRange() \[1/2]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfPhaseVariableForElementsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const double *const vals,
    const size_t dataSize
) const
```

`virtual`

Set the solution data values for all elements in certain range.

1. Will write solution data for all elements, whose element id is between minId and maxId 2) The element ids are supposed to be continuous in the range

> [!NOTE]
>
> The zone of category should have be indicated while calling [CffConsumer::startWritingPhaseVariableInZonesOfCategory](#aa8ed95ace22971899dba34a0da50c633) If the zone category is face zone, the data here should be solution data on face and the minId, maxId should be face Id

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - minimum Id |
| maxId | \[in] - maximum Id |
| vals | \[in] - actual solution data |
| dataSize | \[in] - data size |

### setValuesOfPhaseVariableForElementsInRange() \[2/2]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfPhaseVariableForElementsInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const float *const vals,
    const size_t dataSize
) const
```

`virtual`

Set the solution data values for all elements in certain range.

1. Will write solution data for all elements, whose element id is between minId and maxId 2) The element ids are supposed to be continuous in the range

> [!NOTE]
>
> The zone of category should have be indicated while calling [CffConsumer::startWritingPhaseVariableInZonesOfCategory](#aa8ed95ace22971899dba34a0da50c633) If the zone category is face zone, the data here should be solution data on face and the minId, maxId should be face Id

**Parameters**

| Name | Description |
| - | - |
| minId | \[in] - minimum Id |
| maxId | \[in] - maximum Id |
| vals | \[in] - actual solution data |
| dataSize | \[in] - data size |

### setValuesOfPhaseVariableForElementsInZone() \[1/2]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfPhaseVariableForElementsInZone(
    const ZoneIdType zoneId,
    const double *const vals,
    const size_t dataSize
) const
```

`virtual`

Set the solution data values for all elements in certain range.

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - minimum Id |
| vals | \[in] - actual solution data |
| dataSize | \[in] - data size |

### setValuesOfPhaseVariableForElementsInZone() \[2/2]

```cpp theme={null}
void ansys::CffConsumer::setValuesOfPhaseVariableForElementsInZone(
    const ZoneIdType zoneId,
    const float *const vals,
    const size_t dataSize
) const
```

`virtual`

Set the solution data values for all elements in certain range.

**Parameters**

| Name | Description |
| - | - |
| zoneId | \[in] - minimum Id |
| vals | \[in] - actual solution data |
| dataSize | \[in] - data size |

### setVariableForSetData() \[1/10]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableForSetData(
    const char *const data,
    const size_t numRow,
    const size_t numCol,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableForSetData() \[2/10]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableForSetData(
    const double *const data,
    const size_t numRow,
    const size_t numCol,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableForSetData() \[3/10]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableForSetData(
    const float *const data,
    const size_t numRow,
    const size_t numCol,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableForSetData() \[4/10]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableForSetData(
    const int *const data,
    const size_t numRow,
    const size_t numCol,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableForSetData() \[5/10]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableForSetData(
    const long *const data,
    const size_t numRow,
    const size_t numCol,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableForSetData() \[6/10]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableForSetData(
    const long long *const data,
    const size_t numRow,
    const size_t numCol,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableForSetData() \[7/10]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableForSetData(
    const short *const data,
    const size_t numRow,
    const size_t numCol,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableForSetData() \[8/10]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableForSetData(
    const size_t *const data,
    const size_t numRow,
    const size_t numCol,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableForSetData() \[9/10]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableForSetData(
    const unsigned char *const data,
    const size_t numRow,
    const size_t numCol,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableForSetData() \[10/10]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableForSetData(
    const unsigned int *const data,
    const size_t numRow,
    const size_t numCol,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthedDataOfVariableForSetInRange() \[1/10]

```cpp theme={null}
void ansys::CffConsumer::setVariableLengthedDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const char *const data,
    const size_t dataSize
)
```

`virtual`

### setVariableLengthedDataOfVariableForSetInRange() \[2/10]

```cpp theme={null}
void ansys::CffConsumer::setVariableLengthedDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const double *const data,
    const size_t dataSize
)
```

`virtual`

### setVariableLengthedDataOfVariableForSetInRange() \[3/10]

```cpp theme={null}
void ansys::CffConsumer::setVariableLengthedDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const float *const data,
    const size_t dataSize
)
```

`virtual`

### setVariableLengthedDataOfVariableForSetInRange() \[4/10]

```cpp theme={null}
void ansys::CffConsumer::setVariableLengthedDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const int *const data,
    const size_t dataSize
)
```

`virtual`

### setVariableLengthedDataOfVariableForSetInRange() \[5/10]

```cpp theme={null}
void ansys::CffConsumer::setVariableLengthedDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const long *const data,
    const size_t dataSize
)
```

`virtual`

### setVariableLengthedDataOfVariableForSetInRange() \[6/10]

```cpp theme={null}
void ansys::CffConsumer::setVariableLengthedDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const long long *const data,
    const size_t dataSize
)
```

`virtual`

### setVariableLengthedDataOfVariableForSetInRange() \[7/10]

```cpp theme={null}
void ansys::CffConsumer::setVariableLengthedDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const short *const data,
    const size_t dataSize
)
```

`virtual`

### setVariableLengthedDataOfVariableForSetInRange() \[8/10]

```cpp theme={null}
void ansys::CffConsumer::setVariableLengthedDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const size_t *const data,
    const size_t dataSize
)
```

`virtual`

### setVariableLengthedDataOfVariableForSetInRange() \[9/10]

```cpp theme={null}
void ansys::CffConsumer::setVariableLengthedDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const unsigned char *const data,
    const size_t dataSize
)
```

`virtual`

### setVariableLengthedDataOfVariableForSetInRange() \[10/10]

```cpp theme={null}
void ansys::CffConsumer::setVariableLengthedDataOfVariableForSetInRange(
    const ElemIdType minId,
    const ElemIdType maxId,
    const unsigned int *const data,
    const size_t dataSize
)
```

`virtual`

### setVariableLengthVariableForSetData() \[1/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const char *const data,
    const size_t dataSize,
    const int *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[2/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const char *const data,
    const size_t dataSize,
    const short *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[3/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const char *const data,
    const size_t dataSize,
    const size_t *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[4/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const double *const data,
    const size_t dataSize,
    const int *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[5/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const double *const data,
    const size_t dataSize,
    const short *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[6/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const double *const data,
    const size_t dataSize,
    const size_t *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[7/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const float *const data,
    const size_t dataSize,
    const int *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[8/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const float *const data,
    const size_t dataSize,
    const short *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[9/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const float *const data,
    const size_t dataSize,
    const size_t *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[10/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const int *const data,
    const size_t dataSize,
    const int *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[11/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const int *const data,
    const size_t dataSize,
    const short *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[12/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const int *const data,
    const size_t dataSize,
    const size_t *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[13/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const long *const data,
    const size_t dataSize,
    const int *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[14/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const long *const data,
    const size_t dataSize,
    const short *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[15/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const long *const data,
    const size_t dataSize,
    const size_t *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[16/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const long long *const data,
    const size_t dataSize,
    const int *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[17/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const long long *const data,
    const size_t dataSize,
    const short *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[18/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const long long *const data,
    const size_t dataSize,
    const size_t *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[19/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const short *const data,
    const size_t dataSize,
    const int *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[20/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const short *const data,
    const size_t dataSize,
    const short *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[21/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const short *const data,
    const size_t dataSize,
    const size_t *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[22/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const size_t *const data,
    const size_t dataSize,
    const int *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[23/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const size_t *const data,
    const size_t dataSize,
    const short *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[24/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const size_t *const data,
    const size_t dataSize,
    const size_t *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[25/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const unsigned char *const data,
    const size_t dataSize,
    const int *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[26/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const unsigned char *const data,
    const size_t dataSize,
    const short *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[27/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const unsigned char *const data,
    const size_t dataSize,
    const size_t *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[28/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const unsigned int *const data,
    const size_t dataSize,
    const int *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[29/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const unsigned int *const data,
    const size_t dataSize,
    const short *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### setVariableLengthVariableForSetData() \[30/30]

```cpp theme={null}
size_t ansys::CffConsumer::setVariableLengthVariableForSetData(
    const unsigned int *const data,
    const size_t dataSize,
    const size_t *const size,
    const size_t sizeSize,
    const size_t chunkId = 0
)
```

`virtual`

### startWriting()

```cpp theme={null}
virtual bool ansys::CffConsumer::startWriting(DataClass dataClass)
```

`inline` `virtual`

Reimplemented in [ansys::CffFileConsumer](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_file_consumer.md#a71d96df4941d3ed83f5b33dddb062fdd).

### startWritingCaseSectionCategories()

```cpp theme={null}
void ansys::CffConsumer::startWritingCaseSectionCategories(
    const ZoneCategory zoneCategory,
    const CategoryNames & name
) const
```

`virtual`

### startWritingCaseSectionDataForCategory()

```cpp theme={null}
void ansys::CffConsumer::startWritingCaseSectionDataForCategory(
    const CategoryName & name,
    const ZoneIds & zoneIds,
    const PlainDataType dataType,
    const size_t numCols
) const
```

`virtual`

### startWritingCell0sForFaces()

```cpp theme={null}
void ansys::CffConsumer::startWritingCell0sForFaces(const ZoneIds & zoneIds) const
```

`virtual`

Start writing cell0 cell ids for faces.

### startWritingCell1sForFaces()

```cpp theme={null}
void ansys::CffConsumer::startWritingCell1sForFaces(const ZoneIds & zoneIds) const
```

`virtual`

Start writing cell1 cell ids for faces.

### startWritingCells()

```cpp theme={null}
void ansys::CffConsumer::startWritingCells(const ZoneIds & zoneIds) const
```

`virtual`

Start writing cells.

**Parameters**

| Name | Description |
| - | - |
| zoneIds | \[in] - The zones for which data will be written. |

### startWritingChildCellCountsForCells()

```cpp theme={null}
void ansys::CffConsumer::startWritingChildCellCountsForCells() const
```

`virtual`

### startWritingChildCellIdsForCells()

```cpp theme={null}
void ansys::CffConsumer::startWritingChildCellIdsForCells() const
```

`virtual`

### startWritingChildCellsForCells()

```cpp theme={null}
void ansys::CffConsumer::startWritingChildCellsForCells(const ZoneIds & zoneIds) const
```

`virtual`

### startWritingChildFaceCountsForFaces()

```cpp theme={null}
void ansys::CffConsumer::startWritingChildFaceCountsForFaces() const
```

`virtual`

Start writing refined child face counts for faces.

### startWritingChildFaceIdsForFaces()

```cpp theme={null}
void ansys::CffConsumer::startWritingChildFaceIdsForFaces() const
```

`virtual`

Start writing refined child face ids.

### startWritingChildFacesForFaces()

```cpp theme={null}
void ansys::CffConsumer::startWritingChildFacesForFaces(const ZoneIds & zoneIds) const
```

`virtual`

Start writing refined face data for faces in specified zones.

### startWritingChunkInPartiticleTrackGroup()

```cpp theme={null}
void ansys::CffConsumer::startWritingChunkInPartiticleTrackGroup(
    const size_t chunkIndex = 0
)
```

`virtual`

start writing chunk in particle track group, the input chunkIndex specifies

**Parameters**

| Name | Description |
| - | - |
| chunkIndex | \[in] - specify the chunk index If the chunkIndex is not specified, the chunk will be named in style like "chunk1", "chunk2" ..., the number after "chunk" will be incrementally increased for new chunks. It is recommended that user do NOT specify the chunk index if no special needs for that |

### startWritingCoordinatesForNodes()

```cpp theme={null}
void ansys::CffConsumer::startWritingCoordinatesForNodes(const ZoneIds & zoneIds) const
```

`virtual`

Start writing the coorindinates for nodes.

**Parameters**

| Name | Description |
| - | - |
| zoneIds | \[in] - The zones for which coordinates will be provided |

**See also**

[setCoordinatesForNode](#a2729f8600097770418aac103cd766d91), [setCoordinatesForNodesInRange](#a0bc853af6f20d65902ebf55f70a0a5a0) [setCoordinatesForNodesInZone](#a22505ad0fe2b5bd55800733de96894aa), [endWritingCoordinatesForNodes](#a720cf2a53b71c1b99ff26ca5f73d8c22)

### startWritingDataOfVariableForSet()

```cpp theme={null}
void ansys::CffConsumer::startWritingDataOfVariableForSet(
    const VariableName & varName,
    const std::vector< size_t > numElem,
    const size_t dim,
    const PlainDataType type
)
```

`virtual`

### startWritingEdges()

```cpp theme={null}
void ansys::CffConsumer::startWritingEdges(const ZoneIds & zoneIds) const
```

`virtual`

Start writing information for elements in edge zones.

**Parameters**

| Name | Description |
| - | - |
| zoneIds | \[in] Zones for which data will be provided |

**See also**

[startWritingNodesForEdges](#ae1da52f9264ba39d534fca35fa7c8742), [endWritingNodesForEdges](#ab02d01a0319c77ec3e29c603727abe83)

### startWritingFaceCountsForCells()

```cpp theme={null}
void ansys::CffConsumer::startWritingFaceCountsForCells() const
```

`virtual`

Start writing count of cell faces.

### startWritingFaceIdsForCells()

```cpp theme={null}
void ansys::CffConsumer::startWritingFaceIdsForCells() const
```

`virtual`

Start writing ids of cell faces.

### startWritingFaces()

```cpp theme={null}
void ansys::CffConsumer::startWritingFaces(const ZoneIds & zoneIds) const
```

`virtual`

Start of writing faces.

**Parameters**

| Name | Description |
| - | - |
| zoneIds | \[in] - Zones that will be written |

**See also**

[endWritingEdges](#a82676fa32a0f341d330c049d52363a43), [startWritingNodesForFaces](#ab1bc3a711cc41e8e3e902436f68f64f4), [endWritingNodesForFaces](#ad7ca52810679ccec7356c03be6fe874a)

### startWritingFacesForCells()

```cpp theme={null}
void ansys::CffConsumer::startWritingFacesForCells(const ZoneIds & zoneIds) const
```

`virtual`

Start writing cell faces.

### startWritingIdsForSet()

```cpp theme={null}
void ansys::CffConsumer::startWritingIdsForSet(
    const std::vector< ElemIdType > & minIndicies,
    const std::vector< ElemIdType > & maxIndicies,
    const std::vector< size_t > & numElem,
    const std::vector< ElemIdType > & minElemIds,
    const std::vector< ElemIdType > & maxElemIds
)
```

`virtual`

### startWritingIdsForSetData()

```cpp theme={null}
void ansys::CffConsumer::startWritingIdsForSetData()
```

`virtual`

### startWritingInterfaceDataForFaces()

```cpp theme={null}
void ansys::CffConsumer::startWritingInterfaceDataForFaces(
    const ZoneIds & zoneIds,
    const std::vector< int > & hasPf1
) const
```

`virtual`

### startWritingNodeCountsForCells()

```cpp theme={null}
void ansys::CffConsumer::startWritingNodeCountsForCells() const
```

`virtual`

Start writing counts for cell nodes.

### startWritingNodeCountsForEdges()

```cpp theme={null}
void ansys::CffConsumer::startWritingNodeCountsForEdges() const
```

`virtual`

Start writing the node counts for edge zones.

**See also**

setNodeCountsForEdge, [setNodeCountsForEdgesInRange](#a39dcf00dc1b4297b6920a0111977fcb5), [setNodeCountsForEdgesInZone](#a6ca7df62dd02eeca915b1c2bb36293da), [setUniformNodeCountForEdgesInZone](#a56c0c168c24d1f4f590e8673813f6965), [setUniformNodeCountForFacesInZone](#afaa280db096bda07f2e9b49c85eac30b) [endWritingNodeCountsForEdges](#a2cbc029df682e6f44e28ccbd57d5c8a4)

### startWritingNodeCountsForFaces()

```cpp theme={null}
void ansys::CffConsumer::startWritingNodeCountsForFaces() const
```

`virtual`

Start writing node counts for faces.

**See also**

[setNodeCountForFace](#a05a03dffe5cd12a207710a30273ebdb6), [setNodeCountsForFacesInRange](#aa453272df7823b015fa7d18613186c9e), [setNodeCountsForFacesInZone](#ac8bb1e467c3609e2e152ff2bebbf275d), [setUniformNodeCountForEdgesInRange](#af28915b506a206223de8c6ffb495f0ca), [setUniformNodeCountForEdgesInZone](#a56c0c168c24d1f4f590e8673813f6965), [endWritingNodeCountsForFaces](#a996757c12475874c4a0e8e4a6c8268cf)

### startWritingNodeIdsForCells()

```cpp theme={null}
void ansys::CffConsumer::startWritingNodeIdsForCells() const
```

`virtual`

Start writing ids for cell nodes.

### startWritingNodeIdsForEdges()

```cpp theme={null}
void ansys::CffConsumer::startWritingNodeIdsForEdges() const
```

`virtual`

Start writing the node ids for edges.

**See also**

[setNodeIdsForEdge](#aa2c77bc5c881a5a725378e1d245399d0), [setNodeIdsForEdgesInRange](#af117d04c16bf86d4d6778b3edd844b18), [setNodeIdsForEdgesInZone](#adeb3136fc83b9b7e42ee1f3524a64c30), [endWritingNodeIdsForEdges](#ae916768c0d70c35b5333047e8f7f6e32)

### startWritingNodeIdsForFaces()

```cpp theme={null}
void ansys::CffConsumer::startWritingNodeIdsForFaces() const
```

`virtual`

Start writing faces node ids.

### startWritingNodes()

```cpp theme={null}
void ansys::CffConsumer::startWritingNodes(const ZoneIds & zoneIds) const
```

`virtual`

Start writing nodes.

**Parameters**

| Name | Description |
| - | - |
| zoneIds | \[in] - The zones for which node data will be provided |

**See also**

[endWritingNodes](#a23365b7cec8e065e64e89fe712ca2dcc)

### startWritingNodesForCells()

```cpp theme={null}
void ansys::CffConsumer::startWritingNodesForCells(const ZoneIds & zoneIds) const
```

`virtual`

Start writing cell nodes.

**Parameters**

| Name | Description |
| - | - |
| zoneIds | \[in] - The cell zones for which nodes will be provided. |

### startWritingNodesForEdges()

```cpp theme={null}
void ansys::CffConsumer::startWritingNodesForEdges(const ZoneIds & zoneIds) const
```

`virtual`

Start writing nodes for edges within specified zones.

**Parameters**

| Name | Description |
| - | - |
| zoneIds | \[in] - Zones for which nodes will be provided |

> [!NOTE]
>
> This function must be called before writing node counts or node ids for any edge.

**See also**

[startWritingNodeCountsForEdges](#ad2f567446a912d1973a7879bb1d0ddbf), [endWritingNodeCountsForEdges](#a2cbc029df682e6f44e28ccbd57d5c8a4), [startWritingNodeIdsForEdges](#a1078eaf395db588627bd2b8339f1eb2d), [endWritingNodeIdsForEdges](#ae916768c0d70c35b5333047e8f7f6e32)

### startWritingNodesForFaces()

```cpp theme={null}
void ansys::CffConsumer::startWritingNodesForFaces(const ZoneIds & zoneIds) const
```

`virtual`

Start writing faces nodes.

**Parameters**

| Name | Description |
| - | - |
| zoneIds | \[in] - Zones with nodes |

**See also**

[startWritingNodeCountsForFaces](#a0b627f3b4c48a5d85a0531588a9e2702), [endWritingNodeCountsForFaces](#a996757c12475874c4a0e8e4a6c8268cf), [startWritingNodeIdsForFaces](#a1dc11ee2be93f0cba4e33d2d3c946db5), [endWritingNodeIdsForFaces](#a1164f37dd80796d408b261f592eef91a), [endWritingNodesForFaces](#ad7ca52810679ccec7356c03be6fe874a)

### startWritingParticleTracks()

```cpp theme={null}
bool ansys::CffConsumer::startWritingParticleTracks(
    const PhaseIdType phaseId = -1,
    const MeshIdType meshId = -1,
    const TargetCategory target = TargetCategory::CFF_TARGET_CATEGORY_UNKNOWN,
    const PartitionIdType partition = -1
)
```

`virtual`

Start write particle tracks under phase specified by phaseId in the mesh set specified by mesh Id, target and partition.

**Parameters**

| Name | Description |
| - | - |
| phaseId | \[in] - The phase id to which particle track will be added |
| meshId | \[in] - The mesh id to which particle track will be added |
| target | \[in] - The target category which particle track will be added |
| partition | \[in] - The partition id to which particle track will be added, only applicable when target is PARTITION\_POST |

### startWritingPartiticleTrackGroup()

```cpp theme={null}
void ansys::CffConsumer::startWritingPartiticleTrackGroup(const std::string & name = "")
```

`virtual`

Start writing particle track group.

**Parameters**

| Name | Description |
| - | - |
| name | \[in] - groups name |

### startWritingPartitionIdsForCells()

```cpp theme={null}
void ansys::CffConsumer::startWritingPartitionIdsForCells(
    const ZoneIds & zoneIds,
    const int numPartitions
) const
```

`virtual`

Start writing partition ids for cells.

### startWritingPhase()

```cpp theme={null}
void ansys::CffConsumer::startWritingPhase(const PhaseIdType phaseId = 1) const
```

`virtual`

Start writing a phase.

**Parameters**

| Name | Description |
| - | - |
| phaseId | \[in] - phase id |

### startWritingPhaseVariableInZonesOfCategory() \[1/2]

```cpp theme={null}
void ansys::CffConsumer::startWritingPhaseVariableInZonesOfCategory(
    const ZoneCategory zoneCategory,
    const VariableIdType varId,
    ZoneIds & zoneIds,
    const size_t numCols
) const
```

`virtual`

Start writing data for certain variable.

**Parameters**

| Name | Description |
| - | - |
| zoneCategory | \[in] to which zone category, the data will be written into |
| varId | \[in] variable id, indicating which variable to write |
| zoneIds | \[in] zone ids, indicating all zones that has data for the variable. |
| numCols | \[in] number data on each element, for example, if the variable is temperature, it should be 1, if the variable is velocity in 3D, it should be 3 |

### startWritingPhaseVariableInZonesOfCategory() \[2/2]

```cpp theme={null}
void ansys::CffConsumer::startWritingPhaseVariableInZonesOfCategory(
    const ZoneCategory zoneCategory,
    const VariableName & varName,
    ZoneIds & zoneIds,
    const size_t numCols
) const
```

`virtual`

Start writing data for certain variable.

**Parameters**

| Name | Description |
| - | - |
| zoneCategory | \[in] to which zone category, the data will be written into |
| varName | \[in] variable name, indicating which variable to write |
| zoneIds | \[in] zone ids, indicating all zones that has data for the variable. |
| numCols | \[in] number data on each element, for example, if the variable is temperature, it should be 1, if the variable is velocity in 3D, it should be 3 |

### startWritingSet()

```cpp theme={null}
void ansys::CffConsumer::startWritingSet(
    const DataClass dataClass,
    const ZoneCategory cat,
    const std::string & setName
)
```

`virtual`

### startWritingSetData()

```cpp theme={null}
void ansys::CffConsumer::startWritingSetData(
    const DataClass dataClass,
    const ZoneCategory cat,
    const std::string & setName
)
```

`virtual`

### startWritingShadowFaceIdsForFaces()

```cpp theme={null}
void ansys::CffConsumer::startWritingShadowFaceIdsForFaces(const ZoneIds & zoneIds) const
```

`virtual`

Start writing shadow faces of faces.

### startWritingSizeOfVariableForSet()

```cpp theme={null}
void ansys::CffConsumer::startWritingSizeOfVariableForSet(
    const VariableName & varName,
    const std::vector< size_t > numElem,
    const PlainDataType dataType = PlainDataType::CFF_DATATYPE_SHORT
)
```

`virtual`

### startWritingTimeLevel()

```cpp theme={null}
void ansys::CffConsumer::startWritingTimeLevel(
    const TimeLevelType timeLevel = CffLatestTimeLevel
) const
```

### startWritingTypesForCells()

```cpp theme={null}
void ansys::CffConsumer::startWritingTypesForCells(
    const ZoneIds & zoneIds,
    const std::vector< CellType > & cellType
) const
```

`virtual`

Start writing cells types.

### startWritingVariableForSetData()

```cpp theme={null}
void ansys::CffConsumer::startWritingVariableForSetData(const VariableName & varName)
```

`virtual`

### startWritingVariableLengthedDataOfVariableForSet()

```cpp theme={null}
void ansys::CffConsumer::startWritingVariableLengthedDataOfVariableForSet(
    const VariableName & varName,
    const PlainDataType type
)
```

`virtual`

### startWritingVariableLengthVariableForSetData()

```cpp theme={null}
void ansys::CffConsumer::startWritingVariableLengthVariableForSetData(
    const VariableName & varName
)
```

`virtual`

### startWritingZonesOfCategory()

```cpp theme={null}
void ansys::CffConsumer::startWritingZonesOfCategory(const ZoneCategory zoneCt) const
```

`virtual`

Start writing solution data for zones of certain category.

Solution data can be associated with either cell elements or face elements or nodes. It is up to the solver where the solution data will be. So so need to save data on all zone categories. For example, Fluent saves solution data on face center and cell center, no solution data associated with nodes.

**Parameters**

| Name | Description |
| - | - |
| zoneCt | \[in] to which zone category, the data will be written into |

### writeMeshAttributes()

```cpp theme={null}
void ansys::CffConsumer::writeMeshAttributes() const
```

`virtual`

Write the global mesh size attributes and units to the active mesh.

When the mesh size and units are set using setMeshSize or setMeshUnits the API keeps this information in memory until all attributes have been supplied.

This function may be called explicitly at any time but will be called automatically when writing is terminated with endWriting

**See also**

[setMeshSize](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#a259b65322ef0d42859d988166eed23d7), [setMeshUnits](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r1/classansys_1_1_cff_base.md#ae323125334ed9fb3d4d62796e08a8451), [endWriting](#ae4443a3ec02f80e0b2b718220347a4ea)

### writeMeshSize()

```cpp theme={null}
void ansys::CffConsumer::writeMeshSize() const
```

DEPRECATED: This function is now deprecated in favor of writeMeshAttributes and may be removed in a future release.

**See also**

[writeMeshAttributes](#ae7b1724d61296f25be88f63476872fda)

### writeOtherDataForSet() \[1/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSet(
    const VariableName & varName,
    const char *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSet() \[2/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSet(
    const VariableName & varName,
    const double *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSet() \[3/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSet(
    const VariableName & varName,
    const float *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSet() \[4/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSet(
    const VariableName & varName,
    const int *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSet() \[5/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSet(
    const VariableName & varName,
    const long *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSet() \[6/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSet(
    const VariableName & varName,
    const long long *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSet() \[7/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSet(
    const VariableName & varName,
    const short *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSet() \[8/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSet(
    const VariableName & varName,
    const size_t *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSet() \[9/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSet(
    const VariableName & varName,
    const unsigned char *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSet() \[10/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSet(
    const VariableName & varName,
    const unsigned int *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSetData() \[1/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSetData(
    const VariableName & varName,
    const char *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSetData() \[2/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSetData(
    const VariableName & varName,
    const double *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSetData() \[3/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSetData(
    const VariableName & varName,
    const float *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSetData() \[4/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSetData(
    const VariableName & varName,
    const int *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSetData() \[5/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSetData(
    const VariableName & varName,
    const long *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSetData() \[6/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSetData(
    const VariableName & varName,
    const long long *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSetData() \[7/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSetData(
    const VariableName & varName,
    const short *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSetData() \[8/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSetData(
    const VariableName & varName,
    const size_t *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSetData() \[9/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSetData(
    const VariableName & varName,
    const unsigned char *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeOtherDataForSetData() \[10/10]

```cpp theme={null}
void ansys::CffConsumer::writeOtherDataForSetData(
    const VariableName & varName,
    const unsigned int *const data,
    const size_t numCols,
    const size_t numRows
)
```

`virtual`

### writeSetting()

```cpp theme={null}
void ansys::CffConsumer::writeSetting(
    CffSetting & setting,
    const std::string & key = "Common",
    DataClass dataClass = DataClass::CFF_CASE,
    const std::string & rootName = CffBase::_defaultSettingsPath
) const
```

`virtual`

Write a settings object to CFF consumer.

**Parameters**

| Name | Description |
| - | - |
| setting | \[in] - The settings value stored in a settings object |
| key | \[in] - The settings key |
| dataClass | \[in] - Whether the setting is written to the case of results data |
| rootName | \[in] - The path under which the setting will be written |

### writeSettingStrings()

```cpp theme={null}
void ansys::CffConsumer::writeSettingStrings(
    const std::vector< std::pair< std::string, std::string > > & settings,
    DataClass dataClass = DataClass::CFF_CASE,
    const std::string & rootName = CffBase::_defaultSettingsPath
) const
```

`virtual`

Write settings to the CFF consumer.

**Parameters**

| Name | Description |
| - | - |
| settings | \[in] - Each pair represents key and value |
| dataClass | \[in] - Whether the setting is written to the case of results data |
| rootName | \[in] - The path under which the setting will be written |

### writeStringDataForSet()

```cpp theme={null}
void ansys::CffConsumer::writeStringDataForSet(
    const VariableName & varName,
    const std::string & data
)
```

`virtual`

### writeStringDataForSetData()

```cpp theme={null}
void ansys::CffConsumer::writeStringDataForSetData(
    const VariableName & varName,
    const std::string & data
)
```

`virtual`
