pf_factory_t Derived Type

type, public, abstract :: pf_factory_t

Abstract type for creation and destruction of objects


Inherited by

type~~pf_factory_t~~InheritedByGraph type~pf_factory_t pf_factory_t type~pf_user_level_t pf_user_level_t type~pf_user_level_t->type~pf_factory_t factory type~ndarray_oc_factory ndarray_oc_factory type~ndarray_oc_factory->type~pf_factory_t type~zndsysarray_factory zndsysarray_factory type~zndsysarray_factory->type~pf_factory_t type~ndarray_factory ndarray_factory type~ndarray_factory->type~pf_factory_t type~ndsysarray_factory ndsysarray_factory type~ndsysarray_factory->type~pf_factory_t type~pf_level_t pf_level_t type~pf_level_t->type~pf_user_level_t ulevel type~pf_pfasst_t pf_pfasst_t type~pf_pfasst_t->type~pf_level_t levels

Contents

Source Code


Type-Bound Procedures

procedure(pf_encap_create_single_p), public, deferred :: create_single

  • subroutine pf_encap_create_single_p(this, x, level, shape) Prototype

    encapsulation interfaces

    Arguments

    Type IntentOptional AttributesName
    class(pf_factory_t), intent(inout) :: this
    class(pf_encap_t), intent(inout), allocatable:: x
    integer, intent(in) :: level
    integer, intent(in) :: shape(:)

procedure(pf_encap_create_array_p), public, deferred :: create_array

  • subroutine pf_encap_create_array_p(this, x, n, level, shape) Prototype

    Arguments

    Type IntentOptional AttributesName
    class(pf_factory_t), intent(inout) :: this
    class(pf_encap_t), intent(inout), allocatable:: x(:)
    integer, intent(in) :: n
    integer, intent(in) :: level
    integer, intent(in) :: shape(:)

procedure(pf_encap_destroy_single_p), public, deferred :: destroy_single

  • subroutine pf_encap_destroy_single_p(this, x, level, shape) Prototype

    Arguments

    Type IntentOptional AttributesName
    class(pf_factory_t), intent(inout) :: this
    class(pf_encap_t), intent(inout), allocatable:: x
    integer, intent(in) :: level
    integer, intent(in) :: shape(:)

procedure(pf_encap_destroy_array_p), public, deferred :: destroy_array

  • subroutine pf_encap_destroy_array_p(this, x, n, level, shape) Prototype

    Arguments

    Type IntentOptional AttributesName
    class(pf_factory_t), intent(inout) :: this
    class(pf_encap_t), intent(inout), allocatable:: x(:)
    integer, intent(in) :: n
    integer, intent(in) :: level
    integer, intent(in) :: shape(:)

Source Code

  type, abstract :: pf_factory_t
   contains
     procedure(pf_encap_create_single_p),  deferred :: create_single
     procedure(pf_encap_create_array_p),   deferred :: create_array
     procedure(pf_encap_destroy_single_p), deferred :: destroy_single
     procedure(pf_encap_destroy_array_p),  deferred :: destroy_array
  end type pf_factory_t