Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/advection-diffusion-reaction/
H A Dex4.c141 PetscScalar rho, c, rhoxx, cxx, cx, rhox, kcxrhox; in IFunction() local
191 rhoxx = (-2.0 * rho + u[i - 1].rho + u[i + 1].rho) * sx; in IFunction()
203 …f[i].rho = udot[i].rho - appctx->epsilon * rhoxx + kcxrhox - appctx->mu * PetscAbsScalar(rho) * (1… in IFunction()