Go to the documentation of this file.
14 #include "fvOptions.H"
15 #include "surfaceFields.H"
virtual ~DALinearEqn()
Destructor.
label solveLinearEqn(const KSP ksp, const Vec rhsVec, Vec solVec)
solve the linear equation given a ksp and right-hand-side vector
DAOption daOption(mesh, pyOptions_)
const fvMesh & mesh_
Foam::fvMesh object.
label getPrintInterval()
return printInterval from DAOption
label getRunTime()
return the runtime for the adjoint solver
static PetscErrorCode myKSPMonitor(KSP, PetscInt, PetscReal, void *)
ksp monitor function
const DAOption & daOption_
Foam::DAOption object.
void createMLRKSP(const Mat jacMat, const Mat jacPCMat, KSP ksp)
create a multi-level, Richardson KSP object