Searched refs:centerRho (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex29.c | 142 PetscErrorCode ComputeRho(PetscInt i, PetscInt j, PetscInt mx, PetscInt my, PetscReal centerRho, Pe… in ComputeRho() argument 146 *rho = centerRho; in ComputeRho() 156 PetscReal centerRho; in ComputeMatrix() local 166 centerRho = user->rho; in ComputeMatrix() 177 PetscCall(ComputeRho(i, j, mx, my, centerRho, &rho)); in ComputeMatrix()
|
| H A D | ex73.c | 974 PetscErrorCode ComputeRho(PetscInt i, PetscInt j, PetscInt mx, PetscInt my, PetscReal centerRho, Pe… in ComputeRho() argument 978 *rho = centerRho; in ComputeRho() 988 PetscReal centerRho; in ComputeMatrix_DMDA() local 999 centerRho = user->rho; in ComputeMatrix_DMDA() 1010 PetscCall(ComputeRho(i, j, mx, my, centerRho, &rho)); in ComputeMatrix_DMDA()
|