Lines Matching refs:vol
18 PetscReal *centroid, *normal, *vol; /* FVM data */ member
59 PetscCall(PetscMalloc1(numCells, &options->vol)); in ProcessOptions()
91 …PetscCall(PetscOptionsRealArray("-vol", "Input volume for each cell", "ex8.c", options->vol, &n, &… in ProcessOptions()
94 PetscCall(PetscFree(options->vol)); in ProcessOptions()
95 options->vol = NULL; in ProcessOptions()
178 PetscReal centroid[3], normal[3], vol; in CheckFVMGeometry() local
182 …PetscCall(DMPlexComputeCellGeometryFVM(dm, cell, volEx ? &vol : NULL, centroidEx ? centroid : NULL… in CheckFVMGeometry()
188 …vol) < tol, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Cell %" PetscInt_FMT ", Invalid volume = %g != %g di… in CheckFVMGeometry()
640 PetscReal vol = user.vol ? user.vol[c] : 0.0; in main() local
642 …ell(user.dm, c + cStart, PETSC_FALSE, v0, J, invJ, detJ, centroid, normal, vol, NULL, NULL, NULL)); in main()
647 PetscCall(PetscFree(user.vol)); in main()