add_t Derived Type

type, public, extends(node_t) :: add_t

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



Components

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

Constructor

public interface add_t

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

    Arguments

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

    Return Value type(add_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_add

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

    Arguments

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

    Return Value real(kind=wp)

procedure, public :: evalZ => evalZ_add

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

    Arguments

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

    Return Value complex(kind=wp)