Fesapi 2.13.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_2::CompositionalViscositySpecification Class Reference

#include <CompositionalViscositySpecification.h>

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

Public Member Functions

 CompositionalViscositySpecification (gsoap_eml2_3::prodml22__AbstractCompositionalViscosityModel *fromGsoap)
virtual ~CompositionalViscositySpecification ()=default
gsoap_eml2_3::prodml22__ThermodynamicPhase getThermodynamicPhase () const
void setThermodynamicPhase (gsoap_eml2_3::prodml22__ThermodynamicPhase phase)
Public Member Functions inherited from prodml2_2::CompositionalSpecification
 CompositionalSpecification (gsoap_eml2_3::prodml22__AbstractCompositionalModel *fromGsoap)
virtual ~CompositionalSpecification ()=default
bool hasMixingRule () const
gsoap_eml2_3::prodml22__MixingRule getMixingRule () const
void setMixingRule (gsoap_eml2_3::prodml22__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_2::PvtSpecification
 PvtSpecification (gsoap_eml2_3::prodml22__AbstractPvtModel *fromGsoap)
virtual ~PvtSpecification ()=default
unsigned int getCoefficientCount () const
double getCoefficientValue (unsigned int index) const
gsoap_eml2_3::prodml22__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::prodml22__PvtModelParameterKind kind, const std::string &name="")

Additional Inherited Members

Public Attributes inherited from prodml2_2::PvtSpecification
gsoap_eml2_3::prodml22__AbstractPvtModel * gsoapProxy

Detailed Description

A compositional viscosity specification.

Constructor & Destructor Documentation

◆ CompositionalViscositySpecification()

prodml2_2::CompositionalViscositySpecification::CompositionalViscositySpecification ( gsoap_eml2_3::prodml22__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_2::CompositionalViscositySpecification::~CompositionalViscositySpecification ( )
virtualdefault

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

Member Function Documentation

◆ getThermodynamicPhase()

gsoap_eml2_3::prodml22__ThermodynamicPhase prodml2_2::CompositionalViscositySpecification::getThermodynamicPhase ( ) const
inline

Gets thermodynamic phase

Returns
The thermodynamic phase.

◆ setThermodynamicPhase()

void prodml2_2::CompositionalViscositySpecification::setThermodynamicPhase ( gsoap_eml2_3::prodml22__ThermodynamicPhase phase)
inline

Sets thermodynamic phase

Parameters
phaseThe phase.

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