PetscSolverClass Module



Derived Types

type, public, extends(GenericLinSolver_t) ::  PetscKspLinearSolver_t

Components

Type Visibility Attributes Name Initial
class(JacobianComputer_t), public, allocatable :: Jacobian
logical, public :: converged = .FALSE.
logical, public :: withMPI = .FALSE.
integer, public :: DimPrb
integer, public :: globalDimPrb
integer, public :: niter = 0
integer, public :: JacobianComputation = NUMERICAL_JACOBIAN
type(DGSem), public, pointer :: p_sem => null()
type(PETSCMatrix_t), public :: A
character(len=LINE_LENGTH), public :: preconditioner

Type-Bound Procedures

procedure, public :: SetJacobian
procedure, public :: ComputeANextStep
procedure, public :: construct => PETSc_construct
procedure, public :: SetRHSValues => PETSc_SetRHSValues
procedure, public :: SetRHSValue => PETSc_SetRHSValue
procedure, public :: GetXValues => PETSc_GetXValues
procedure, public :: GetXValue => PETSc_GetXValue
procedure, public :: GetX => PETSc_GetX
procedure, public :: SetOperatorDt => PETSc_SetOperatorDt
procedure, public :: ReSetOperatorDt => PETSc_ReSetOperatorDt
procedure, public :: AssemblyRHS => PETSc_AssemblyRHS
procedure, public :: SaveMat
procedure, public :: solve => PETSc_solve
procedure, public :: destroy => PETSc_Destroy
procedure, public :: SetRHS => PETSc_SetRHS
procedure, public :: SetPreconditioner => PETSc_SetPreconditioner
procedure, public :: GetXnorm => PETSc_GetXnorm
procedure, public :: GetRnorm => PETSc_GetRnorm