| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex7.c | 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 [all …]
|
| H A D | ex4.c | 11 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 D | ex66.c | 44 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 D | ex5.c | 398 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 D | ex13.c | 8 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 D | ex18.c | 198 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 D | ex69.c | 595 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()
|