PETSc version 3.17.0
Fix/Edit manual page

PCBJKOKKOSGetKSP

Gets the KSP context for a KSP PC.

Synopsis

#include "petscksp.h" 
PetscErrorCode  PCBJKOKKOSGetKSP(PC pc,KSP *ksp)
Not Collective but KSP returned is parallel if PC was parallel

Input Parameter

pc - the preconditioner context

Output Parameters

ksp - the KSP solver

Notes

You must call KSPSetUp() before calling PCBJKOKKOSGetKSP().

If the PC is not a PCBJKOKKOS object it raises an error

Level

advanced

Location

src/ksp/pc/impls/bjacobi/bjkokkosbjkokkos.kokkos.cxx

Implementations

PCBJKOKKOSGetKSP_BJKOKKOS in src/ksp/pc/impls/bjacobi/bjkokkos/bjkokkos.kokkos.cxx

Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages