Home
last modified time | relevance | path

Searched refs:Pi (Results 1 – 5 of 5) sorted by relevance

/petsc/share/petsc/datafiles/meshes/
H A Dgmsh-B3tet.geo56 Rotate { {0,1,0}, {Cx,Cy,Cz}, +Pi/2 } { Duplicata { Volume {1}; } }
57 Rotate { {1,0,0}, {Cx,Cy,Cz}, -Pi/2 } { Duplicata { Volume {1}; } }
58 Rotate { {0,1,0}, {Cx,Cy,Cz}, -Pi/2 } { Duplicata { Volume {1}; } }
59 Rotate { {1,0,0}, {Cx,Cy,Cz}, +Pi/2 } { Duplicata { Volume {1}; } }
60 Rotate { {1,0,0}, {Cx,Cy,Cz}, +Pi } { Duplicata { Volume {1}; } }
H A Dgmsh-B2tri.geo22 phi = Pi/180 * GetValue("Rotation (degrees)", 0);
/petsc/src/snes/tutorials/
H A Dex36.c268 static PetscErrorCode DestroyCoarseProjection(Mat Pi) in DestroyCoarseProjection() argument
273 PetscCall(MatShellGetContext(Pi, &ctx)); in DestroyCoarseProjection()
282 PetscCall(MatShellSetContext(Pi, NULL)); in DestroyCoarseProjection()
286 static PetscErrorCode CoarseProjection(Mat Pi, Vec x, Vec y) in CoarseProjection() argument
291 PetscCall(MatShellGetContext(Pi, &ctx)); in CoarseProjection()
306 static PetscErrorCode CreateCoarseProjection(DM dmc, DM dmf, Mat *Pi) in CreateCoarseProjection() argument
326 PetscCall(MatCreateShell(PetscObjectComm((PetscObject)dmc), m, n, M, N, ctx, Pi)); in CreateCoarseProjection()
327 PetscCall(MatShellSetOperation(*Pi, MATOP_DESTROY, (PetscErrorCodeFn *)DestroyCoarseProjection)); in CreateCoarseProjection()
328 PetscCall(MatShellSetOperation(*Pi, MATOP_MULT, (PetscErrorCodeFn *)CoarseProjection)); in CreateCoarseProjection()
334 Mat Pi; /* The L_2 stable projection to the DG coarse space */ member
[all …]
/petsc/src/dm/dt/tests/
H A Dex1.c52 PetscReal *Pi, *Pj; in CheckQuadrature() local
57 PetscCall(PetscMalloc2(npoints, &Pi, npoints, &Pj)); in CheckQuadrature()
59 PetscCall(PetscDTJacobiEval(npoints, alpha, beta, x, 1, &i, Pi, NULL, NULL)); in CheckQuadrature()
88 for (k = 0; k < npoints; k++) I_quad += w[k] * (Pi[k] * Pj[k]); in CheckQuadrature()
94 PetscCall(PetscFree2(Pi, Pj)); in CheckQuadrature()
/petsc/src/sys/tutorials/
H A Dex9f.F9011 integer, parameter :: Pi = kind(PInt)