sub_t Derived Type

type, public, extends(node_t) :: sub_t

type~~sub_t~~InheritsGraph type~sub_t sub_t type~node_t~2 node_t type~node_t~2->type~sub_t a, b type~node_t~2->type~sub_t
Help



Components

TypeVisibility AttributesNameInitial
class(node_t), public, allocatable:: a
class(node_t), public, allocatable:: b

Constructor

public interface sub_t

  • public function newSub(a, b) result(self)

    Arguments

    Type IntentOptional AttributesName
    class(node_t), intent(in) :: a
    class(node_t), intent(in) :: b

    Return Value type(sub_t)


Type-Bound Procedures

generic, public :: eval => evalR, evalZ

  • public function evalR_var(self, args) result(o)

    Arguments

    Type IntentOptional AttributesName
    class(var_t), intent(in) :: self
    real(kind=wp), intent(in), dimension(:):: args

    Return Value real(kind=wp)

  • public function evalZ_var(self, args) result(o)

    Arguments

    Type IntentOptional AttributesName
    class(var_t), intent(in) :: self
    complex(kind=wp), intent(in), dimension(:):: args

    Return Value complex(kind=wp)

procedure, public :: evalR => evalR_sub

  • public function evalR_sub(self, args) result(o)

    Arguments

    Type IntentOptional AttributesName
    class(sub_t), intent(in) :: self
    real(kind=wp), intent(in), dimension(:):: args

    Return Value real(kind=wp)

procedure, public :: evalZ => evalZ_sub

  • public function evalZ_sub(self, args) result(o)

    Arguments

    Type IntentOptional AttributesName
    class(sub_t), intent(in) :: self
    complex(kind=wp), intent(in), dimension(:):: args

    Return Value complex(kind=wp)