void IdealGasPhase::getCp_R_ref(doublereal* cprt) const { const vector_fp& _cpr = cp_R_ref(); copy(_cpr.begin(), _cpr.end(), cprt); }
doublereal IdealGasPhase::cp_mole() const { return GasConstant * mean_X(cp_R_ref()); }
/* * Returns the species standard state Cv in J kmol-1 K-1 at the * current temperature and pressure. * * @return returns the species standard state Cv in J kmol-1 K-1 */ doublereal PDSS::cpDelp_mole() const { doublereal tmp = cp_R_ref(); return(cp_mole() - GasConstant * tmp); }
void IdealGasPhase::getPartialMolarCp(doublereal* cpbar) const { const vector_fp& _cp = cp_R_ref(); scale(_cp.begin(), _cp.end(), cpbar, GasConstant); }
/* * Returns the vector of nondimensional * constant pressure heat capacities of the reference state * at the current temperature and reference pressure. */ void PecosGasPhase::getCp_R_ref(doublereal *cprt) const { const array_fp& _cpr = cp_R_ref(); copy(_cpr.begin(), _cpr.end(), cprt); }
/* * Molar heat capacity at constant pressure. Units: J/kmol/K. * For an ideal gas mixture, * \f[ * \hat c_p(t) = \sum_k \hat c^0_{p,k}(T). * \f] * The reference-state pure-species heat capacities * \f$ \hat c^0_{p,k}(T) \f$ are computed by the species thermodynamic * property manager. * @see SpeciesThermo */ doublereal PecosGasPhase::cp_mole() const { return GasConstant * mean_X(&cp_R_ref()[0]); }
doublereal LatticePhase::cp_mole() const { return GasConstant * mean_X(cp_R_ref()); }
void LatticePhase::getCp_R(doublereal* cpr) const { const vector_fp& _cpr = cp_R_ref(); std::copy(_cpr.begin(), _cpr.end(), cpr); }
void IdealSolidSolnPhase::getCp_R(doublereal* cpr) const { const vector_fp& _cpr = cp_R_ref(); copy(_cpr.begin(), _cpr.end(), cpr); }