Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexfvm.c63 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 Dplexfem.c1044 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 Dplexgeometry.c2969 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 Dplex.c10076 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 Dex21.c61 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 Dex8.c651 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 Dex11.c760 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()