Searched refs:ctxt (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/ts/tutorials/ |
| H A D | ex74.c | 50 UserContext ctxt; in main() local 56 ctxt.a = 0.1; in main() 57 ctxt.xmin = 0.0; in main() 58 ctxt.xmax = 1.0; in main() 59 ctxt.imax = 40; in main() 60 ctxt.physics_type = PHYSICS_DIFFUSION; in main() 63 PetscCall(PetscOptionsReal("-a", "diffusion coefficient", "<1.0>", ctxt.a, &ctxt.a, NULL)); in main() 64 PetscCall(PetscOptionsInt("-imax", "grid size", "<20>", ctxt.imax, &ctxt.imax, NULL)); in main() 65 PetscCall(PetscOptionsReal("-xmin", "xmin", "<0.0>", ctxt.xmin, &ctxt.xmin, NULL)); in main() 66 PetscCall(PetscOptionsReal("-xmax", "xmax", "<1.0>", ctxt.xmax, &ctxt.xmax, NULL)); in main() [all …]
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex74.c | 85 UserContext ctxt; in main() local 100 ctxt.a = 1.0; in main() 101 ctxt.xmin = 0.0; in main() 102 ctxt.xmax = 1.0; in main() 103 ctxt.imax = 20; in main() 104 ctxt.niter = 0; in main() 105 ctxt.dt = 0.0; in main() 106 ctxt.physics_type = PHYSICS_DIFFUSION; in main() 109 PetscCall(PetscOptionsReal("-a", "diffusion coefficient", "<1.0>", ctxt.a, &ctxt.a, NULL)); in main() 110 PetscCall(PetscOptionsInt("-imax", "grid size", "<20>", ctxt.imax, &ctxt.imax, NULL)); in main() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | petscscalapack.h | 58 BLAS_EXTERN void Cdgebs2d(PetscBLASInt ctxt, const char *scope, const char *top, PetscBLASI… 59 BLAS_EXTERN void Cdgebr2d(PetscBLASInt ctxt, const char *scope, const char *top, PetscBLASI… 60 BLAS_EXTERN void Cdgsum2d(PetscBLASInt ctxt, const char *scope, const char *top, PetscBLASI…
|