Lines Matching refs:testNum

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()
510 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "No test mesh %" PetscInt_FMT, testNum); in CreateSimplex_2D()
517 PetscInt testNum = user->testNum, p; in CreateSimplex_3D() local
523 switch (testNum) { in CreateSimplex_3D()
525 …== 2, comm, PETSC_ERR_ARG_OUTOFRANGE, "Test mesh %" PetscInt_FMT " only for 2 processes", testNum); in CreateSimplex_3D()
550 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "No test mesh %" PetscInt_FMT, testNum); in CreateSimplex_3D()
569 PetscInt testNum = user->testNum, p; in CreateQuad_2D() local
575 switch (testNum) { in CreateQuad_2D()
577 …== 2, comm, PETSC_ERR_ARG_OUTOFRANGE, "Test mesh %" PetscInt_FMT " only for 2 processes", testNum); in CreateQuad_2D()
602 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "No test mesh %" PetscInt_FMT, testNum); in CreateQuad_2D()
609 PetscInt testNum = user->testNum, p; in CreateHex_3D() local
615 switch (testNum) { in CreateHex_3D()
617 …== 2, comm, PETSC_ERR_ARG_OUTOFRANGE, "Test mesh %" PetscInt_FMT " only for 2 processes", testNum); in CreateHex_3D()
642 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "No test mesh %" PetscInt_FMT, testNum); in CreateHex_3D()