Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/tests/
H A Dex7.c141 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
[all …]
H A Dex4.c11 PetscInt testNum; /* The particular mesh to test */ member
24 options->testNum = 0; in ProcessOptions()
34 …("-test_num", "The particular mesh to test", "ex4.c", options->testNum, &options->testNum, NULL, 0… in ProcessOptions()
137 PetscErrorCode CreateSimplexHybrid_2D(MPI_Comm comm, PetscInt testNum, DM *dm) in CreateSimplexHybrid_2D() argument
147 switch (testNum) { in CreateSimplexHybrid_2D()
171 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "No test mesh %" PetscInt_FMT, testNum); in CreateSimplexHybrid_2D()
213 PetscErrorCode CreateTensorProduct_2D(MPI_Comm comm, PetscInt testNum, DM *dm) in CreateTensorProduct_2D() argument
236 PetscErrorCode CreateTensorProductHybrid_2D(MPI_Comm comm, PetscInt testNum, DM *dm) in CreateTensorProductHybrid_2D() argument
294 PetscErrorCode CreateSimplex_3D(MPI_Comm comm, PetscInt testNum, DM *dm) in CreateSimplex_3D() argument
303 switch (testNum) { in CreateSimplex_3D()
[all …]
H A Dex66.c44 PetscInt testNum = 0; in main() local
49 PetscCall(PetscOptionsInt("-test_num", "Test number", "", testNum, &testNum, NULL)); in main()
57 switch (testNum) { in main()
105 SETERRQ(PETSC_COMM_WORLD, PETSC_ERR_ARG_WRONG, "Invalid test number %" PetscInt_FMT, testNum); in main()
115 switch (testNum) { in main()
143 SETERRQ(PETSC_COMM_WORLD, PETSC_ERR_ARG_WRONG, "Invalid test number %" PetscInt_FMT, testNum); in main()
H A Dex5.c398 PetscInt testNum; /* The particular mesh to test */ member
410 options->testNum = 0; in ProcessOptions()
419 …("-test_num", "The particular mesh to test", "ex5.c", options->testNum, &options->testNum, NULL, 0… in ProcessOptions()
425 static PetscErrorCode CreateSimplex_2D(MPI_Comm comm, PetscInt testNum, DM *dm) in CreateSimplex_2D() argument
434 switch (testNum) { in CreateSimplex_2D()
488 if (testNum == 2) in CreateSimplex_2D()
490 if (testNum == 3 || testNum == 4) in CreateSimplex_2D()
513 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "No test mesh %" PetscInt_FMT, testNum); in CreateSimplex_2D()
519 if (testNum == 3 || testNum == 4) PetscCall(DMCreateLabel(*dm, "pfault")); in CreateSimplex_2D()
531 PetscInt depth = 3, testNum = user->testNum, p; in CreateSimplex_3D() local
[all …]
H A Dex13.c8 PetscInt testNum; /* Labels the different test partitions */ member
15 options->testNum = 0; in ProcessOptions()
19 …t("-test_num", "The test partition number", "ex13.c", options->testNum, &options->testNum, NULL, 0… in ProcessOptions()
47 switch (user->testNum) { in CreateMesh()
67 …ld not find matching test number %" PetscInt_FMT " for triangular mesh on 2 procs", user->testNum); in CreateMesh()
H A Dex18.c198 PetscInt testNum; /* Indicates the mesh to create */ member
253 options->testNum = 0; in ProcessOptions()
273 …oundedInt("-testnum", "The mesh to create", "ex18.c", options->testNum, &options->testNum, NULL, 0… in ProcessOptions()
317 PetscInt testNum = user->testNum; in CreateMesh_1D() local
327 … 2, comm, PETSC_ERR_ARG_OUTOFRANGE, "Test mesh %" PetscInt_FMT " only for <=2 processes", testNum); in CreateMesh_1D()
409 PetscInt testNum = user->testNum, p; in CreateSimplex_2D() local
415 switch (testNum) { in CreateSimplex_2D()
417 …== 2, comm, PETSC_ERR_ARG_OUTOFRANGE, "Test mesh %" PetscInt_FMT " only for 2 processes", testNum); in CreateSimplex_2D()
442 …== 3, comm, PETSC_ERR_ARG_OUTOFRANGE, "Test mesh %" PetscInt_FMT " only for 3 processes", testNum); in CreateSimplex_2D()
476 …== 3, comm, PETSC_ERR_ARG_OUTOFRANGE, "Test mesh %" PetscInt_FMT " only for 3 processes", testNum); in CreateSimplex_2D()
[all …]
H A Dex69.c595 PetscInt testNum; // The mesh to test member
601 options->testNum = 0; in ProcessOptions()
604 …("-test_num", "The particular mesh to test", "ex5.c", options->testNum, &options->testNum, NULL, 0… in ProcessOptions()
954 switch (user->testNum) { in CreateMesh()