Searched refs:solution_id (Results 1 – 1 of 1) sorted by relevance
342 PetscErrorCode PetscViewerCGNSSetSolutionIndex(PetscViewer viewer, PetscInt solution_id) in PetscViewerCGNSSetSolutionIndex() argument348 PetscValidLogicalCollectiveInt(viewer, solution_id, 2); in PetscViewerCGNSSetSolutionIndex()349 …solution_id != 0) && (solution_id > -2), PetscObjectComm((PetscObject)viewer), PETSC_ERR_USER_INPU… in PetscViewerCGNSSetSolutionIndex()350 cgv->solution_index = solution_id; in PetscViewerCGNSSetSolutionIndex()374 PetscErrorCode PetscViewerCGNSGetSolutionIndex(PetscViewer viewer, PetscInt *solution_id) in PetscViewerCGNSGetSolutionIndex() argument380 PetscAssertPointer(solution_id, 2); in PetscViewerCGNSGetSolutionIndex()381 *solution_id = cgv->solution_index; in PetscViewerCGNSGetSolutionIndex()