Skip to main content
Base class for Run, Output, Result - provide built-in variable set/get functions. #include "RunOutputAttr.hpp" Inheritance diagram for ansys::Project::RunOutputAttr:

Public Member Functions

Static Public Attributes

Protected Member Functions

Detailed Description

Base class for Run, Output, Result - provide built-in variable set/get functions. The mandatory/built-in variables of a run are simple Metadata variables. The built-in variable should be accessed through the dedicated set/get API, the get API will ensure to apply inheritance and search the parent objects, when a value is not found at the current level. For example: However the Metadata can also be accessed directly, the internal variable names are stored in the RunOutputAttr::sVar* strings

Constructor & Destructor Documentation

~RunOutputAttr()

inline virtual

Member Function Documentation

getCaseId()

Returns the specified variable (if available)

getConnectivityId()

Returns the specified variable (if available) If not available, will return the mesh-id instead

getCoordinatesId()

Returns the specified variable (if available) If not available, will return the mesh-id instead

getCrankAngle()

Returns the specified variable (if available)

getDomainTransformationId()

Returns the specified variable (if available) If not available, will return the input-settings-id instead

getFirstIteratorForCurrent()

Return the first entry in the current Run, with same variable value. Can be used either on a Result or an Output iterator. A Run contains a sequence of Output, for the current Output, will search the first entry in the parent run sequence which has the same variable value. For example: mesh-id 0,0,1,1,0 the last entry [4] is using the same mesh as the two first steps [0] and [1] the iterator returned would be [0] If this function is called on a Result iterator, it will return the matching result in the found Output, with the same data type.

getFirstIteratorForCurrentCaseId()

See getFirstIterator(const std::string&)

getFirstIteratorForCurrentConnectivityId()

See getFirstIterator(const std::string&)

getFirstIteratorForCurrentCoordinatesId()

See getFirstIterator(const std::string&)

getFirstIteratorForCurrentDomainTransformationId()

See getFirstIterator(const std::string&)

getFirstIteratorForCurrentInputSettingsId()

See getFirstIterator(const std::string&)

getFirstIteratorForCurrentLocationId()

See getFirstIterator(const std::string&)

getFirstIteratorForCurrentMeshId()

See getFirstIterator(const std::string&)

getFirstIteratorForCurrentPhysicsId()

See getFirstIterator(const std::string&)

getFirstIteratorForCurrentTopologyId()

See getFirstIterator(const std::string&)

getIndex()

Returns the output index (incremental id in a run) - always available.

getInputSettingsId()

Returns the specified variable (if available) If not available, will return the case-id instead

getIterator()

protected pure virtual Implemented in ansys::Project::Output, ansys::Project::Result, ansys::Project::Run, and ansys::Project::RunGroup.

getLocationId()

Returns the specified variable (if available) If not available, will return 0

getMeshId()

Returns the specified variable (if available)

getOutputSettingsId()

Returns the specified variable (if available)

getPhysicsId()

Returns the specified variable (if available) If not available, will return the input-settings-id instead

getSolverIteration()

Returns the number of solver iterations (if available)

getTime()

Returns the transient time value (if available)

getTopologyId()

Returns the specified variable (if available) If not available, will return the mesh-id instead

getValue()

pure virtual Implemented in ansys::Project::Output, ansys::Project::Result, and ansys::Project::Run.

getValueDouble()

pure virtual Implemented in ansys::Project::Output, ansys::Project::Result, and ansys::Project::Run.

getValueInt()

pure virtual Implemented in ansys::Project::Output, ansys::Project::Result, and ansys::Project::Run.

getValues()

Returns the values for a list of variables.

getValueType()

pure virtual Implemented in ansys::Project::Output, ansys::Project::Result, and ansys::Project::Run.

hasValue()

pure virtual Implemented in ansys::Project::Output, ansys::Project::Result, and ansys::Project::Run.

setCaseId()

Changes the specified variable.

setConnectivityId()

Changes the specified variable.

setCoordinatesId()

Changes the specified variable.

setCrankAngle()

Changes the specified variable.

setDomainTransformationId()

Changes the specified variable.

setIndex()

Changes the specified variable.

setInputSettingsId()

Changes the specified variable.

setLocationId()

Changes the specified variable.

setMeshId()

Changes the specified variable.

setOutputSettingsId()

Changes the specified variable.

setPhysicsId()

Changes the specified variable.

setSolverIteration()

Changes the specified variable.

setTime()

Changes the specified variable.

setTopologyId()

Changes the specified variable.

setValue()

pure virtual Implemented in ansys::Project::Output, ansys::Project::Result, and ansys::Project::Run.

setValueDouble()

pure virtual Implemented in ansys::Project::Output, ansys::Project::Result, and ansys::Project::Run.

setValueInt()

pure virtual Implemented in ansys::Project::Output, ansys::Project::Result, and ansys::Project::Run.

Member Data Documentation

sVarCaseId

static

sVarConnectivityId

static

sVarCoordinatesId

static

sVarCrankAngle

static

sVarDomainTransformationId

static

sVarIndex

static

sVarInputSettingsId

static

sVarLocationId

static

sVarMeshId

static

sVarOutputSettingsId

static

sVarPhysicsId

static

sVarSolverIteration

static

sVarTime

static

sVarTopologyId

static