Fesapi 2.10.1.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
|
#include <FrictionTheorySpecification.h>
Public Member Functions | |
FrictionTheorySpecification (gsoap_eml2_3::prodml22__FrictionTheory *fromGsoap) | |
~FrictionTheorySpecification ()=default | |
unsigned int | getPrsvParameterCount () const |
double | getPrsvParameterA1 (unsigned int index) const |
double | getPrsvParameterA2 (unsigned int index) const |
double | getPrsvParameterB1 (unsigned int index) const |
double | getPrsvParameterB2 (unsigned int index) const |
double | getPrsvParameterC2 (unsigned int index) const |
std::string | getPrsvParameterFluidComponentReference (unsigned int index) const |
void | pushBackPrsvParameter (double a1, double a2, double b1, double b2, double c2, const std::string &fluidComponentReference) |
Public Member Functions inherited from prodml2_2::CompositionalViscositySpecification | |
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 |
A friction theory specification.
|
inline |
Creates an instance of this class by wrapping a gsoap instance.
[in,out] | fromGsoap | If non-null, from gsoap. |
|
default |
Destructor does nothing since the memory is managed by the gsoap context.
|
inline |
Gets prsv parameter a 1
std::out_of_range | Thrown when an out of range error condition occurs. |
index | Zero-based index of the. |
|
inline |
Gets prsv parameter a 2
std::out_of_range | Thrown when an out of range error condition occurs. |
index | Zero-based index of the. |
|
inline |
Gets prsv parameter b 1
std::out_of_range | Thrown when an out of range error condition occurs. |
index | Zero-based index of the. |
|
inline |
Gets prsv parameter b 2
std::out_of_range | Thrown when an out of range error condition occurs. |
index | Zero-based index of the. |
|
inline |
Gets prsv parameter c 2
std::out_of_range | Thrown when an out of range error condition occurs. |
index | Zero-based index of the. |
|
inline |
Gets prsv parameter count
std::out_of_range | Thrown when an out of range error condition occurs. |
|
inline |
Gets prsv parameter fluid component reference
std::out_of_range | Thrown when an out of range error condition occurs. |
index | Zero-based index of the. |
void prodml2_2::FrictionTheorySpecification::pushBackPrsvParameter | ( | double | a1, |
double | a2, | ||
double | b1, | ||
double | b2, | ||
double | c2, | ||
const std::string & | fluidComponentReference ) |
Pushes a back prsv parameter
a1 | The first double. |
a2 | The second double. |
b1 | The first double. |
b2 | The second double. |
c2 | The second double. |
fluidComponentReference | The fluid component reference. |