pbepack_flow Module

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


Uses

  • module~~pbepack_flow~~UsesGraph module~pbepack_flow pbepack_flow hrweno_grids hrweno_grids module~pbepack_flow->hrweno_grids module~pbepack_basetypes pbepack_basetypes module~pbepack_flow->module~pbepack_basetypes module~pbepack_kinds pbepack_kinds module~pbepack_flow->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_flow~~UsedByGraph module~pbepack_flow pbepack_flow module~pbepack_pbe pbepack_pbe module~pbepack_pbe->module~pbepack_flow module~pbepack pbepack module~pbepack->module~pbepack_pbe

Interfaces

public interface flowterm

  • private function flowterm_init(grid, name) result(self)

    Initialize flowterm object.

    Arguments

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

    grid1 object

    character(len=*), intent(in), optional :: name

    name (default="growth-term")

    Return Value type(flowterm)


Abstract Interfaces

abstract interface

  • public pure function uinfnc_t(x, t)

    Growth rate for 1D system

    Arguments

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

    internal coordinate

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

    time

    Return Value real(kind=rk)


Derived Types

type, public, extends(pbeterm) ::  flowterm

Flow 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 flowterm_init (grid, name)

Initialize flowterm 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 => flowterm_eval