Lines Matching refs:testNum
141 PetscInt testNum; /* Indicates the mesh to create */ member
150 options->testNum = 0; in ProcessOptions()
156 …BoundedInt("-testnum", "The mesh to create", "ex7.c", options->testNum, &options->testNum, NULL, 0… in ProcessOptions()
166 PetscInt depth = 1, testNum = 0, p; in CreateSimplex_2D() local
172 switch (testNum) { in CreateSimplex_2D()
185 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "No test mesh %" PetscInt_FMT, testNum); in CreateSimplex_2D()
198 PetscInt depth = 1, testNum = 0, p; in CreateSimplex_3D() local
204 switch (testNum) { in CreateSimplex_3D()
217 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "No test mesh %" PetscInt_FMT, testNum); in CreateSimplex_3D()
228 PetscErrorCode CreateQuad_2D(MPI_Comm comm, PetscInt testNum, DM dm) in CreateQuad_2D() argument
236 switch (testNum) { in CreateQuad_2D()
260 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "No test mesh %" PetscInt_FMT, testNum); in CreateQuad_2D()
273 PetscInt depth = 1, testNum = 0, p; in CreateHex_3D() local
279 switch (testNum) { in CreateHex_3D()
292 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "No test mesh %" PetscInt_FMT, testNum); in CreateHex_3D()
303 PetscErrorCode CreateMesh(MPI_Comm comm, PetscInt testNum, AppCtx *user, DM *dm) in CreateMesh() argument
320 PetscCall(CreateQuad_2D(comm, testNum, *dm)); in CreateMesh()
348 PetscCall(CreateMesh(PETSC_COMM_WORLD, user.testNum, &user, &dm)); in main()