Lines Matching refs:testNum
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
537 switch (testNum) { in CreateSimplex_3D()
571 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "No test mesh %" PetscInt_FMT, testNum); in CreateSimplex_3D()
582 static PetscErrorCode CreateQuad_2D(MPI_Comm comm, PetscInt testNum, DM *dm) in CreateQuad_2D() argument
591 switch (testNum) { in CreateQuad_2D()
605 if (testNum == 0) in CreateQuad_2D()
607 if (testNum == 2 || testNum == 3) in CreateQuad_2D()
636 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "No test mesh %" PetscInt_FMT, testNum); in CreateQuad_2D()
642 if (testNum == 2 || testNum == 3) PetscCall(DMCreateLabel(*dm, "pfault")); in CreateQuad_2D()
652 static PetscErrorCode CreateHex_3D(MPI_Comm comm, PetscInt testNum, DM *dm) in CreateHex_3D() argument
661 switch (testNum) { in CreateHex_3D()
727 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "No test mesh %" PetscInt_FMT, testNum); in CreateHex_3D()
815 PetscCall(CreateSimplex_2D(comm, user->testNum, dm)); in CreateMesh()
817 PetscCall(CreateQuad_2D(comm, user->testNum, dm)); in CreateMesh()
824 PetscCall(CreateHex_3D(comm, user->testNum, dm)); in CreateMesh()
876 switch (user->testNum) { in CreateMesh()
896 …ld not find matching test number %" PetscInt_FMT " for triangular mesh on 2 procs", user->testNum); in CreateMesh()
899 switch (user->testNum) { in CreateMesh()
910 …ld not find matching test number %" PetscInt_FMT " for triangular mesh on 6 procs", user->testNum); in CreateMesh()
913 switch (user->testNum) { in CreateMesh()
942 …not find matching test number %" PetscInt_FMT " for quadrilateral mesh on 2 procs", user->testNum); in CreateMesh()
945 switch (user->testNum) { in CreateMesh()
956 … not find matching test number %" PetscInt_FMT " for teterehedral mesh on 2 procs", user->testNum); in CreateMesh()
959 switch (user->testNum) { in CreateMesh()
970 …ld not find matching test number %" PetscInt_FMT " for hexahedral mesh on 2 procs", user->testNum); in CreateMesh()