FluidStateCompositionModules.hpp
Go to the documentation of this file.
122 averageMolarMass_[phaseIdx] += moleFraction_[phaseIdx][compJIdx]*FluidSystem::molarMass(compJIdx);
143 averageMolarMass_[phaseIdx] += moleFraction_[phaseIdx][compIdx]*FluidSystem::molarMass(compIdx);
187 "The number of phases must be the same as the number of (pseudo-) components if you assume immiscibility");
void SetUndefined(const T &value OPM_UNUSED) Make the memory on which an object resides undefined in valgrind runs. Definition: Valgrind.hpp:138 Definition: FluidStateCompositionModules.hpp:185 bool CheckDefined(const T &value OPM_UNUSED) Make valgrind complain if any of the memory occupied by an object is undefined. Definition: Valgrind.hpp:74 Definition: MathToolbox.hpp:39 Definition: Air_Mesitylene.hpp:31 Scalar moleFraction(int, int) const The mole fraction of a component in a phase []. Definition: FluidStateCompositionModules.hpp:267 Scalar moleFraction_[numPhases][numComponents] Definition: FluidStateCompositionModules.hpp:168 Some templates to wrap the valgrind client request macros. Evaluation< Scalar, VarSetTag, numVars > max(const Evaluation< Scalar, VarSetTag, numVars > &x1, const Evaluation< Scalar, VarSetTag, numVars > &x2) Definition: Math.hpp:114 Scalar molarity(unsigned phaseIdx, unsigned compIdx) const The concentration of a component in a phase [mol/m^3]. Definition: FluidStateCompositionModules.hpp:100 Scalar massFraction(unsigned phaseIdx, unsigned compIdx) const The mass fraction of a component in a phase []. Definition: FluidStateCompositionModules.hpp:69 const Scalar & averageMolarMass(unsigned phaseIdx) const The mean molar mass of a fluid phase [kg/mol]. Definition: FluidStateCompositionModules.hpp:88 Module for the modular fluid state which provides the phase compositions assuming immiscibility... Definition: FluidStateCompositionModules.hpp:180 Module for the modular fluid state which stores the phase compositions explicitly in terms of mole fr... Definition: FluidStateCompositionModules.hpp:47 Scalar averageMolarMass(int) const The mean molar mass of a fluid phase [kg/mol]. Definition: FluidStateCompositionModules.hpp:284 const Implementation & asImp_() const Definition: FluidStateCompositionModules.hpp:165 Scalar massFraction(int, int) const The mass fraction of a component in a phase []. Definition: FluidStateCompositionModules.hpp:273 Scalar averageMolarMass_[numPhases] Definition: FluidStateCompositionModules.hpp:169 Evaluation< Scalar, VarSetTag, numVars > abs(const Evaluation< Scalar, VarSetTag, numVars > &) Definition: Math.hpp:41 void checkDefined() const Make sure that all attributes are defined. Definition: FluidStateCompositionModules.hpp:157 FluidStateExplicitCompositionModule() Definition: FluidStateCompositionModules.hpp:53 void checkDefined() const Make sure that all attributes are defined. Definition: FluidStateCompositionModules.hpp:307 const Scalar & moleFraction(unsigned phaseIdx, unsigned compIdx) const The mole fraction of a component in a phase []. Definition: FluidStateCompositionModules.hpp:63 FluidStateNullCompositionModule() Definition: FluidStateCompositionModules.hpp:261 Scalar sumMoleFractions_[numPhases] Definition: FluidStateCompositionModules.hpp:170 void assign(const FluidState &fs) Retrieve all parameters from an arbitrary fluid state. Definition: FluidStateCompositionModules.hpp:131 Scalar molarity(int, int) const The concentration of a component in a phase [mol/m^3]. Definition: FluidStateCompositionModules.hpp:296 void SetDefined(const T &value OPM_UNUSED) Make the memory on which an object resides defined. Definition: Valgrind.hpp:188 void setMoleFraction(unsigned phaseIdx, unsigned compIdx, const Scalar &value) Set the mole fraction of a component in a phase [] and update the average molar mass [kg/mol] accordi... Definition: FluidStateCompositionModules.hpp:108 Module for the modular fluid state which does not store the compositions but throws std::logic_error ... Definition: FluidStateCompositionModules.hpp:256 Definition: FluidStateCompositionModules.hpp:259 A traits class which provides basic mathematical functions for arbitrary scalar floating point values... |