MODFLOW 6  version 6.7.0.dev0
USGS Modular Hydrologic Model
imslinearsolvermodule Module Reference

Data Types

type  imslinearsolvertype
 

Functions/Subroutines

class(linearsolverbasetype) function, pointer, public create_ims_solver (sln_name)
 
subroutine ims_initialize (this, matrix, linear_settings, convergence_summary)
 
subroutine ims_print_summary (this)
 
subroutine ims_solve (this, kiter, rhs, x, cnvg_summary)
 
subroutine ims_destroy (this)
 
class(matrixbasetype) function, pointer ims_create_matrix (this)
 

Function/Subroutine Documentation

◆ create_ims_solver()

class(linearsolverbasetype) function, pointer, public imslinearsolvermodule::create_ims_solver ( character(len=lensolutionname)  sln_name)

Definition at line 28 of file ImsLinearSolver.f90.

29  class(LinearSolverBaseType), pointer :: solver
30  character(len=LENSOLUTIONNAME) :: sln_name
31  ! local
32  class(ImsLinearSolverType), pointer :: ims_solver
33 
34  allocate (ims_solver)
35  solver => ims_solver
36  solver%name = sln_name
37 
Here is the caller graph for this function:

◆ ims_create_matrix()

class(matrixbasetype) function, pointer imslinearsolvermodule::ims_create_matrix ( class(imslinearsolvertype this)
private

Definition at line 63 of file ImsLinearSolver.f90.

64  class(ImsLinearSolverType) :: this
65  class(MatrixBaseType), pointer :: matrix
66  ! local
67  class(SparseMatrixType), pointer :: ims_matrix
68 
69  allocate (ims_matrix)
70  matrix => ims_matrix
71 

◆ ims_destroy()

subroutine imslinearsolvermodule::ims_destroy ( class(imslinearsolvertype this)
private

Definition at line 59 of file ImsLinearSolver.f90.

60  class(ImsLinearSolverType) :: this

◆ ims_initialize()

subroutine imslinearsolvermodule::ims_initialize ( class(imslinearsolvertype this,
class(matrixbasetype), pointer  matrix,
type(imslinearsettingstype), pointer  linear_settings,
type(convergencesummarytype), pointer  convergence_summary 
)
private

Definition at line 40 of file ImsLinearSolver.f90.

41  class(ImsLinearSolverType) :: this
42  class(MatrixBaseType), pointer :: matrix
43  type(ImsLinearSettingsType), pointer :: linear_settings
44  type(ConvergenceSummaryType), pointer :: convergence_summary

◆ ims_print_summary()

subroutine imslinearsolvermodule::ims_print_summary ( class(imslinearsolvertype this)
private

Definition at line 47 of file ImsLinearSolver.f90.

48  class(ImsLinearSolverType) :: this

◆ ims_solve()

subroutine imslinearsolvermodule::ims_solve ( class(imslinearsolvertype this,
integer(i4b)  kiter,
class(vectorbasetype), pointer  rhs,
class(vectorbasetype), pointer  x,
type(convergencesummarytype cnvg_summary 
)
private

Definition at line 51 of file ImsLinearSolver.f90.

52  class(ImsLinearSolverType) :: this
53  integer(I4B) :: kiter
54  class(VectorBaseType), pointer :: rhs
55  class(VectorBaseType), pointer :: x
56  type(ConvergenceSummaryType) :: cnvg_summary