Home
last modified time | relevance | path

Searched refs:solution_index (Results 1 – 4 of 4) sorted by relevance

/petsc/src/sys/classes/viewer/impls/cgns/
H A Dcgnsv.c244 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()
404solution_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()
424solution_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 Dex15.c240 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 Dviewercgnsimpl.h26 PetscInt solution_index; // User set solution index member
/petsc/src/dm/impls/plex/tests/
H A Dex103.c436 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()