Searched refs:solution_index (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/sys/classes/viewer/impls/cgns/ |
| H A D | cgnsv.c | 244 cgv->solution_index = -1; // Default to use the "last" solution in PetscViewerCreate_CGNS() 350 cgv->solution_index = solution_id; in PetscViewerCGNSSetSolutionIndex() 381 *solution_id = cgv->solution_index; in PetscViewerCGNSGetSolutionIndex() 404 …solution_index == -1 || cgv->solution_index <= nsols, comm, PETSC_ERR_ARG_OUTOFRANGE, "CGNS Soluti… in PetscViewerCGNSGetSolutionFileIndex_Internal() 406 cgv->solution_file_index = cgv->solution_index == -1 ? nsols : cgv->solution_index; in PetscViewerCGNSGetSolutionFileIndex_Internal() 424 …solution_index == -1 || cgv->solution_index <= size[1], comm, PETSC_ERR_ARG_OUTOFRANGE, "CGNS Solu… in PetscViewerCGNSGetSolutionFileIndex_Internal() 427 cgv->solution_file_pointer_index = cgv->solution_index == -1 ? size[1] : cgv->solution_index; in PetscViewerCGNSGetSolutionFileIndex_Internal()
|
| /petsc/src/dm/impls/plex/tutorials/ |
| H A D | ex15.c | 240 PetscInt solution_index; in main() local 241 PetscCall(PetscViewerCGNSGetSolutionIndex(viewer, &solution_index)); in main() 242 … PetscCheck(solution_index == 1, comm, PETSC_ERR_ARG_INCOMP, "Returned solution index wrong."); in main()
|
| /petsc/include/petsc/private/ |
| H A D | viewercgnsimpl.h | 26 PetscInt solution_index; // User set solution index member
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex103.c | 436 PetscInt solution_index; in main() local 437 PetscCall(PetscViewerCGNSGetSolutionIndex(viewer, &solution_index)); in main() 438 … PetscCheck(solution_index == 1, comm, PETSC_ERR_ARG_INCOMP, "Returned solution index wrong."); in main()
|