mod_solver_settings Module



Contents


Derived Types

type, public :: solver_settings_t

Components

TypeVisibilityAttributesNameInitial
character, private, allocatable:: solver
character, private, allocatable:: arpack_mode
integer, public :: number_of_eigenvalues
character(len=2), public :: which_eigenvalues
integer, public :: maxiter
complex(kind=dp), public :: sigma
integer, public :: ncv
real(kind=dp), public :: tolerance

Type-Bound Procedures

procedure, public :: set_solver
procedure, public :: get_solver
procedure, public :: set_arpack_mode
procedure, public :: get_arpack_mode
procedure, public :: delete

Functions

public pure function new_solver_settings() result(solver_settings)

Arguments

None

Return Value type(solver_settings_t)

private pure function get_solver(this) result(solver)

Arguments

TypeIntentOptionalAttributesName
class(solver_settings_t), intent(in) :: this

Return Value character,allocatable

private pure function get_arpack_mode(this) result(arpack_mode)

Arguments

TypeIntentOptionalAttributesName
class(solver_settings_t), intent(in) :: this

Return Value character,allocatable


Subroutines

private pure subroutine set_solver(this, solver)

Arguments

TypeIntentOptionalAttributesName
class(solver_settings_t), intent(inout) :: this
character(len=*), intent(in) :: solver

private pure subroutine set_arpack_mode(this, arpack_mode)

Arguments

TypeIntentOptionalAttributesName
class(solver_settings_t), intent(inout) :: this
character(len=*), intent(in) :: arpack_mode

private pure subroutine delete(this)

Arguments

TypeIntentOptionalAttributesName
class(solver_settings_t), intent(inout) :: this