Searched refs:facegeom (Results 1 – 7 of 7) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexfvm.c | 63 const PetscScalar *facegeom, *cellgeom, *x; in DMPlexReconstructGradients_Internal() local 77 PetscCall(VecGetArrayRead(faceGeometry, &facegeom)); in DMPlexReconstructGradients_Internal() 100 PetscCall(DMPlexPointLocalRead(dmFace, face, facegeom, &fg)); in DMPlexReconstructGradients_Internal() 151 PetscCall(VecRestoreArrayRead(faceGeometry, &facegeom)); in DMPlexReconstructGradients_Internal()
|
| H A D | plexfem.c | 1044 const PetscScalar *facegeom, *cellgeom = NULL, *grad; in DMPlexInsertBoundaryValuesRiemann() local 1058 PetscCall(VecGetArrayRead(faceGeometry, &facegeom)); in DMPlexInsertBoundaryValuesRiemann() 1089 PetscCall(DMPlexPointLocalRead(dmFace, face, facegeom, &fg)); in DMPlexInsertBoundaryValuesRiemann() 1129 PetscCall(VecRestoreArrayRead(faceGeometry, &facegeom)); in DMPlexInsertBoundaryValuesRiemann() 4096 const PetscScalar *facegeom, *cellgeom, *x, *lgrad; in DMPlexGetFaceFields() local 4132 PetscCall(VecGetArrayRead(faceGeometry, &facegeom)); in DMPlexGetFaceFields() 4154 PetscCall(DMPlexPointLocalRead(dmFace, face, facegeom, &fg)); in DMPlexGetFaceFields() 4225 PetscCall(VecRestoreArrayRead(faceGeometry, &facegeom)); in DMPlexGetFaceFields() 4285 const PetscScalar *facegeom, *cellgeom; in DMPlexGetFaceGeometry() local 4297 PetscCall(VecGetArrayRead(faceGeometry, &facegeom)); in DMPlexGetFaceGeometry() [all …]
|
| H A D | plexgeometry.c | 2969 PetscErrorCode DMPlexComputeGeometryFVM(DM dm, Vec *cellgeom, Vec *facegeom) in DMPlexComputeGeometryFVM() argument 3015 PetscCall(DMCreateLocalVector(dmFace, facegeom)); in DMPlexComputeGeometryFVM() 3016 PetscCall(VecGetArray(*facegeom, &fgeom)); in DMPlexComputeGeometryFVM() 3100 PetscCall(VecRestoreArray(*facegeom, &fgeom)); in DMPlexComputeGeometryFVM() 3450 PetscErrorCode DMPlexGetDataFVM(DM dm, PetscFV fv, Vec *cellgeom, Vec *facegeom, DM *gradDM) in DMPlexGetDataFVM() argument 3468 if (facegeom) *facegeom = (Vec)facegeomobj; in DMPlexGetDataFVM()
|
| H A D | plex.c | 10076 Vec cellgeom, facegeom; in DMPlexComputeOrthogonalQuality() local 10120 PetscCall(DMPlexGetDataFVM(dm, fv, &cellgeom, &facegeom, NULL)); in DMPlexComputeOrthogonalQuality() 10122 PetscCall(VecGetArrayRead(facegeom, &faceGeomArr)); in DMPlexComputeOrthogonalQuality() 10124 PetscCall(VecGetDM(facegeom, &dmFace)); in DMPlexComputeOrthogonalQuality() 10197 PetscCall(VecRestoreArrayRead(facegeom, &faceGeomArr)); in DMPlexComputeOrthogonalQuality()
|
| /petsc/src/dm/tutorials/ |
| H A D | ex21.c | 61 Vec facegeom = NULL; in pic_advect() local 81 PetscCall(DMPlexComputeGeometryFVM(celldm, &cellgeom, &facegeom)); in pic_advect() 85 PetscCall(VecDestroy(&facegeom)); in pic_advect()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex8.c | 651 Vec cellgeom, facegeom; in main() local 661 PetscCall(DMPlexComputeGeometryFVM(user.dm, &cellgeom, &facegeom)); in main() 680 PetscCall(VecDestroy(&facegeom)); in main()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex11.c | 760 Vec coordinates, facegeom, cellgeom; in CreateMassMatrix() local 787 PetscCall(DMPlexGetGeometryFVM(plex, &facegeom, &cellgeom, NULL)); in CreateMassMatrix() 788 PetscCall(VecGetDM(facegeom, &dmFace)); in CreateMassMatrix() 789 PetscCall(VecGetArrayRead(facegeom, &fgeom)); in CreateMassMatrix() 823 PetscCall(VecRestoreArrayRead(facegeom, &fgeom)); in CreateMassMatrix()
|