GenericLinSolverClass Module


Uses


Variables

Type Visibility Attributes Name Initial
procedure(MatrixShift_FCN), public, pointer :: MatrixShift => Default_MatrixShift

Abstract Interfaces

abstract interface

  • public function MatrixShift_FCN(dt) result(Ashift)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=RP), intent(in) :: dt

    Return Value real(kind=RP)


Derived Types

type, public ::  GenericLinSolver_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-Bound Procedures

procedure, public :: construct => Construct
procedure, public :: SetRHSValue
procedure, public :: SetRHSValues
procedure, public :: SetRHS
procedure, public :: solve
procedure, public :: GetXValue
procedure, public :: GetX
procedure, public :: destroy
procedure, public :: SetOperatorDt
procedure, public :: ReSetOperatorDt
procedure, public :: AssemblyRHS
procedure, public :: SetJacobian
procedure, public :: Getxnorm
procedure, public :: Getrnorm
procedure, public :: ComputeANextStep

Functions

public function Default_MatrixShift(dt) result(Ashift)

Arguments

Type IntentOptional Attributes Name
real(kind=RP), intent(in) :: dt

Return Value real(kind=RP)