ConjugateGradientClass Module



Derived Types

type, public, extends(GenericLinSolver_t) ::  ConjugateGradient_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(csrMat_t), public :: A
real(kind=RP), public, allocatable :: RHS(:)
real(kind=RP), public, allocatable :: x(:)
real(kind=RP), public, allocatable :: res(:)
real(kind=RP), public :: Ashift
real(kind=RP), public :: dtsolve
real(kind=RP), public :: timesolve
real(kind=RP), public, allocatable :: F_Ur(:)
real(kind=RP), public, allocatable :: Ur(:)

Type-Bound Procedures

procedure, public :: AssemblyRHS
procedure, public :: SetJacobian
procedure, public :: ComputeANextStep
procedure, public :: Construct => CG_Construct
procedure, public :: Destroy => CG_Destruct
procedure, public :: Solve => CG_solve
procedure, public :: SetRHS
procedure, public :: SetRHSValues
procedure, public :: SetRHSValue
procedure, public :: GetX
procedure, public :: GetXValue
procedure, public :: Getxnorm
procedure, public :: Getrnorm
procedure, public :: SetOperatorDt
procedure, public :: ReSetOperatorDt
procedure, public :: MatrixAction => CG_MatrixAction
procedure, public :: p_F