Home
last modified time | relevance | path

Searched refs:stoich (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ts/tutorials/
H A Dex27.c44 #define stoich(i, j) ctx->stoichiometry[N_SPECIES * i + j] macro
90 for (j = 0; j < N_SPECIES; j++) stoich(i, j) = 0.; in SetFromOptions()
94 stoich(0, 0) = -1.; in SetFromOptions()
95 stoich(0, 1) = -2.; in SetFromOptions()
96 stoich(0, 2) = 1.; in SetFromOptions()
267 if (stoich(m, l) < 0) { in FormIFunctionLocal()
269 rate *= PetscPowScalar(x[j][i].sp[l], PetscAbsScalar(stoich(m, l))); in FormIFunctionLocal()
274 f[j][i].sp[l] += -scale * stoich(m, l) * rate; /* Reaction term */ in FormIFunctionLocal()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas474 (ignition/stoich-a-f-ratio 14.7)
918 (soot/fuel-stoich 3.6363)
919 (soot/soot-stoich 2.6667)
3330 (prepdf/stoich (1. 2. -1. -2.))
5183 (species/edm-pseudo-products-stoich (1 2))
5184 (species/edm-pseudo-reactants-stoich (1 2))