| /petsc/include/ |
| H A D | petscviewer.h | 201 …tscOptions op, const char a[], const char b[], PetscViewer *v, PetscViewerFormat *f, PetscBool *fg) in PetscOptionsGetViewer() argument 203 return PetscOptionsCreateViewer(comm, op, a, b, v, f, fg); in PetscOptionsGetViewer() 205 …, const char a[], const char b[], PetscInt *n, PetscViewer *v, PetscViewerFormat *f, PetscBool *fg) in PetscOptionsGetViewers() argument 207 return PetscOptionsCreateViewers(comm, op, a, b, n, v, f, fg); in PetscOptionsGetViewers() 209 …ptionsGetCreateViewerOff()", ) static inline PetscErrorCode PetscOptionsGetViewerOff(PetscBool *fg) in PetscOptionsGetViewerOff() argument 211 return PetscOptionsGetCreateViewerOff(fg); in PetscOptionsGetViewerOff() 213 …nsPushCreateViewerOff()", ) static inline PetscErrorCode PetscOptionsPushGetViewerOff(PetscBool fg) in PetscOptionsPushGetViewerOff() argument 215 return PetscOptionsPushCreateViewerOff(fg); in PetscOptionsPushGetViewerOff()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexfvm.c | 87 PetscFVFaceGeom *fg; in DMPlexReconstructGradients_Internal() local 100 PetscCall(DMPlexPointLocalRead(dmFace, face, facegeom, &fg)); in DMPlexReconstructGradients_Internal() 113 if (cgrad[0]) cgrad[0][pd * dim + d] += fg->grad[0][d] * delta; in DMPlexReconstructGradients_Internal() 114 if (cgrad[1]) cgrad[1][pd * dim + d] -= fg->grad[1][d] * delta; in DMPlexReconstructGradients_Internal()
|
| H A D | plexgeometry.c | 3020 PetscFVFaceGeom *fg; in DMPlexComputeGeometryFVM() local 3031 PetscCall(DMPlexPointLocalRef(dmFace, f, fgeom, &fg)); in DMPlexComputeGeometryFVM() 3032 PetscCall(DMPlexComputeCellGeometryFVM(dm, f, &area, fg->centroid, fg->normal)); in DMPlexComputeGeometryFVM() 3033 for (d = 0; d < dim; ++d) fg->normal[d] *= area; in DMPlexComputeGeometryFVM() 3041 lcentroid = cells[0] >= cEndInterior ? fg->centroid : cL->centroid; in DMPlexComputeGeometryFVM() 3044 rcentroid = cells[1] >= cEndInterior ? fg->centroid : cR->centroid; in DMPlexComputeGeometryFVM() 3046 rcentroid = fg->centroid; in DMPlexComputeGeometryFVM() 3048 PetscCall(DMLocalizeCoordinateReal_Internal(dm, dim, fg->centroid, lcentroid, l)); in DMPlexComputeGeometryFVM() 3049 PetscCall(DMLocalizeCoordinateReal_Internal(dm, dim, fg->centroid, rcentroid, r)); in DMPlexComputeGeometryFVM() 3051 if (DMPlex_DotRealD_Internal(dim, fg->normal, v) < 0) { in DMPlexComputeGeometryFVM() [all …]
|
| H A D | plexfem.c | 1084 PetscFVFaceGeom *fg; in DMPlexInsertBoundaryValuesRiemann() local 1089 PetscCall(DMPlexPointLocalRead(dmFace, face, facegeom, &fg)); in DMPlexInsertBoundaryValuesRiemann() 1102 DMPlex_WaxpyD_Internal(dim, -1, cg->centroid, fg->centroid, dx); in DMPlexInsertBoundaryValuesRiemann() 1104 PetscCall((*func)(time, fg->centroid, fg->normal, fx, xG, ctx)); in DMPlexInsertBoundaryValuesRiemann() 1111 ierru = (*func)(time, fg->centroid, fg->normal, xI, xG, ctx); in DMPlexInsertBoundaryValuesRiemann() 4144 PetscFVFaceGeom *fg; in DMPlexGetFaceFields() local 4154 PetscCall(DMPlexPointLocalRead(dmFace, face, facegeom, &fg)); in DMPlexGetFaceFields() 4207 DMPlex_WaxpyD_Internal(dim, -1, cgL->centroid, fg->centroid, dxL); in DMPlexGetFaceFields() 4208 DMPlex_WaxpyD_Internal(dim, -1, cgR->centroid, fg->centroid, dxR); in DMPlexGetFaceFields() 4304 PetscFVFaceGeom *fg; in DMPlexGetFaceGeometry() local [all …]
|
| H A D | plex.c | 10145 PetscFVFaceGeom *fg; in DMPlexComputeOrthogonalQuality() local 10156 PetscCall(DMPlexPointLocalRead(dmFace, covpts[0], faceGeomArr, &fg)); in DMPlexComputeOrthogonalQuality() 10163 fi[i] = fg->centroid[i] - cg->centroid[i]; in DMPlexComputeOrthogonalQuality() 10164 Ai[i] = fg->normal[i]; in DMPlexComputeOrthogonalQuality()
|
| /petsc/src/sys/classes/draw/impls/x/ |
| H A D | xinit.c | 69 static PetscErrorCode PetscDrawXiCreateGC(PetscDraw_X *XiWin, PetscDrawXiPixVal fg) in PetscDrawXiCreateGC() argument 78 gcvalues.foreground = fg; in PetscDrawXiCreateGC() 79 XiWin->gc.cur_pix = fg; in PetscDrawXiCreateGC()
|
| /petsc/src/dm/dt/fv/interface/ |
| H A D | fv.c | 2120 const FaceGeom *fg; 2123 PetscCall(DMPlexPointLocalRead(dmFace, faces[f], fgeom, &fg)); 2130 grad[0] += fg->grad[!i][0] * du; 2131 grad[1] += fg->grad[!i][1] * du;
|