Fesapi 2.14.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
prodml2_3::CompositionalViscositySpecification Class Reference

#include <CompositionalViscositySpecification.h>

Inheritance diagram for prodml2_3::CompositionalViscositySpecification:
prodml2_3::CompositionalSpecification prodml2_3::PvtSpecification prodml2_3::FrictionTheorySpecification

Public Member Functions

 CompositionalViscositySpecification (gsoap_eml2_3::prodml23__AbstractCompositionalViscosityModel *fromGsoap)
virtual ~CompositionalViscositySpecification ()=default
gsoap_eml2_3::prodml23__ThermodynamicPhase getThermodynamicPhase () const
void setThermodynamicPhase (gsoap_eml2_3::prodml23__ThermodynamicPhase phase)
Public Member Functions inherited from prodml2_3::CompositionalSpecification
 CompositionalSpecification (gsoap_eml2_3::prodml23__AbstractCompositionalModel *fromGsoap)
virtual ~CompositionalSpecification ()=default
bool hasMixingRule () const
gsoap_eml2_3::prodml23__MixingRule getMixingRule () const
void setMixingRule (gsoap_eml2_3::prodml23__MixingRule mixingRule)
unsigned int getBinaryInteractionCoefficientCount () const
std::string getBinaryInteractionCoefficientFluidComponent1Reference (unsigned int index) const
bool hasBinaryInteractionCoefficientFluidComponent2Reference (unsigned int index) const
std::string getBinaryInteractionCoefficientFluidComponent2Reference (unsigned int index) const
void pushBackBinaryInteractionCoefficient (double value, const std::string &fluidComponent1Reference, const std::string &fluidComponent2Reference="")
unsigned int getFluidComponentPropertyCount () const
void pushBackFluidComponentProperty (const std::string &fluidComponentReference)
std::string getFluidComponentPropertyFluidComponentReference (unsigned int index) const
Public Member Functions inherited from prodml2_3::PvtSpecification
 PvtSpecification (gsoap_eml2_3::prodml23__AbstractPvtModel *fromGsoap)
virtual ~PvtSpecification ()=default
unsigned int getCoefficientCount () const
double getCoefficientValue (unsigned int index) const
gsoap_eml2_3::prodml23__PvtModelParameterKind getCoefficientKind (unsigned int index) const
bool hasCoefficientName (unsigned int index) const
std::string getCoefficientName (unsigned int index) const
void pushBackCoefficient (double value, gsoap_eml2_3::prodml23__PvtModelParameterKind kind, const std::string &name="")

Additional Inherited Members

Public Attributes inherited from prodml2_3::PvtSpecification
gsoap_eml2_3::prodml23__AbstractPvtModel * gsoapProxy

Detailed Description

A compositional viscosity specification.

Constructor & Destructor Documentation

◆ CompositionalViscositySpecification()

prodml2_3::CompositionalViscositySpecification::CompositionalViscositySpecification ( gsoap_eml2_3::prodml23__AbstractCompositionalViscosityModel * fromGsoap)
inline

Creates an instance of this class by wrapping a gsoap instance.

Parameters
[in,out]fromGsoapIf non-null, from gsoap.

◆ ~CompositionalViscositySpecification()

virtual prodml2_3::CompositionalViscositySpecification::~CompositionalViscositySpecification ( )
virtualdefault

Destructor does nothing since the memory is managed by the gsoap context.

Member Function Documentation

◆ getThermodynamicPhase()

gsoap_eml2_3::prodml23__ThermodynamicPhase prodml2_3::CompositionalViscositySpecification::getThermodynamicPhase ( ) const
inline

Gets thermodynamic phase

Returns
The thermodynamic phase.

◆ setThermodynamicPhase()

void prodml2_3::CompositionalViscositySpecification::setThermodynamicPhase ( gsoap_eml2_3::prodml23__ThermodynamicPhase phase)
inline

Sets thermodynamic phase

Parameters
phaseThe phase.

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