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

Public Member Functions
Public Member Functions inherited from ansys::CffVersion
Public Member Functions inherited from ansys::CffVersion
Public Member Functions inherited from ansys::CffVersion
Static Public Attributes
Protected Types
Protected Member Functions
Protected Attributes
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
Detailed Description
Base class that provides common function used by both CffConsumer and CffProvider classes. CffBase cannot be instantiated itself but must be used via the derived classes ansys::CffConsumer (when writing to CFF) and ansys::CffProvider (when reading from CFF).Member Enumeration Documentation
UpdateMethod
strong protected
Constructor & Destructor Documentation
CffBase()
~CffBase()
virtual
Destructor.
Destroys an instance of a type CffBase
Member Function Documentation
addSetting()
Returns
- True if successully added, false otherwise
addSettingsDataSet()
Returns
- true if a valid parser is found, otherwise false
addTimeLevel()
protected
addVariableOfCategory()
protected
finalizeMeshContext()
inline protected virtual
getActivePhase() [1/2]
protected
getActivePhase() [2/2]
protected
getAllFaceZoneFlags()
getApplicationName()
protected
Obtains the application name that was set by calling setApplicationName logging when writing a file.
Returns
- The application name
getCellFaceZoneIds()
getCellZoneInfo()
getEdgeZoneInfo()
getEdgeZoneType()
getErrors()
Returns
- vector of messages
getFaceCellZone0Ids() [1/2]
getFaceCellZone0Ids() [2/2]
protected
getFaceCellZone1Ids() [1/2]
getFaceCellZone1Ids() [2/2]
protected
getFaceZoneInfo()
getFaceZoneProp()
getFaceZoneType()
getGroupNameForPhase()
protected
getInfos()
Returns
- vector of messages
getLocationModel()
getMeshId()
getMeshSize()
getMeshUnits()
getMessageRegistrar()
- A pointer to the message registration object.
getNodeZoneInfo()
Parameters
getNumZones()
virtual
Returns the number of zones in a specific category.
Parameters
Returns
- The number of zones defined of that category.
getPartitionId()
getPhaseIds()
getPhaseName() [1/2]
Returns
- The unique name obtained.
getPhaseName() [2/2]
Returns
- Whether the Phase supplied was valid.
getSolverType()
- The name of the application that supplied the data.
getSortedMinIdZoneId()
protected
getTarget()
- The category of data being processed.
getTimeLevel()
getTimeLevels()
getWarnings()
Returns
- vector of messages
getZoneCategory()
protected
get the zone category of a given zone by zone id
Parameters
Returns
- zone category of all the zones indicated by the input argument, all supported zone categories are defined in ZoneCategory
getZoneIds()
virtual
Request the collection of zone Ids that are of a specific category. Parameters
Note: zoneIds is correctly sized by the function.
getZoneSizeInfo()
getZoneStringInfo()
hasError()
- true if messages are unprocessed, false otherwise
hasInfo()
- true if messages are unprocessed, false otherwise
hasWarning()
- true if messages are unprocessed, false otherwise
initializeVariableAttributeProvider()
protected
initLocationModel()
inline protected virtual
isSupported()
protected
Check whether the version can be read by this version of the CFF SDK.
Parameters
Returns
- CFF_READABLE_OK if the API can read the data, CFF_READABLE_WARN if the data can be read partially or with warnings, CFF_READABLE_ERROR if the data is incompatible with this version of the API.
locationModel()
protected
registerSettingsParser()
setActivePhase() [1/2]
protected
setActivePhase() [2/2]
protected
setAllFaceZoneFlags()
setApplicationName()
setCellFaceZoneIds()
protected
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.
Parameters
setCellZoneInfo()
setDebugOn()
virtual
Turn on/off debugging information.
Parameters
setEdgeZoneInfo()
setEdgeZoneType()
Zone types of edges zones indicate edge type of the edge zone. For all defined edge zone types, see CffEdgeZoneType Parameters
setFaceCellZone0Ids()
protected
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.
Parameters
setFaceCellZone1Ids()
protected
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.
Parameters
setFaceZoneInfo()
setFaceZoneProp()
setFaceZoneType()
setMeshContext()
protected
setMeshId()
setMeshSize() [1/2]
protected
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.
Parameters
setMeshSize() [2/2]
setMeshUnits()
setNodeZoneInfo()
Parameters
setPartitionId()
setReadNCIOn()
virtual
Turn on/off non-conformal interface reading.
Parameters
setSolverType()
virtual
Set the name of the application that is supplying the data.
When supplyingn a model this function should be called to definie the owner of the data that is in the model. This name is used automatically by the API to determine the CffVariableAttributeProvider that is used to populate the Ansys Common Fluids Solution Data Model.
Parameters
setTarget()
setTimeLevel()
protected
setVariableAttributeProvider()
Parameters
setZoneAdjacency()
protected virtual
setZoneCategory()
protected
set the zone categories of all zones of the same zone category
This function can be used to set zone categories of a batch of zones with the same zone category.
Parameters
setZoneIds()
setZoneSizeInfo()
setZoneStringInfo()
solutionModel()
protected
updateData()
inline protected virtual
Member Data Documentation
_data
protected
_defaultSettingsPath
static
_varAttrProvider
protected