Derived types and procedures to compute the growth term for 1D PBEs.
Initialize growthterm object.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grid1), | intent(in) | :: | grid |
|
||
| procedure(gfnc_t) | :: | g |
growth rate function, |
|||
| integer, | intent(in) | :: | k |
order of the WENO reconstruction (default=3) |
||
| character(len=*), | intent(in), | optional | :: | name |
name (default="growth-term") |
Growth rate for 1D system
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in) | :: | x |
internal coordinate |
||
| real(kind=rk), | intent(in) | :: | y(:) |
environment vector |
Growth term class.
| 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, |
| private function growthterm_init (grid, g, k, name) | Initialize |
| procedure, public, pass(self) :: set_name | |
| procedure, public, pass(self) :: error_msg | |
| procedure, public, pass(self) :: check_inited | |
| procedure, public, pass(self) :: set_grid | |
| procedure, public, pass(self) :: pbeterm_allocations | |
| procedure, public, pass(self) :: eval => growthterm_eval |