pure abstract interface to phase type and id stuff
More...
#include <PhaseInterface.h>
pure abstract interface to phase type and id stuff
#include <libpf/phases/PhaseInterface.h>
- Warning
-
Thread safe:
-
Extendable:
-
Platform dependencies:
virtual Value& PhaseInterface::flow |
( |
int |
i | ) |
|
|
pure virtual |
return flow for component i in the default flow base
Implemented in PhaseMN, and PhaseM.
virtual const Value& PhaseInterface::flow |
( |
int |
i | ) |
const |
|
pure virtual |
return flow for component i in the default flow base
Implemented in PhaseMN, and PhaseM.
virtual Value& PhaseInterface::frac |
( |
int |
i | ) |
|
|
pure virtual |
return fraction for component i in the default flow base
Implemented in PhaseMN, and PhaseM.
virtual std::vector<Quantity>& PhaseInterface::fracs |
( |
void |
| ) |
|
|
pure virtual |
return reference to the fractions for all components in the default flow base
Implemented in PhaseMN, and PhaseM.
virtual PhaseIndex PhaseInterface::pid |
( |
void |
| ) |
const |
|
pure virtual |
Returns the phase index.
Implemented in PhaseM.
virtual PhaseType PhaseInterface::ptype |
( |
void |
| ) |
const |
|
pure virtual |
Returns the phase type.
Implemented in PhaseM.
virtual void PhaseInterface::setpid |
( |
PhaseIndex |
pi, |
|
|
int |
ordinal = 0 |
|
) |
| |
|
pure virtual |
virtual void PhaseInterface::setptype |
( |
PhaseType |
pt | ) |
|
|
pure virtual |
Set the phase type to pt (Vapor, Liquid, Solid)
Implemented in PhaseM.
virtual Value& PhaseInterface::totalflow |
( |
void |
| ) |
|
|
pure virtual |
return total flow in the default flow base
Implemented in PhaseMN, and PhaseM.
The documentation for this class was generated from the following file: