pbepack_growth Module

Derived types and procedures to compute the growth term for 1D PBEs.


Uses

  • module~~pbepack_growth~~UsesGraph module~pbepack_growth pbepack_growth hrweno_fluxes hrweno_fluxes module~pbepack_growth->hrweno_fluxes hrweno_grids hrweno_grids module~pbepack_growth->hrweno_grids hrweno_weno hrweno_weno module~pbepack_growth->hrweno_weno module~pbepack_basetypes pbepack_basetypes module~pbepack_growth->module~pbepack_basetypes module~pbepack_kinds pbepack_kinds module~pbepack_growth->module~pbepack_kinds module~pbepack_basetypes->hrweno_grids module~pbepack_basetypes->module~pbepack_kinds module~pbepack_lib pbepack_lib module~pbepack_basetypes->module~pbepack_lib iso_fortran_env iso_fortran_env module~pbepack_kinds->iso_fortran_env module~pbepack_lib->module~pbepack_kinds stdlib_math stdlib_math module~pbepack_lib->stdlib_math stdlib_optval stdlib_optval module~pbepack_lib->stdlib_optval stdlib_strings stdlib_strings module~pbepack_lib->stdlib_strings

Used by

  • module~~pbepack_growth~~UsedByGraph module~pbepack_growth pbepack_growth module~pbepack_pbe pbepack_pbe module~pbepack_pbe->module~pbepack_growth module~pbepack pbepack module~pbepack->module~pbepack_pbe

Interfaces

public interface growthterm

  • private function growthterm_init(grid, g, k, name) result(self)

    Initialize growthterm object.

    Arguments

    Type IntentOptional Attributes Name
    type(grid1), intent(in) :: grid

    grid1 object

    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")

    Return Value type(growthterm)


Abstract Interfaces

abstract interface

  • public pure function gfnc_t(x, y)

    Growth rate for 1D system

    Arguments

    Type IntentOptional Attributes Name
    real(kind=rk), intent(in) :: x

    internal coordinate

    real(kind=rk), intent(in) :: y(:)

    environment vector

    Return Value real(kind=rk)


Derived Types

type, public, extends(pbeterm) ::  growthterm

Growth term class.

Components

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,

Constructor

private function growthterm_init (grid, g, k, name)

Initialize growthterm object.

Type-Bound Procedures

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