mirror of
https://github.com/Cantera/cantera.git
synced 2026-08-05 10:47:21 -05:00
[sourcegen] Update recipes
This commit is contained in:
committed by
Ray Speth
parent
b76abd8424
commit
cdeccf4a13
@@ -47,5 +47,6 @@ recipes:
|
||||
- name: setFixedTempProfile
|
||||
- name: solveEnergyEqn
|
||||
- name: enableCoverageEquations # Renamed in Cantera 3.2 (previously enableCoverageEqs)
|
||||
# service functions
|
||||
- name: del
|
||||
- name: cabinetSize
|
||||
|
||||
@@ -24,6 +24,6 @@ recipes:
|
||||
- name: derivative
|
||||
what: accessor
|
||||
- name: write
|
||||
# service functions
|
||||
- name: del
|
||||
what: destructor
|
||||
- name: cabinetSize
|
||||
|
||||
@@ -19,6 +19,7 @@ recipes:
|
||||
uses: nPhases
|
||||
what: accessor
|
||||
- name: reactionPhase # New in Cantera 3.2
|
||||
what: accessor
|
||||
- name: phaseIndex
|
||||
- name: nTotalSpecies # Renamed in Cantera 3.2 (previously nSpecies)
|
||||
- name: reactantStoichCoeff
|
||||
@@ -47,7 +48,6 @@ recipes:
|
||||
- name: getDeltaSSEntropy # Changed in Cantera 3.2 (previously part of getDelta)
|
||||
# - name: getSourceTerms # <--- used by MATLAB interface for "massProdRate"
|
||||
# - name: start # <--- unused except for FORTRAN API
|
||||
# service functions
|
||||
- name: del
|
||||
what: noop
|
||||
brief: Destructor; required by some APIs although object is managed by Solution.
|
||||
- name: cabinetSize
|
||||
|
||||
@@ -45,5 +45,6 @@ recipes:
|
||||
- name: volume
|
||||
- name: speciesPhaseIndex
|
||||
- name: moleFraction
|
||||
# service functions
|
||||
- name: del
|
||||
- name: cabinetSize
|
||||
|
||||
@@ -8,7 +8,7 @@ base: Sim1D
|
||||
parents: [OneDim, SteadyStateSystem] # List of parent classes
|
||||
recipes:
|
||||
- name: newSim1D
|
||||
uses: [domain]
|
||||
uses: domain
|
||||
- name: setValue
|
||||
- name: setProfile
|
||||
- name: setFlatProfile
|
||||
@@ -32,5 +32,6 @@ recipes:
|
||||
- name: setMaxJacAge
|
||||
wraps: setJacAge
|
||||
- name: setFixedTemperature
|
||||
# service functions
|
||||
- name: del
|
||||
- name: cabinetSize
|
||||
|
||||
@@ -79,5 +79,6 @@ recipes:
|
||||
- name: getLog # New in Cantera 3.2
|
||||
- name: findMajor
|
||||
wraps: findMajorPaths
|
||||
# service functions
|
||||
- name: del
|
||||
- name: cabinetSize
|
||||
|
||||
@@ -22,5 +22,6 @@ recipes:
|
||||
- name: setAllowNonreactantOrders
|
||||
wraps: allow_nonreactant_orders
|
||||
what: variable-setter
|
||||
# service functions
|
||||
- name: del
|
||||
- name: cabinetSize
|
||||
|
||||
@@ -10,27 +10,26 @@ derived: {Interface: sol} # Specialization/prefix dictionary
|
||||
recipes:
|
||||
- name: newSolution
|
||||
wraps: newSolution(const string&, const string&, const string&)
|
||||
uses: [thermo, kinetics, transport]
|
||||
- name: newInterface
|
||||
wraps:
|
||||
newInterface(const string&, const string&, const vector<shared_ptr<Solution>>&)
|
||||
uses: [thermo, kinetics]
|
||||
- name: del
|
||||
uses: [thermo, kinetics, transport]
|
||||
- name: name
|
||||
- name: setName
|
||||
- name: thermo
|
||||
what: accessor
|
||||
- name: kinetics
|
||||
what: accessor
|
||||
- name: transport
|
||||
what: accessor
|
||||
- name: transportModel
|
||||
- name: setTransportModel
|
||||
uses: [transport]
|
||||
what: accessor
|
||||
- name: nAdjacent
|
||||
- name: adjacent
|
||||
wraps: adjacent(size_t)
|
||||
uses: [nAdjacent, thermo, kinetics, transport]
|
||||
uses: nAdjacent
|
||||
what: accessor
|
||||
- name: adjacentName
|
||||
- name: source
|
||||
# service functions
|
||||
- name: del
|
||||
- name: cabinetSize
|
||||
|
||||
@@ -139,7 +139,6 @@ recipes:
|
||||
bool show = (showThermo != 0);
|
||||
writelog(ThermoPhaseCabinet::at(handle)->report(show, threshold));
|
||||
return 0;
|
||||
# service functions
|
||||
- name: del
|
||||
what: noop
|
||||
brief: Destructor; required by some APIs although object is managed by Solution.
|
||||
- name: cabinetSize
|
||||
|
||||
@@ -18,7 +18,6 @@ recipes:
|
||||
- name: getMultiDiffCoeffs
|
||||
- name: getMolarFluxes
|
||||
- name: getMassFluxes
|
||||
# service functions
|
||||
- name: del
|
||||
what: noop
|
||||
brief: Destructor; required by some APIs although object is managed by Solution.
|
||||
- name: cabinetSize
|
||||
|
||||
Reference in New Issue
Block a user