pf_user_level_t Derived Type

type, public, abstract :: pf_user_level_t

The absract definition of level which is inherited to include problem dependent stuff


Inherits

type~~pf_user_level_t~~InheritsGraph type~pf_user_level_t pf_user_level_t type~pf_sweeper_t pf_sweeper_t type~pf_user_level_t->type~pf_sweeper_t sweeper type~pf_factory_t pf_factory_t type~pf_user_level_t->type~pf_factory_t factory type~pf_stepper_t pf_stepper_t type~pf_user_level_t->type~pf_stepper_t stepper

Inherited by

type~~pf_user_level_t~~InheritedByGraph type~pf_user_level_t pf_user_level_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


Components

TypeVisibility AttributesNameInitial
class(pf_factory_t), public, allocatable:: factory
class(pf_sweeper_t), public, allocatable:: sweeper
class(pf_stepper_t), public, allocatable:: stepper

Type-Bound Procedures

procedure(pf_transfer_p), public, deferred :: restrict

  • subroutine pf_transfer_p(this, levelF, levelG, qF, qG, t, flags) Prototype

    transfer interfaces used for restriction and interpolation

    Arguments

    Type IntentOptional AttributesName
    class(pf_user_level_t), intent(inout) :: this
    class(pf_level_t), intent(inout) :: levelF
    class(pf_level_t), intent(inout) :: levelG
    class(pf_encap_t), intent(inout) :: qF
    class(pf_encap_t), intent(inout) :: qG
    real(kind=pfdp), intent(in) :: t
    integer, intent(in), optional :: flags

procedure(pf_transfer_p), public, deferred :: interpolate

  • subroutine pf_transfer_p(this, levelF, levelG, qF, qG, t, flags) Prototype

    transfer interfaces used for restriction and interpolation

    Arguments

    Type IntentOptional AttributesName
    class(pf_user_level_t), intent(inout) :: this
    class(pf_level_t), intent(inout) :: levelF
    class(pf_level_t), intent(inout) :: levelG
    class(pf_encap_t), intent(inout) :: qF
    class(pf_encap_t), intent(inout) :: qG
    real(kind=pfdp), intent(in) :: t
    integer, intent(in), optional :: flags

Source Code

  type, abstract :: pf_user_level_t
     class(pf_factory_t), allocatable :: factory
     class(pf_sweeper_t), allocatable :: sweeper
     class(pf_stepper_t), allocatable :: stepper
   contains
     procedure(pf_transfer_p), deferred :: restrict
     procedure(pf_transfer_p), deferred :: interpolate
  end type pf_user_level_t