Abstract 1D PBE particle term class (aggregation and breakage).
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=:), | public, | allocatable | :: | name |
object name |
||
character(len=:), | public, | allocatable | :: | msg |
error message |
||
integer, | public | :: | ierr | = | 0 |
error code |
|
logical, | public | :: | inited | = | .false. |
initialization flag |
|
type(grid1), | public, | pointer | :: | grid | => | null() |
pointer to grid object |
real(kind=rk), | public, | allocatable | :: | udot(:) |
net rate of change, |
||
integer, | public | :: | moment | = | 1 |
moment of conserved during aggregation/breakage |
|
real(kind=rk), | public, | allocatable | :: | udot_birth(:) |
rate of birth |
||
real(kind=rk), | public, | allocatable | :: | udot_death(:) |
rate of death |
Setter method for name.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(base), | intent(inout) | :: | self |
object |
||
character(len=*), | intent(in), | optional | :: | name |
name |
|
character(len=*), | intent(in), | optional | :: | default |
default name |
Error method.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(base), | intent(inout) | :: | self |
object |
||
character(len=*), | intent(in) | :: | msg |
message |
Check initialization method.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(base), | intent(inout) | :: | self |
object |
Setter method for grid.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pbeterm), | intent(inout) | :: | self |
object |
||
type(grid1), | intent(in), | target | :: | grid |
|
Allocator for arrays of pbeterm
class.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pbeterm), | intent(inout) | :: | self |
object |
Setter method for moment.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(particleterm), | intent(inout) | :: | self |
object |
||
integer, | intent(in) | :: | moment |
moment of to be preserved upon aggregation/breakage |
Allocator for arrays of particleterm
class.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(particleterm), | intent(inout) | :: | self |
object |
type, extends(pbeterm), abstract :: particleterm !! Abstract 1D PBE particle term class (aggregation and breakage). integer :: moment = 1 !! moment of \(x\) conserved during aggregation/breakage real(rk), allocatable :: udot_birth(:) !! rate of birth real(rk), allocatable :: udot_death(:) !! rate of death contains procedure, pass(self) :: set_moment procedure, pass(self) :: particleterm_allocations end type particleterm