/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/include/cantera/equil/ |
H A D | ChemEquil.h | 18 class ThermoPhase; variable 92 ChemEquil(ThermoPhase& s); 138 ThermoPhase* m_phase; 149 void initialize(ThermoPhase& s); 160 void setToEquilState(ThermoPhase& s, 219 int dampStep(ThermoPhase& s, vector_fp& oldx, 226 void equilResidual(ThermoPhase& s, const vector_fp& x, 230 void equilJacobian(ThermoPhase& s, vector_fp& x, 237 void update(const ThermoPhase& s); 245 double calcEmoles(ThermoPhase& s, vector_fp& x, [all …]
|
H A D | vcs_VolPhase.h | 18 class ThermoPhase; variable 268 void setPtrThermoPhase(ThermoPhase* tp_ptr); 274 const ThermoPhase* ptrThermoPhase() const; 443 size_t transferElementsFM(const ThermoPhase* const tPhase); 678 ThermoPhase* TP_ptr;
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/src/thermo/ |
H A D | ThermoPhase.cpp | 29 ThermoPhase::ThermoPhase() : in ThermoPhase() function in Cantera::ThermoPhase 38 ThermoPhase::~ThermoPhase() in ~ThermoPhase() 45 void ThermoPhase::resetHf298(size_t k) { in resetHf298() 56 int ThermoPhase::activityConvention() const in activityConvention() 61 int ThermoPhase::standardStateConvention() const in standardStateConvention() 77 void ThermoPhase::getActivities(doublereal* a) const in getActivities() 848 double ThermoPhase::equivalenceRatio() const in equivalenceRatio() 1102 void ThermoPhase::initThermo() in initThermo() 1255 const AnyMap& ThermoPhase::input() const in input() 1260 AnyMap& ThermoPhase::input() in input() [all …]
|
H A D | ThermoFactory.cpp | 104 ThermoPhase* ThermoFactory::newThermoPhase(const std::string& model) in newThermoPhase() 109 ThermoPhase* newPhase(XML_Node& xmlphase) in newPhase() 112 unique_ptr<ThermoPhase> t(newThermoPhase(model)); in newPhase() 117 unique_ptr<ThermoPhase> newPhase(AnyMap& phaseNode, const AnyMap& rootNode) in newPhase() 119 unique_ptr<ThermoPhase> t(newThermoPhase(phaseNode["thermo"].asString())); in newPhase() 124 ThermoPhase* newPhase(const std::string& infile, std::string id) in newPhase() 138 unique_ptr<ThermoPhase> t(newThermoPhase(phase["thermo"].asString())); in newPhase() 242 void importPhase(XML_Node& phase, ThermoPhase* th) in importPhase() 402 void addDefaultElements(ThermoPhase& thermo, const vector<string>& element_names) { in addDefaultElements() 408 void addElements(ThermoPhase& thermo, const vector<string>& element_names, in addElements() [all …]
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/include/cantera/thermo/ |
H A D | ThermoFactory.h | 59 class ThermoFactory : public Factory<ThermoPhase> 85 virtual ThermoPhase* newThermoPhase(const std::string& model); 105 inline ThermoPhase* newThermoPhase(const std::string& model) in newThermoPhase() 128 ThermoPhase* newPhase(XML_Node& phase); 138 unique_ptr<ThermoPhase> newPhase(AnyMap& phaseNode, 155 ThermoPhase* newPhase(const std::string& infile, std::string id=""); 213 void importPhase(XML_Node& phase, ThermoPhase* th); 224 void setupPhase(ThermoPhase& phase, AnyMap& phaseNode,
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/test/general/ |
H A D | test_serialization.cpp | 226 shared_ptr<ThermoPhase> gas1(newPhase("ptcombust.yaml", "gas")); in TEST() 227 shared_ptr<ThermoPhase> surf1(newPhase("ptcombust.yaml", "Pt_surf")); in TEST() 228 std::vector<ThermoPhase*> phases1{surf1.get(), gas1.get()}; in TEST() 248 std::vector<ThermoPhase*> phases2{surf2.get(), gas2.get()}; in TEST() 276 shared_ptr<ThermoPhase> gas1(newPhase("sofc.yaml", "gas")); in TEST() 277 shared_ptr<ThermoPhase> metal1(newPhase("sofc.yaml", "metal")); in TEST() 278 shared_ptr<ThermoPhase> ox_bulk1(newPhase("sofc.yaml", "oxide_bulk")); in TEST() 281 shared_ptr<ThermoPhase> tpb1(newPhase("sofc.yaml", "tpb")); in TEST() 303 shared_ptr<ThermoPhase> gas2(newPhase("generated-sofc.yaml", "gas")); in TEST() 304 shared_ptr<ThermoPhase> metal2(newPhase("generated-sofc.yaml", "metal")); in TEST() [all …]
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/interfaces/matlab/toolbox/@ThermoPhase/ |
H A D | ThermoPhase.m | 1 function t = ThermoPhase(src, id) function 2 % THERMOPHASE ThermoPhase class constructor. 3 % t = ThermoPhase(src, id) 9 % Instance of class :mat:func:`ThermoPhase` 13 error('ThermoPhase expects 1 or 2 input arguments.'); 25 t = class(t, 'ThermoPhase');
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/doc/doxygen/ |
H A D | thermoprops.dox | 8 * properties of phases within %Cantera is called ThermoPhase. %ThermoPhase 41 * why %ThermoPhase is such a large class. 44 * Categorizing the Different %ThermoPhase Objects 286 * - ThermoPhase::pressure() 287 * - ThermoPhase::isothermalCompressibility() 288 * - ThermoPhase::thermalExpansionCoeff() 311 * ThermoPhase::setElectricPotential(), 323 * within the ThermoPhase object, by the function call 531 * ThermoPhase routine is ready to receive requests for 561 * to provide additional %ThermoPhase classes. [all …]
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/test_problems/stoichSolidKinetics/ |
H A D | stoichSolidKinetics.cpp | 45 unique_ptr<ThermoPhase> surfTP(newPhase(mech, "reaction_surface")); in testProblem() 46 unique_ptr<ThermoPhase> gasTP(newPhase(mech, "air")); in testProblem() 48 unique_ptr<ThermoPhase> cao_s(newPhase(mech, "CaO(S)")); in testProblem() 49 unique_ptr<ThermoPhase> caco3_s(newPhase(mech, "CaCO3(S)")); in testProblem() 50 unique_ptr<ThermoPhase> c_s(newPhase(mech, "C(S)")); in testProblem() 51 unique_ptr<ThermoPhase> fe3o4_s(newPhase(mech, "Fe3O4(S)")); in testProblem() 52 unique_ptr<ThermoPhase> feo_s(newPhase(mech, "FeO(S)")); in testProblem() 53 unique_ptr<ThermoPhase> fe_s(newPhase(mech, "Fe(S)")); in testProblem() 55 vector<ThermoPhase*> phaseList { in testProblem()
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/src/kinetics/ |
H A D | ImplicitSurfChem.cpp | 63 ThermoPhase* thPtr = & kinPtr->thermo(ip); in ImplicitSurfChem() 90 int ImplicitSurfChem::checkMatch(std::vector<ThermoPhase*> m_vec, ThermoPhase* thPtr) in checkMatch() 94 ThermoPhase* th = m_vec[i]; in checkMatch() 220 ThermoPhase& tp = ik->thermo(ik->reactionPhaseIndex()); in solvePseudoSteadyStateProblem() 272 ThermoPhase* TP_ptr = m_surf[ip]; in getConcSpecies() 278 ThermoPhase* TP_ptr = m_bulkPhases[ip]; in getConcSpecies() 288 ThermoPhase* TP_ptr = m_surf[ip]; in setConcSpecies() 294 ThermoPhase* TP_ptr = m_bulkPhases[ip]; in setConcSpecies() 303 ThermoPhase* TP_ptr = m_surf[ip]; in setCommonState_TP() 307 ThermoPhase* TP_ptr = m_bulkPhases[ip]; in setCommonState_TP()
|
H A D | ReactionData.cpp | 13 void ArrheniusData::update(const ThermoPhase& bulk) in update() 24 void PlogData::update(const ThermoPhase& bulk) in update() 35 void ChebyshevData::update(const ThermoPhase& bulk) in update() 40 void CustomFunc1Data::update(const ThermoPhase& bulk) in update()
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/include/cantera/kinetics/ |
H A D | ReactionData.h | 16 class ThermoPhase; variable 40 void update(const ThermoPhase& bulk); 73 void update(const ThermoPhase& bulk); 106 void update(const ThermoPhase& bulk); 129 void update(const ThermoPhase& bulk);
|
H A D | Kinetics.h | 21 class ThermoPhase; variable 234 ThermoPhase& thermo(size_t n=0) { 237 const ThermoPhase& thermo(size_t n=0) const { 318 ThermoPhase& speciesPhase(const std::string& nm); 319 const ThermoPhase& speciesPhase(const std::string& nm) const; 328 ThermoPhase& speciesPhase(size_t k) { in speciesPhase() 738 virtual void addPhase(ThermoPhase& thermo); 868 void selectPhase(const double* data, const ThermoPhase* phase, 955 std::vector<ThermoPhase*> m_thermo;
|
H A D | KineticsFactory.h | 73 virtual Kinetics* newKinetics(XML_Node& phase, std::vector<ThermoPhase*> th); 92 inline Kinetics* newKineticsMgr(XML_Node& phase, std::vector<ThermoPhase*> th) in newKineticsMgr() 117 unique_ptr<Kinetics> newKinetics(const std::vector<ThermoPhase*>& phases, 132 unique_ptr<Kinetics> newKinetics(const std::vector<ThermoPhase*>& phases,
|
H A D | MultiRate.h | 51 virtual void getRateConstants(const ThermoPhase& bulk, 58 virtual void update(const ThermoPhase& bulk, double* concm) = 0; 100 virtual void getRateConstants(const ThermoPhase& bulk, in getRateConstants() 108 virtual void update(const ThermoPhase& bulk, double* concm) override in update()
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/include/cantera/transport/ |
H A D | TransportFactory.h | 64 virtual Transport* newTransport(const std::string& model, ThermoPhase* thermo, int log_level=0); 72 virtual Transport* newTransport(ThermoPhase* thermo, int log_level=0); 97 ThermoPhase* thermo = 0, int loglevel = 0); 106 Transport* newDefaultTransportMgr(ThermoPhase* thermo, int loglevel = 0);
|
H A D | TransportBase.h | 28 class ThermoPhase; variable 150 Transport(ThermoPhase* thermo=0, size_t ndim = 1); 170 ThermoPhase& thermo() { in thermo() 651 virtual void init(ThermoPhase* thermo, int mode=0, int log_level=0) {} 666 virtual void setThermo(ThermoPhase& thermo); 683 ThermoPhase* m_thermo;
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/include/cantera/base/ |
H A D | Solution.h | 14 class ThermoPhase; variable 42 void setThermo(shared_ptr<ThermoPhase> thermo); 51 shared_ptr<ThermoPhase> thermo() { in thermo() 68 shared_ptr<ThermoPhase> m_thermo; //!< ThermoPhase manager
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/src/fortran/ |
H A D | fct.cpp | 29 typedef Cabinet<ThermoPhase> ThermoCabinet; 42 ThermoPhase* _fph(const integer* n) in _fph() 52 ThermoPhase* _fth(const integer* n) in _fth() 226 ThermoPhase* p = _fph(n); in phase_getmassfractions_() 246 ThermoPhase* p = _fph(n); in phase_setmolefractions_() 261 ThermoPhase* p = _fph(n); in phase_setmolefractionsbyname_() 272 ThermoPhase* p = _fph(n); in phase_setmassfractions_() 287 ThermoPhase* p = _fph(n); in phase_setmassfractionsbyname_() 298 ThermoPhase* p = _fph(n); in phase_getatomicweights_() 310 ThermoPhase* p = _fph(n); in phase_getmolecularweights_() [all …]
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/include/cantera/zeroD/ |
H A D | ReactorBase.h | 20 class ThermoPhase; variable 84 virtual void setThermoMgr(ThermoPhase& thermo); 167 ThermoPhase& contents() { in contents() 175 const ThermoPhase& contents() const { in contents() 251 ThermoPhase* m_thermo;
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/src/transport/ |
H A D | TransportFactory.cpp | 63 ThermoPhase* phase, int log_level) in newTransport() 84 Transport* TransportFactory::newTransport(ThermoPhase* phase, int log_level) in newTransport() 97 Transport* newTransportMgr(const std::string& transportModel, ThermoPhase* thermo, int loglevel) in newTransportMgr() 103 Transport* newDefaultTransportMgr(ThermoPhase* thermo, int loglevel) in newDefaultTransportMgr()
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/interfaces/matlab/toolbox/@Kinetics/ |
H A D | Kinetics.m | 12 % An instance of class :mat:func:`ThermoPhase` representing the phase 19 % Instance of class :mat:func:`ThermoPhase` or :mat:func:`Solution` representing a 22 % Instance of class :mat:func:`ThermoPhase` or :mat:func:`Solution` representing a 25 % Instance of class :mat:func:`ThermoPhase` or :mat:func:`Solution` representing a 28 % Instance of class :mat:func:`ThermoPhase` or :mat:func:`Solution` representing a
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/interfaces/matlab/toolbox/@Transport/ |
H A D | Transport.m | 6 % :mat:func:`ThermoPhase`. The second (optional) argument is the type of 12 % Instance of class :mat:func:`ThermoPhase` 32 if ~isa(th, 'ThermoPhase') 33 error('The first argument must be an instance of class ThermoPhase')
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/src/equil/ |
H A D | ChemEquil.cpp | 51 ChemEquil::ChemEquil(ThermoPhase& s) : in ChemEquil() 65 void ChemEquil::initialize(ThermoPhase& s) in initialize() 133 void ChemEquil::setToEquilState(ThermoPhase& s, in setToEquilState() 154 void ChemEquil::update(const ThermoPhase& s) in update() 339 m_p2 = [](ThermoPhase& s) { return s.pressure(); }; in equilibrate() 345 m_p2 = [](ThermoPhase& s) { return s.pressure(); }; in equilibrate() 351 m_p2 = [](ThermoPhase& s) { return s.pressure(); }; in equilibrate() 357 m_p2 = [](ThermoPhase& s) { return s.density(); }; in equilibrate() 362 m_p2 = [](ThermoPhase& s) { return s.density(); }; in equilibrate() 368 m_p2 = [](ThermoPhase& s) { return s.density(); }; in equilibrate() [all …]
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/src/clib/ |
H A D | ct.cpp | 31 typedef Cabinet<ThermoPhase> ThermoCabinet; 168 ThermoPhase& p = ThermoCabinet::item(n); in thermo_getMoleFractions() 189 ThermoPhase& p = ThermoCabinet::item(n); in thermo_getMassFractions() 210 ThermoPhase& p = ThermoCabinet::item(n); in thermo_setMoleFractions() 226 ThermoPhase& p = ThermoCabinet::item(n); in thermo_setMoleFractionsByName() 238 ThermoPhase& p = ThermoCabinet::item(n); in thermo_setMassFractions() 254 ThermoPhase& p = ThermoCabinet::item(n); in thermo_setMassFractionsByName() 371 ThermoPhase* th = newPhase(x); in thermo_newFromXML() 885 vector<ThermoPhase*> phases; in kin_newFromFile() 912 vector<ThermoPhase*> phases; in kin_newFromXML() [all …]
|