Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=psb_dpk_), | private, | allocatable | :: | b(:) |
Getters
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(scalar_pde), | intent(inout) | :: | eqn |
Constructor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pde), | intent(inout) | :: | eqn |
Constructor
Getters
----- Constructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(scalar_pde), | intent(out) | :: | eqn | |||
character(len=*), | intent(in) | :: | input_file | |||
character(len=*), | intent(in) | :: | sec | |||
type(mesh), | intent(inout), | target | :: | msh | ||
type(dimensions), | intent(in) | :: | dim |
Constructor
Destructor
Getters
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(scalar_pde), | intent(inout) | :: | eqn |
Constructor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pde), | intent(inout) | :: | eqn |
Linear System Solving
Getters
Getters
Inserts a ``cloud'' of RHS terms into pde%b
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | n | |||
integer, | intent(in) | :: | ia(:) | |||
real(kind=psb_dpk_), | intent(in) | :: | cloud(:) | |||
class(scalar_pde), | intent(inout) | :: | pde |
Constructor
Constructor
Constructor
Status inquirer
Constructor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pde), | intent(in) | :: | eqn |
Constructor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pde), | intent(in) | :: | eqn |
Constructor
Constructor
Getters
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(scalar_pde), | intent(in) | :: | eqn |
Getters
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(scalar_pde), | intent(inout) | :: | eqn |
Getters
Constructor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pde), | intent(inout) | :: | eqn | |||
real(kind=psb_dpk_), | intent(in) | :: | b(:) | |||
real(kind=psb_dpk_), | intent(out) | :: | x(:) | |||
integer, | intent(out) | :: | iter | |||
real(kind=psb_dpk_), | intent(out) | :: | err |
Linear System Solving
Constructor
Linear System Solving Inserts a ``cloud'' of coefficients into eqn%A
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | n | |||
integer, | intent(in) | :: | ia(:) | |||
integer, | intent(in) | :: | ja(:) | |||
real(kind=psb_dpk_), | intent(in) | :: | cloud(:) | |||
class(pde), | intent(inout) | :: | eqn |
Constructor
Constructor
Output
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pde), | intent(in) | :: | eqn | |||
character(len=*), | intent(in) | :: | mat | |||
logical, | intent(out) | :: | mtx_rhs |
Getters
----- Output -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(scalar_pde), | intent(in) | :: | eqn | |||
character(len=*), | intent(in) | :: | mat | |||
character(len=*), | intent(in) | :: | rhs |
Getters
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(scalar_pde), | intent(inout) | :: | pde | |||
type(matptr), | intent(in), | optional | pointer | :: | mats(:) | |
type(scalar_field), | intent(inout) | :: | phi | |||
real(kind=psb_dpk_), | intent(out), | optional | :: | var |
TYPE, EXTENDS(PDE) :: scalar_pde
PRIVATE
REAL(psb_dpk_), ALLOCATABLE :: b(:)
CONTAINS
PROCEDURE, PUBLIC :: create_pde !! Constructor
PROCEDURE, PUBLIC :: free_pde !! Destructor
PROCEDURE, PUBLIC :: write_scalar_pde
PROCEDURE, PUBLIC, PASS(pde) :: geins_scalar_pde
GENERIC, PUBLIC :: geins_pde => geins_scalar_pde !! Linear System Solving
PROCEDURE, PUBLIC :: nemo_sizeof
PROCEDURE, PUBLIC :: reinit_pde
PROCEDURE, PUBLIC :: asb_pde_
PROCEDURE, PRIVATE :: solve_scalar_pde
GENERIC, PUBLIC :: solve_pde => solve_scalar_pde
END TYPE scalar_pde