#include "CffInterface/CffProvider.hpp"
Inheritance diagram for ansys::CffProvider:

Public Member Functions
Solution Model Variable Naming Controls
Data Caching/Partial Data Controls
Settings
Meshes
Targets
Partitions
Node Zones
Edge Zones
Face Zones
Cell Parents of Faces
Shadow Faces
Interface Data
Face Zone Refinement (Child Faces)
Cell Types
Cell Nodes
Cell/Faces
Cell Refinement (Child Cells )
Special Case Sections
Time Levels
Variables (Solution Phases)
Solution Data
Variables (Particle Phases)
Particle Track Availability
Public Member Functions inherited from ansys::CffBase
Public Member Functions inherited from ansys::CffBase
Public Member Functions inherited from ansys::CffBase
Public Member Functions inherited from ansys::CffVersion
Public Member Functions inherited from ansys::CffVersion
Public Member Functions inherited from ansys::CffVersion
Protected Member Functions
Protected Member Functions inherited from ansys::CffBase
Protected Member Functions inherited from ansys::CffBase
Protected Member Functions inherited from ansys::CffBase
Start/End Reading
Variable Attributes (Solution Phases)
Data Sets
Additional Inherited Members
Static Public Member Functions inherited from ansys::CffVersion
Static Public Member Functions inherited from ansys::CffVersion
Static Public Member Functions inherited from ansys::CffVersion
Static Public Attributes inherited from ansys::CffBase
Static Public Attributes inherited from ansys::CffBase
Static Public Attributes inherited from ansys::CffBase
Protected Types inherited from ansys::CffBase
Protected Types inherited from ansys::CffBase
Protected Types inherited from ansys::CffBase
Protected Attributes inherited from ansys::CffBase
Protected Attributes inherited from ansys::CffBase
Protected Attributes inherited from ansys::CffBase
Detailed Description
Class that provides functions to access data stored 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 will be returned according to the rules defined in the CFF DataModels.Constructor & Destructor Documentation
CffProvider()
~CffProvider()
virtual
Destructor.
Member Function Documentation
applyVariableRecipe()
protected
availableMeshIds()
virtual
Obtain the complete list of mesh Identifiers available.
Parameters
Returns
- The available mesh identifiers.
availablePartitionIds() [1/2]
availablePartitionIds() [2/2]
virtual
Obtain the complete list of partitions available for a specific mesh identifier.
Parameters
Returns
- The available partition ids.
availableTargets() [1/2]
- The available targets.
availableTargets() [2/2]
virtual
Obtain the complete list of targets available for a specific mesh identifier.
Parameters
Returns
- The available targets.
dump()
virtual
Dump all setting key/value pairs to a file.
This debugging function allows the settings model contents to be written to a file.
Parameters
endReading()
virtual
Finish reading data of a specific source of data.
Parameters
See also
startReading
Reimplemented in ansys::CffFileProvider.
endReadingCaseSectionData()
virtual
endReadingCaseSectionDataCounts()
virtual
endReadingCategorizedCaseSections()
virtual
endReadingCell0sForFaces()
virtual
Finish reading the cell 0 parents.
This function must always be called after calling getCell0ForFace(), getCell0sForFacesInRange(), getCell0sForFacesInZone()
See also
startReadingCell0sForFaces, getCell0ForFace, getCell0sForFacesInRange, getCell0sForFacesInZone
endReadingCell1sForFaces()
virtual
Finish reading the cell 1 parents.
This function must always be called after calling getCell0ForFace(), getCel1sForFacesInRange(), getCell1sForFacesInZone()
See also
startReadingCell1sForFaces, getCell1ForFace, getCell1sForFacesInRange, getCell1sForFacesInZone
endReadingChildCellCountsForCells()
virtual
endReadingChildCellIdsForCells()
virtual
endReadingChildCellsForCells()
virtual
endReadingChildFaceCountsForFaces()
virtual
endReadingChildFaceIdsForFaces()
virtual
endReadingChildFacesForFaces()
virtual
endReadingChunkOfParticleTrackGroup()
virtual
End reading chunk in particle track group.
endReadingConstantLengthedVarForSet()
virtual
endReadingConstantLengthVarForSetData()
virtual
endReadingCoordinatesForNodes()
virtual
Finish reading coordinates for nodes.
endReadingDataOfVariableLengthedVarForSet()
virtual
endReadingDataOfVariableLengthVarForSetData()
virtual
endReadingFaceCountsForCells()
virtual
endReadingFaceIdsForCells()
virtual
endReadingFacesForCells()
virtual
endReadingIdsForSet()
virtual
endReadingIdsForSetData()
virtual
endReadingInterfaceDataForFaces()
virtual
endReadingNodeCountsForCells()
virtual
Finish reading the cell node counts.
This function must always be called before calling endReadingNodesForCells()
See also
startReadingNodesForCells, startReadingNodeCountsForCells, startReadingNodeIdsForCells, getNodeCountForCell, getNodeIdsForCell, hasUniformNodeCountForCellsInRange, getNodeCountsForCellsInRange, getNodeIdsForCellsInRange, hasUniformNodeCountForCellsInZone, getNodeCountsForCellsInZone, getNodeIdsForCellsInZone, endReadingNodeIdsForCells, endReadingNodesForCells
endReadingNodeCountsForEdges()
virtual
endReadingNodeCountsForFaces()
virtual
Finish reading the face node counts.
This function must always be called before calling endReadingNodesForFaces()
See also
startReadingNodesForFaces, startReadingNodeCountsForFaces, startReadingNodeIdsForFaces, getNodeCountForFace, getNodeIdsForFace, hasUniformNodeCountForFacesInRange, getNodeCountsForFacesInRange, getNodeIdsForFacesInRange, hasUniformNodeCountForFacesInZone, getNodeCountsForFacesInZone, getNodeIdsForFacesInZone, endReadingNodeIdsForFaces, endReadingNodesForFaces
endReadingNodeIdsForCells()
virtual
Finish reading the node identifiers for cells.
This function must always be called before calling endReadingNodesForCells()
See also
startReadingNodesForCells, startReadingNodeCountsForCells, startReadingNodeIdsForCells, getNodeCountForCell, getNodeIdsForCell, hasUniformNodeCountForCellsInRange, getNodeCountsForCellsInRange, getNodeIdsForCellsInRange, hasUniformNodeCountForCellsInZone, getNodeCountsForCellsInZone, getNodeIdsForCellsInZone, endReadingNodeCountsForCells, endReadingNodesForCells
endReadingNodeIdsForEdges()
virtual
endReadingNodeIdsForFaces()
virtual
Finish reading the node identifiers for faces.
This function must always be called before calling endReadingNodesForFaces()
See also
startReadingNodesForFaces, startReadingNodeCountsForFaces, startReadingNodeIdsForFaces, getNodeCountForFace, getNodeIdsForFace, hasUniformNodeCountForFacesInRange, getNodeCountsForFacesInRange, getNodeIdsForFacesInRange, hasUniformNodeCountForFacesInZone, getNodeCountsForFacesInZone, getNodeIdsForFacesInZone, endReadingNodeCountsForFaces, endReadingNodesForFaces
endReadingNodesForCells()
virtual
Finish reading the cell node.
See also
startReadingNodesForCells, startReadingNodeCountsForCells, startReadingNodeIdsForCells, getNodeCountForCell, getNodeIdsForCell, hasUniformNodeCountForCellsInRange, getNodeCountsForCellsInRange, getNodeIdsForCellsInRange, hasUniformNodeCountForCellsInZone, getNodeCountsForCellsInZone, getNodeIdsForCellsInZone, endReadingNodeCountsForCells, endReadingNodesIdsForCells
endReadingNodesForEdges()
virtual
endReadingNodesForFaces()
virtual
Finish reading the face node data.
This function must always be called after calling endReadingNodeCountsForFaces() or endReadingNodeIdsForFaces()
See also
startReadingNodesForFaces, startReadingNodeCountsForFaces, startReadingNodeIdsForFaces, getNodeCountForFace, getNodeIdsForFace, hasUniformNodeCountForFacesInRange, getNodeCountsForFacesInRange, getNodeIdsForFacesInRange, hasUniformNodeCountForFacesInZone, getNodeCountsForFacesInZone, getNodeIdsForFacesInZone, endReadingNodeCountsForFaces, endReadingNodeIdsForFaces
endReadingOtherDataForSetData()
virtual
endReadingOtherVariableForSet()
virtual
endReadingParticles()
virtual
endReadingParticleTrackGroup()
virtual
End reading particle track group.
endReadingParticleTracks()
virtual
End reading particle tracks.
endReadingPartitionIdsForCells()
virtual
endReadingPhase()
virtual
endReadingSet()
virtual
endReadingSetData()
virtual
endReadingShadowFaceIdsForFaces()
virtual
endReadingSizeOfVariableLengthedVarForSet()
virtual
endReadingSizeOfVariableLengthVarForSetData()
virtual
endReadingTimeLevel()
endReadingTypesForCells()
virtual
Finish reading the types of cells.
See also
startReadingTypesForCells, hasUnoformTypeForCellsInZone, getTypeForCell, getTypesForCellsInRange, getTypesForCellsInZone,
endReadingVariableForParticlesInInjection()
virtual
endReadingVariableLengthedVarForSet()
virtual
endReadingVariableLengthVarForSetData()
virtual
endReadingVariableOfParticleTracksInChunk()
virtual
End reading variables in chunk.
endReadingZonesOfCategoryWithPhaseVariable()
virtual
End reading solution data for a zone variable previously started by a call to startReadingZonesOfCategoryWithPhaseVariable.
See also
startReadingZonesOfCategoryWithPhaseVariable, getValuesOfPhaseVariableForElement, getValuesOfPhaseVariableForElementsInRange, getValuesOfPhaseVariableForElementsInZone
fileExists()
protected
getAttributesOfPhase() [1/3]
virtual
getAttributesOfPhase() [2/3]
virtual
getAttributesOfPhase() [3/3]
virtual
getAttributesOfPhaseVariable() [1/4]
virtual
Get attributes of phase variable in the supplied phase
Parameters
Returns
- true if successful, false otherwise
getAttributesOfPhaseVariable() [2/4]
virtual
Get attributes of phase variable in the current phase
Parameters
Returns
- true if successful, false otherwise
getAttributesOfPhaseVariable() [3/4]
virtual
Get attributes of phase variable in the supplied phase
Parameters
Returns
- true if successful, false otherwise
getAttributesOfPhaseVariable() [4/4]
virtual
Get attributes of phase variable
Parameters
getAttributeValueOfPhase() [1/3]
virtual
getAttributeValueOfPhase() [2/3]
virtual
getAttributeValueOfPhase() [3/3]
virtual
getAttributeValueOfPhaseVariable() [1/4]
virtual
Get attribute value of phase variable in the supplied phase
Parameters
Returns
- true if successful, false otherwise
getAttributeValueOfPhaseVariable() [2/4]
virtual
Get attribute value of phase variable in the current phase
Parameters
Returns
- true if successful, false otherwise
getAttributeValueOfPhaseVariable() [3/4]
virtual
Get attribute value of phase variable in the supplied phase
Parameters
Returns
- true if successful, false otherwise
getAttributeValueOfPhaseVariable() [4/4]
virtual
Get attribute value of phase variable
Parameters
Returns
- true if successful, false otherwise
getCaseSectionDataCountForElement()
virtual
getCaseSectionDataCountsForElementsInRange()
virtual
getCaseSectionDataCountsForElementsInZone()
virtual
getCaseSectionDataForElement()
virtual
getCaseSectionDataForElementsInRange()
virtual
getCaseSectionDataForElementsInZone()
virtual
getCell0ForFace()
virtual
Obtain cell 0 parent for specified face.
Parameters
Returns
- The identifier of parent cell 0, or 0.
getCell0sForFacesInRange()
virtual
Obtain cell 0 parents for all faces within a face range.
Parameters
Returns
- The number of cell parents read or 0.
getCell0sForFacesInZone()
virtual
Obtain cell 0 parents for all faces in zone.
Parameters
Returns
- The number of cell parents read or 0.
getCell1ForFace()
virtual
Obtain cell 1 parent for specified face.
Parameters
Returns
- The identifier of parent cell 1, or 0.
getCell1sForFacesInRange()
virtual
Obtain cell 1 parents for all faces within a range.
Parameters
Returns
- The number of cell parents read or 0.
getCell1sForFacesInZone()
virtual
Obtain cell 1 parents for all faces in zone.
Parameters
Returns
- The number of cell parents read or 0.
getChildCellCountForCell()
virtual
getChildCellCountsForCellsInRange()
virtual
getChildCellCountsForCellsInZone()
virtual
getChildCellIdsForCell()
virtual
getChildCellIdsForCellsInRange()
virtual
getChildCellIdsForCellsInZone()
virtual
getChildFaceCountForFace()
virtual
getChildFaceCountsForFacesInRange()
virtual
getChildFaceCountsForFacesInZone()
virtual
getChildFaceIdsForFace()
virtual
getChildFaceIdsForFacesInRange()
virtual
getChildFaceIdsForFacesInZone()
virtual
getChunksInParticleTrackGroup()
virtual
Get all chunk indices within the active particle track group.
Parameters
getColumnsNumOfConstantLengthVarForSetData()
virtual
getCoordinatesForNode() [1/2]
virtual
Obtain the coordinates for a specific node.
Parameters
Returns
- The actual size of the data read.
getCoordinatesForNode() [2/2]
virtual
Obtain the coordinates for a specific node.
Parameters
Returns
- The actual size of the data read.
getCoordinatesForNodesInRange() [1/2]
virtual
Obtain the coordinates for a node range.
Parameters
Returns
- The actual size of the data read.
getCoordinatesForNodesInRange() [2/2]
virtual
Obtain the coordinates for a node range.
Parameters
Returns
- The actual size of the data read.
getCoordinatesForNodesInZone() [1/2]
virtual
Obtain the coordinates for all nodes within a zone.
Parameters
Returns
- The actual size of the data read.
getCoordinatesForNodesInZone() [2/2]
virtual
Obtain the coordinates for all nodes within a zone.
Parameters
Returns
- The actual size of the data read.
getDataOfConstantLengthVarForSetData()
virtual
getDataOfVariableLengthVarForSetData()
virtual
getDataTypeOfDataForSetData()
virtual
getDataTypeOfSizeForSetData()
virtual
getFaceCountForCell()
virtual
getFaceCountsForCellsInRange()
virtual
getFaceCountsForCellsInZone()
virtual
getFaceIdsForCell()
virtual
getFaceIdsForCellsInRange()
virtual
getFaceIdsForCellsInZone()
virtual
getIdsForSetData()
virtual
getIdsForSetInRange()
virtual
getInjectionNames()
virtual
Particle Tracks
getInterfaceDataForFace() [1/2]
virtual
getInterfaceDataForFace() [2/2]
virtual
getInterfaceDataForFacesInZone() [1/2]
virtual
getInterfaceDataForFacesInZone() [2/2]
virtual
getMeshBranchesWithParticleTracks()
virtual
Get all mesh branches that contain particle track data, each mesh branch is specified by a pair of three values: meshId, target and partition (only applicable to the situation that target is PARTITION_POST)
Parameters
getNodeCountForCell()
virtual
Get the node count for a sepcific cell.
This function must always be called after calling startReadingNodesForCells() and startReadingNodeCountsForCells().
Parameters
Returns
- The number of nodes for the cell, or 0 if invalid
cellId
getNodeCountForEdge()
virtual
getNodeCountForFace()
virtual
Get the node count for a sepcific face.
This function must always be called after calling startReadingNodesForFaces() and startReadingNodeCountsForFaces().
Parameters
Returns
- The number of nodes for the face, or 0 if invalid
faceId
getNodeCountsForCellsInRange()
virtual
Get the node counts for a range of cells.
This function must always be called after calling startReadingNodesForCells() and startReadingNodeCountsForCells().
Parameters
Returns
- The size of the data returned or 0 if invalid
getNodeCountsForCellsInZone()
virtual
Get the node counts for all cells within a cell zone.
This function must always be called after calling startReadingNodesForCells() and startReadingNodeCountsForCells().
Parameters
Returns
- The size of the data returned or 0 if invalid
getNodeCountsForEdgesInRange()
virtual
getNodeCountsForEdgesInZone()
virtual
getNodeCountsForFacesInRange()
virtual
Get the node counts for a range of faces.
This function must always be called after calling startReadingNodesForFaces() and startReadingNodeCountsForFaces().
Parameters
Returns
- The size of the data returned or 0 if invalid
getNodeCountsForFacesInZone()
virtual
Get the node counts for all faces within a face zone.
This function must always be called after calling startReadingNodesForFaces() and startReadingNodeCountsForFaces().
Parameters
Returns
- The size of the data returned or 0 if invalid
getNodeIdsForCell()
virtual
Get the node identifiers for a specific cell.
This function must always be called after calling startReadingNodesForCells() and startReadingNodeIdsForCells().
Parameters
Returns
- The size of the data returned or 0 if invalid
getNodeIdsForCellsInRange()
virtual
Get the node identifiers for a range of cells.
This function must always be called after calling startReadingNodesForCells() and startReadingNodeIdsForCells().
Parameters
Returns
- The size of the data returned or 0 if invalid
getNodeIdsForCellsInZone()
virtual
Get the node identifiers for all cells within a cell zone.
This function must always be called after calling startReadingNodesForCells() and startReadingNodeIdsForCells().
Parameters
Returns
- The size of the data returned or 0 if invalid
getNodeIdsForEdge()
virtual
getNodeIdsForEdgesInRange()
virtual
getNodeIdsForEdgesInZone()
virtual
getNodeIdsForFace()
virtual
Get the node identifiers for a specific face.
This function must always be called after calling startReadingNodesForFaces() and startReadingNodeIdsForFaces().
Parameters
Returns
- The number of nodes for the face, or 0 if invalid
faceId
getNodeIdsForFacesInRange()
virtual
Get the node identifiers for a range of faces.
This function must always be called after calling startReadingNodesForFaces() and startReadingNodeIdsForFaces().
Parameters
Returns
- The size of the data returned or 0 if invalid
getNodeIdsForFacesInZone()
virtual
Get the node identifiers for a all faces within a face zone.
This function must always be called after calling startReadingNodesForFaces() and startReadingNodeIdsForFaces().
Parameters
Returns
- The size of the data returned or 0 if invalid
getNumOfParticlesInInjection()
virtual
getNumRowsOfSetData()
virtual
getOtherDataForSetData()
virtual
getOtherVariablesInSet()
virtual
getOtherVariablesInSetData()
virtual
getParticleTrackGroups()
virtual
Get names of all particle track groups in current path.
Parameters
getPartitionCount() [1/2]
- global number of partitions.
getPartitionCount() [2/2]
virtual
Query the number of partitions available for a specific mesh.
Parameters
Returns
- number of partitions in the mesh provided.
getPartitionCountForZone()
virtual
getPartitionIdForCell()
virtual
getPartitionIdsForCellsInRange()
virtual
getPartitionIdsForCellsInZone()
virtual
getPhasesWithParticleTracks()
virtual
Get all phases that contain particle track data in mesh specified by mesh, target and partition.
If any of the last two arguments are not specified, the active/default target and active/default partition are used.
Parameters
getPhaseVariableCountOfCategory()
virtual
getPhaseVariablesOfCategory() [1/2]
virtual
getPhaseVariablesOfCategory() [2/2]
virtual
getSetNames() [1/3]
virtual
getSetNames() [2/3]
virtual
getSetNames() [3/3]
virtual
getSetting()
virtual
Read contents of a settings data set as a ansys::CffSetting object.
Parameters
See also
setReadAllSettings getSettingsKeys setKeyWordsForSettingsToBeRead
getSettings()
Returns
A variant value that can be used to obtain value in different data types
See also
setReadAllSettings getSettingsKeys setKeyWordsForSettingsToBeRead
getSettingsKeys()
virtual
Return the keys that are available in the Physics Data Model.
Parameters
See also
setReadAllSettings setKeyWordsForSettingsToBeRead getSettings
getSettingString()
virtual
Read settings from a data set as text.
Parameters
See also
setReadAllSettings getSettingsKeys setKeyWordsForSettingsToBeRead
getShadowFaceIdForFace()
virtual
getShadowFaceIdsForFacesInRange()
virtual
getShadowFaceIdsForFacesInZone()
virtual
getSizeOfVariableLengthedVarForSetInRange() [1/3]
virtual
getSizeOfVariableLengthedVarForSetInRange() [2/3]
virtual
getSizeOfVariableLengthedVarForSetInRange() [3/3]
virtual
getSizeOfVariableLengthVarForSetData()
virtual
getTypeForCell()
virtual
Query the type for a cell.
This function must always be called after calling startReadingTypesForCells().
Parameters
Returns
- The
CellTypeofcellIdorCFF_CELL_TYPE_MIN.
getTypesForCellsInRange()
virtual
Obtain the types of all cells in a range.
This function must always be called after calling startReadingTypesForCells().
Parameters
Returns
- The number of valid values returned or 0
getTypesForCellsInZone()
virtual
Obtain the types of all cells in a cell zone.
This function must always be called after calling startReadingTypesForCells().
Parameters
Returns
- The number of valid values returned or 0
getValuesOfConstantLengthedVarForSetInRange() [1/10]
virtual
getValuesOfConstantLengthedVarForSetInRange() [2/10]
virtual
getValuesOfConstantLengthedVarForSetInRange() [3/10]
virtual
getValuesOfConstantLengthedVarForSetInRange() [4/10]
virtual
getValuesOfConstantLengthedVarForSetInRange() [5/10]
virtual
getValuesOfConstantLengthedVarForSetInRange() [6/10]
virtual
getValuesOfConstantLengthedVarForSetInRange() [7/10]
virtual
getValuesOfConstantLengthedVarForSetInRange() [8/10]
virtual
getValuesOfConstantLengthedVarForSetInRange() [9/10]
virtual
getValuesOfConstantLengthedVarForSetInRange() [10/10]
virtual
getValuesOfOtherVariableForSet() [1/10]
virtual
getValuesOfOtherVariableForSet() [2/10]
virtual
getValuesOfOtherVariableForSet() [3/10]
virtual
getValuesOfOtherVariableForSet() [4/10]
virtual
getValuesOfOtherVariableForSet() [5/10]
virtual
getValuesOfOtherVariableForSet() [6/10]
virtual
getValuesOfOtherVariableForSet() [7/10]
virtual
getValuesOfOtherVariableForSet() [8/10]
virtual
getValuesOfOtherVariableForSet() [9/10]
virtual
getValuesOfOtherVariableForSet() [10/10]
virtual
getValuesOfPhaseVariableForElement() [1/2]
virtual
Read solution data for a single element within a zone that contains the variable being requested by the previous call to startReadingZonesOfCategoryWithPhaseVariable.
Parameters
Returns
- 0 if the data isn’t available for the requested element or the
dataSizeif successful.
getValuesOfPhaseVariableForElement() [2/2]
virtual
Read solution data for a single element within a zone that contains the variable being requested by the previous call to startReadingZonesOfCategoryWithPhaseVariable.
Parameters
Returns
- 0 if the data isn’t available for the requested element or the
dataSizeif successful.
getValuesOfPhaseVariableForElementsInRange() [1/2]
virtual
Read solution data for a range of elements for the variable being requested by the previous call to startReadingZonesOfCategoryWithPhaseVariable.
Parameters
Returns
- 0 if the data isn’t available for the requested element or the
dataSizeif successful.
getValuesOfPhaseVariableForElementsInRange() [2/2]
virtual
Read solution data for a range of elements for the variable being requested by the previous call to startReadingZonesOfCategoryWithPhaseVariable.
Parameters
Returns
- 0 if the data isn’t available for the requested element or the
dataSizeif successful.
getValuesOfPhaseVariableForElementsInZone() [1/2]
virtual
Read solution data for a zone variable for all elements within a zone requested by the previous call to startReadingZonesOfCategoryWithPhaseVariable.
Parameters
Returns
- 0 if the data isn’t available for the requested element or the
dataSizeif successful.
getValuesOfPhaseVariableForElementsInZone() [2/2]
virtual
Read solution data for a zone variable for all elements within a zone requested by the previous call to startReadingZonesOfCategoryWithPhaseVariable.
Parameters
Returns
- 0 if the data isn’t available for the requested element or the
dataSizeif successful.
getValuesOfVariableForParticlesInInjection() [1/10]
virtual
getValuesOfVariableForParticlesInInjection() [2/10]
virtual
getValuesOfVariableForParticlesInInjection() [3/10]
virtual
getValuesOfVariableForParticlesInInjection() [4/10]
virtual
getValuesOfVariableForParticlesInInjection() [5/10]
virtual
getValuesOfVariableForParticlesInInjection() [6/10]
virtual
getValuesOfVariableForParticlesInInjection() [7/10]
virtual
getValuesOfVariableForParticlesInInjection() [8/10]
virtual
getValuesOfVariableForParticlesInInjection() [9/10]
virtual
getValuesOfVariableForParticlesInInjection() [10/10]
virtual
getValuesOfVariableLengthedVarForSetInRange() [1/10]
virtual
getValuesOfVariableLengthedVarForSetInRange() [2/10]
virtual
getValuesOfVariableLengthedVarForSetInRange() [3/10]
virtual
getValuesOfVariableLengthedVarForSetInRange() [4/10]
virtual
getValuesOfVariableLengthedVarForSetInRange() [5/10]
virtual
getValuesOfVariableLengthedVarForSetInRange() [6/10]
virtual
getValuesOfVariableLengthedVarForSetInRange() [7/10]
virtual
getValuesOfVariableLengthedVarForSetInRange() [8/10]
virtual
getValuesOfVariableLengthedVarForSetInRange() [9/10]
virtual
getValuesOfVariableLengthedVarForSetInRange() [10/10]
virtual
getVariableDataOfAllParticleTracksInChunk() [1/10]
virtual
Get data for the variable in all particle tracks in the chunk.
Parameters
getVariableDataOfAllParticleTracksInChunk() [2/10]
virtual
Get data for the variable in all particle tracks in the chunk.
Parameters
getVariableDataOfAllParticleTracksInChunk() [3/10]
virtual
Get data for the variable in all particle tracks in the chunk.
Parameters
getVariableDataOfAllParticleTracksInChunk() [4/10]
virtual
Get data for the variable in all particle tracks in the chunk.
Parameters
getVariableDataOfAllParticleTracksInChunk() [5/10]
virtual
Get data for the variable in all particle tracks in the chunk.
Parameters
getVariableDataOfAllParticleTracksInChunk() [6/10]
virtual
Get data for the variable in all particle tracks in the chunk.
Parameters
getVariableDataOfAllParticleTracksInChunk() [7/10]
virtual
Get data for the variable in all particle tracks in the chunk.
Parameters
getVariableDataOfAllParticleTracksInChunk() [8/10]
virtual
Get data for the variable in all particle tracks in the chunk.
Parameters
getVariableDataOfAllParticleTracksInChunk() [9/10]
virtual
Get data for the variable in all particle tracks in the chunk.
Parameters
getVariableDataOfAllParticleTracksInChunk() [10/10]
virtual
Get data for the variable in all particle tracks in the chunk.
Parameters
getVariableDataOfParticleTrackInChunk() [1/10]
virtual
Get data for the variable within the specified particle within the active chunk.
Parameters
getVariableDataOfParticleTrackInChunk() [2/10]
virtual
Get data for the variable within the specified particle within the active chunk.
Parameters
getVariableDataOfParticleTrackInChunk() [3/10]
virtual
Get data for the variable within the specified particle within the active chunk.
Parameters
getVariableDataOfParticleTrackInChunk() [4/10]
virtual
Get data for the variable within the specified particle within the active chunk.
Parameters
getVariableDataOfParticleTrackInChunk() [5/10]
virtual
Get data for the variable within the specified particle within the active chunk.
Parameters
getVariableDataOfParticleTrackInChunk() [6/10]
virtual
Get data for the variable within the specified particle within the active chunk.
Parameters
getVariableDataOfParticleTrackInChunk() [7/10]
virtual
Get data for the variable within the specified particle within the active chunk.
Parameters
getVariableDataOfParticleTrackInChunk() [8/10]
virtual
Get data for the variable within the specified particle within the active chunk.
Parameters
getVariableDataOfParticleTrackInChunk() [9/10]
virtual
Get data for the variable within the specified particle within the active chunk.
Parameters
getVariableDataOfParticleTrackInChunk() [10/10]
virtual
Get data for the variable within the specified particle within the active chunk.
Parameters
getVariableId() [1/3]
Parameters
Returns
- true if a valid variable, false otherwise
getVariableId() [2/3]
Parameters
Returns
- true if a valid variable, false otherwise
getVariableId() [3/3]
Parameters
Returns
- true if a valid variable, false otherwise
getVariablesInSet()
virtual
getVariablesInSetData()
virtual
getVariablesOfInjection() [1/2]
virtual
getVariablesOfInjection() [2/2]
virtual
getVariablesOfParticleTrack()
virtual
Get all variables in the particle track group.
Information for each variable is returned in a consistently indexed array.
Parameters
hasMeshId()
virtual
Determine whether a specific mesh exists.
Parameters
Returns
- true if the mesh exists.
hasParticles() [1/3]
virtual
hasParticles() [2/3]
virtual
hasParticles() [3/3]
virtual
hasParticleTracks() [1/3]
virtual
Check if there are any particle tracks.
hasParticleTracks() [2/3]
virtual
Check whether particular particle tracks exist.
Parameters
hasParticleTracks() [3/3]
virtual
Check whether partucular particle tracks exist.
Parameters
hasParticleTracksInActivePhase()
virtual
Check if there are particle track data in active phase of active mesh set.
hasPartition() [1/2]
virtual
Query if the partition exists for specific mesh.
Parameters
Returns
- true if exists in the mesh, false otherwise.
hasPartition() [2/2]
Returns
- true if exists, false otherwise.
hasTarget() [1/2]
virtual
Determine whether a specified mesh can be read using the target category.
Parameters
Returns
- True if the mesh mesh is defined in the category
hasTarget() [2/2]
Returns
- True if at least one mesh is defined in the category
hasUniformCaseSectionDataCountForZone()
virtual
hasUniformFaceCountForCellsInZone()
virtual
hasUniformNodeCountForCellsInZone()
virtual
Query whether all cells in the cell zone are defined using a uniform node count.
This function must always be called after calling startReadingNodesForCell() and startReadingNodeCountsForCells().
Parameters
Returns
- true if all cells have the same node count, else false
hasUniformNodeCountForEdgesInRange()
virtual
hasUniformNodeCountForEdgesInZone()
virtual
hasUniformNodeCountForFacesInRange()
virtual
Query whether all faces in the face range are defined using a uniform node count. i.e. are all the same type.
This function must always be called after calling startReadingNodesForFaces() and startReadingNodeCountsForFaces().
Parameters
Returns
- true if all faces have the same node count, else false
hasUniformNodeCountForFacesInZone()
virtual
Query whether all faces in the face zone are defined using a uniform node count. i.e. are all the same type.
This function must always be called after calling startReadingNodesForFaces() and startReadingNodeCountsForFaces().
Parameters
Returns
- true if all faces have the same node count, else false
hasUniformTypeForCellsInZone()
virtual
Query whether all cells in the cell zone have the same cell type.
This function must always be called after calling startReadingTypesForCells().
Parameters
Returns
- true if all cells have the same type, else false
isReading()
virtual
Return whether a reading of the class of data specified is possible.
Parameters
Returns
- true if data is readable, false otherwirse.
isReadingData()
This function has been deprecated in favour of isReading(DataClass) and will be removed in a future release.
print()
virtual
Dump all setting key/value pairs to standard out.
This debugging function allows the settings model contents to be written to standard output.
Parameters
setHeavyDataCacheMode()
virtual
Set whether heavy weight data is cached within the API when read from the database. This function should be called prior to ansys::CffProvider::startReading.
Parameters
Note: Not all subclasses will implement this function and calling this function in these cases. The motivation of providing this option is to speed up data reading for certain situation. In certain situation, user might need to read small amount of data each time but do many times of reading to read all data in a dataset. As accessing of the disk is usually much slower than accessing memory. So when “heavy weight data cache” is turned on, CFF SDK will read more data than requested by API call, the extra data read from file will be cached in memory, if the next API call is to retrieve these data already cached in memory, CFF SDK will get them directly from the memory without accessing the disk. In this way, avoid too frequent accessing of disk. This feature is recommended to use for the situation that all of the following conditions satisfied 1) Data of multiple zones are written into one dataset in cff file, the cff files written by Fluent is usually like this. For cff files written by other Ansys products, each zone is in a separate data set, so there is no performance benefit to use this option. 2) There are many small zones. The up limit of data caching is 50 MB, if the data of each zone is more than 20 MB, there will no performance benefit to use this option. 3) The order you read the data is from small element id to large element ids. So if you need to read data in random order, this option is not suitable.
See also
startReading
setKeyWordsForSettingsToBeRead()
virtual
Limit the key words to be read into a Ansys Common Fluids Settings Data Model.
By default all settings datasets are read, parsed and the settings data model is populated with the all settings in that data set.
If only certain settings are required this function can be called with the data set names that should be read and the keys that are required from each dataset.
This function should be called before ansys::CffProvider::startReading
Note: The keys for dsNames[n] are defined by the list of strings in settings[n]
Parameters
See also
startReading setReadAllSettings getSettings getSettingsKeys
setReadAllSettings()
virtual
Turn on whether settings are read into a Ansys Common Fluids Settings Data Model.
This function should be called before calling ansys::CffProvider::startReading
Parameters
Note: the default is to read all settings on read.
See also
setKeywordsForSettingsToRead startReading
setReading()
protected
Set whether a reading of the class of data specified is possible.
Parameters
See also
startReading, endReading
setSkipReadZoneTopology()
virtual
Set whether mesh zone to mesh zone topology topology should be constructed when the case data is read. It should be called prior to calling ansys::CffProvider::startReading.
Parameters
Note: Not all subclasses will implement this function and not all solvers write write data where this operation is needed.
See also
startReading
setVariableRecipeProvider()
virtual
Function allowing a user of the API to provide a Variable Recipe Provider that interprets data in a particular way.
This function should be called before calling ansys::CffProvider::startReading
Parameters
See also
startReading
setVariableTarget()
virtual
Sets the target variable naming convention.
Variables written by an application will in general be written in the applications native dialog. In order too provide a method to allow the user to see variables from multiple applications with common nammes it is possible to define the target naming convention using this function.
Parameters
Note: There is no need to use this function if the native convention is used.
Note: Use
ANSYS_COMMON to map to a common naming covention.
See also
startReading
startReading()
virtual
Reimplemented in ansys::CffFileProvider.
startReadingCaseSectionData()
virtual
startReadingCaseSectionDataCounts()
virtual
startReadingCaseSectionForCategory()
virtual
startReadingCategorizedCaseSections()
virtual
startReadingCell0sForFaces()
virtual
Start reading the cell 0 parents.
This function must always be called before calling getCell0ForFace(), getCell0sForFacesInRange(), getCell0sForFacesInZone()
See also
getCell0ForFace, getCell0sForFacesInRange, getCell0sForFacesInZone, endReadingCell0sForFaces,
startReadingCell1sForFaces()
virtual
Start reading the cell 1 parents.
This function must always be called before calling getCell1ForFace(), getCell1sForFacesInRange(), getCell1sForFacesInZone()
See also
getCell1ForFace, getCell1sForFacesInRange, getCell1sForFacesInZone, endReadingCell1sForFaces,
startReadingChildCellCountsForCells()
virtual
startReadingChildCellIdsForCells()
virtual
startReadingChildCellsForCells()
virtual
startReadingChildFaceCountsForFaces()
virtual
startReadingChildFaceIdsForFaces()
virtual
startReadingChildFacesForFaces()
virtual
startReadingChunkInParticleTrackGroup()
virtual
Start reading the specified chunk within the particle track group.
Parameters
Returns
- The total number of particles in the chunk.
startReadingConstantLengthedVarForSet()
virtual
startReadingConstantLengthVarForSetData()
virtual
startReadingCoordinatesForNodes()
virtual
Determine the node zones for which coordinates have been defined and prepare to read the coordinates for those zones.
To read the coordinates for a specific node, specified node range or all nodes within a node zone the following group of functions must be called. In this example the code is reading all the nodes for the first zone that contains nodal coordinates;
Parameters
This function must always be called before calling the functions to read the actual node coordinates.
See also
getCoordinatesForNode, getCoordinatesForNodesInRange, getCoordinatesForNodesInZone, endReadingCoordinatesForNodes
startReadingDataOfVariableLengthedVarForSet()
virtual
startReadingDataOfVariableLengthVarForSetData()
virtual
startReadingFaceCountsForCells()
virtual
startReadingFaceIdsForCells()
virtual
startReadingFacesForCells()
virtual
startReadingIdsForSet()
virtual
startReadingIdsForSetData()
virtual
startReadingInterfaceDataForFaces()
virtual
startReadingNodeCountsForCells()
virtual
Start reading the cell node counts.
This function must always be called after calling startReadingNodesForCells()
See also
startReadingNodesForCells, startReadingNodeIdsForCells, getNodeCountForCell, getNodeIdsForCell, hasUniformNodeCountForCellsInRange, getNodeCountsForCellsInRange, getNodeIdsForCellsInRange, hasUniformNodeCountForCellsInZone, getNodeCountsForCellsInZone, getNodeIdsForCellsInZone, endReadingNodeCountsForCells, endReadingNodeIdsForCells, endReadingNodesForCells
startReadingNodeCountsForEdges()
virtual
startReadingNodeCountsForFaces()
virtual
Start reading the face node counts.
This function must always be called after calling startReadingNodesForFaces()
See also
startReadingNodesForFaces, startReadingNodeIdsForFaces, getNodeCountForFace, getNodeIdsForFace, hasUniformNodeCountForFacesInRange, getNodeCountsForFacesInRange, getNodeIdsForFacesInRange, hasUniformNodeCountForFacesInZone, getNodeCountsForFacesInZone, getNodeIdsForFacesInZone, endReadingNodeCountsForFaces, endReadingNodeIdsForFaces, endReadingNodesForFaces
startReadingNodeIdsForCells()
virtual
Start reading the node identifiers for cells.
This function must always be called after calling startReadingNodesForCells()
See also
startReadingNodesForCells, startReadingNodeCountsForCells, getNodeCountForCell, getNodeIdsForCell, hasUniformNodeCountForCellsInRange, getNodeCountsForCellsInRange, getNodeIdsForCellsInRange, hasUniformNodeCountForCellsInZone, getNodeCountsForCellsInZone, getNodeIdsForCellsInZone, endReadingNodeCountsForCells, endReadingNodeIdsForCells, endReadingNodesForCells
startReadingNodeIdsForEdges()
virtual
startReadingNodeIdsForFaces()
virtual
Start reading the face nodes.
This function must always be called after calling startReadingNodesForFaces()
See also
startReadingNodesForFaces, startReadingNodeCountsForFaces, getNodeCountForFace, getNodeIdsForFace, hasUniformNodeCountForFacesInRange, getNodeCountsForFacesInRange, getNodeIdsForFacesInRange, hasUniformNodeCountForFacesInZone, getNodeCountsForFacesInZone, getNodeIdsForFacesInZone, endReadingNodeCountsForFaces, endReadingNodeIdsForFaces, endReadingNodesForFaces
startReadingNodesForCells()
virtual
Determine the cell zones for which nodes have been defined and prepare to read the nodes for those zones.
Parameters
This function must always be called before calling the functions to read the actual cell node counts or cell nodes.
See also
startReadingNodeCountsForCells, startReadingNodeIdsForCells, getNodeCountForCell, getNodeIdsForCell, hasUniformNodeCountForCellsInRange, getNodeCountsForCellsInRange, getNodeIdsForCellsInRange, hasUniformNodeCountForCellsInZone, getNodeCountsForCellsInZone, getNodeIdsForCellsInZone, endReadingNodeCountsForCells, endReadingNodeIdsForCells, endReadingNodesForCells
startReadingNodesForEdges()
virtual
startReadingNodesForFaces()
virtual
Determine the face zones for which nodes have been defined and prepare to read the nodes for those zones.
Parameters
This function must always be called before calling the functions to read the actual face node counts or face nodes.
See also
startReadingNodeCountsForFaces, startReadingNodeIdsForFaces, getNodeCountForFace, getNodeIdsForFace, hasUniformNodeCountForFacesInRange, getNodeCountsForFacesInRange, getNodeIdsForFacesInRange, hasUniformNodeCountForFacesInZone, getNodeCountsForFacesInZone, getNodeIdsForFacesInZone, endReadingNodeCountsForFaces, endReadingNodeIdsForFaces, endReadingNodesForFaces
startReadingOtherDataForSetData()
virtual
startReadingOtherVariableForSet()
virtual
startReadingParticles() [1/3]
virtual
startReadingParticles() [2/3]
virtual
startReadingParticles() [3/3]
virtual
startReadingParticleTrackGroup()
virtual
Start reading a specific particle track group.
Parameters
startReadingParticleTracks()
virtual
Start reading particle tracks by phase in the mesh, target and partition.
If any of them are not specified, the current active value will be used.
Parameters
startReadingPartitionIdsForCells()
virtual
startReadingPhase()
virtual
Phases and Phase Attributes
startReadingSet()
virtual
startReadingSetData()
virtual
startReadingShadowFaceIdsForFaces()
virtual
startReadingSizeOfVariableLengthedVarForSet()
virtual
startReadingSizeOfVariableLengthVarForSetData()
virtual
startReadingTimeLevel()
startReadingTypesForCells()
virtual
Determine the cell zones for which cell types have been defined and prepare to read the cell types for those zones.
Parameters
This function must always be called before calling the functions to read the actual cell types.
See also
hasUniformTypeForCellsInZone, getTypeForCell, getTypesForCellsInRange, getTypesForCellsInZone, endReadingTypesForCells
startReadingVariableForParticlesInInjection()
virtual
startReadingVariableLengthedVarForSet()
virtual
startReadingVariableLengthVarForSetData()
virtual
startReadingVariableOfParticleTracksInChunk()
virtual
Start reading variable in the current chunk.
Parameters
Returns
- The dimension of the specified variable.
startReadingZonesOfCategoryWithPhaseVariable() [1/2]
virtual
Determine the zones in which the phase variable exists, and if valid prepare to read the solution data for the variable in those zones.
To read the solution data for a specific mesh element, element range or zone the following group of functions must be called. In this example the code is reading the solution data for all node zones that contain the requested solution variable name “Pressure”:
Parameters
Returns
- 0 if the data isn’t available in any zone of the passed zoneCategory or the number of componets that will be required to be allocated per zone element for which solution data may be later requested.
startReadingZonesOfCategoryWithPhaseVariable() [2/2]
virtual
Determine the zones in which the phase variable exists, and if valid prepare to read the solution data for the variable in those zones.
Parameters
Returns
- 0 if the data isn’t available in any zone of the passed zoneCategory or the number of components that will be required to be allocated per zone element for which solution data may be later requested.