pf_misdc_t Derived Type

type, public, abstract, extends(pf_sweeper_t) :: pf_misdc_t

Multi-implicit SDC sweeper type (old style), extends abstract sweeper


Inherits

type~~pf_misdc_t~~InheritsGraph type~pf_misdc_t pf_misdc_t type~pf_sweeper_t pf_sweeper_t type~pf_misdc_t->type~pf_sweeper_t

Contents

Source Code


Components

TypeVisibility AttributesNameInitial
integer, public :: npieces
logical, public :: use_LUq
real(kind=pfdp), public, allocatable:: SdiffE(:,:)
real(kind=pfdp), public, allocatable:: SdiffI(:,:)

Type-Bound Procedures

procedure(pf_spreadq0_p), public, deferred :: spreadq0

  • subroutine pf_spreadq0_p(this, Lev, t0, flags, step) Prototype

    Arguments

    Type IntentOptional AttributesName
    class(pf_sweeper_t), intent(inout) :: this
    class(pf_level_t), intent(inout) :: Lev
    real(kind=pfdp), intent(in) :: t0

    Time at beginning of step; if flags == 2, time at end of step

    integer, intent(in), optional :: flags
    integer, intent(in), optional :: step

procedure(pf_f_eval_p), public, deferred :: f_eval

  • subroutine pf_f_eval_p(this, y, t, level, f, piece) Prototype

    Arguments

    Type IntentOptional AttributesName
    class(pf_misdc_t), intent(inout) :: this
    class(pf_encap_t), intent(in) :: y
    real(kind=pfdp), intent(in) :: t
    integer, intent(in) :: level
    class(pf_encap_t), intent(inout) :: f
    integer, intent(in) :: piece

procedure(pf_f_comp_p), public, deferred :: f_comp

  • subroutine pf_f_comp_p(this, y, t, dt, rhs, level, f, piece) Prototype

    Arguments

    Type IntentOptional AttributesName
    class(pf_misdc_t), intent(inout) :: this
    class(pf_encap_t), intent(inout) :: y
    real(kind=pfdp), intent(in) :: t
    real(kind=pfdp), intent(in) :: dt
    class(pf_encap_t), intent(in) :: rhs
    integer, intent(in) :: level
    class(pf_encap_t), intent(inout) :: f
    integer, intent(in) :: piece

procedure, public :: sweep => misdc_sweep

  • public subroutine misdc_sweep(this, pf, lev, t0, dt)

    Arguments

    Type IntentOptional AttributesName
    class(pf_misdc_t), intent(inout) :: this
    type(pf_pfasst_t), intent(inout) :: pf
    class(pf_level_t), intent(inout) :: lev
    real(kind=pfdp), intent(in) :: t0
    real(kind=pfdp), intent(in) :: dt

procedure, public :: initialize => misdc_initialize

procedure, public :: evaluate => misdc_evaluate

  • public subroutine misdc_evaluate(this, lev, t, m)

    Arguments

    Type IntentOptional AttributesName
    class(pf_misdc_t), intent(inout) :: this
    class(pf_level_t), intent(inout) :: lev
    real(kind=pfdp), intent(in) :: t
    integer, intent(in) :: m

procedure, public :: integrate => misdc_integrate

  • public subroutine misdc_integrate(this, lev, qSDC, fSDC, dt, fintSDC)

    Arguments

    Type IntentOptional AttributesName
    class(pf_misdc_t), intent(inout) :: this
    class(pf_level_t), intent(in) :: lev
    class(pf_encap_t), intent(in) :: qSDC(:)
    class(pf_encap_t), intent(in) :: fSDC(:,:)
    real(kind=pfdp), intent(in) :: dt
    class(pf_encap_t), intent(inout) :: fintSDC(:)

procedure, public :: residual => misdc_residual

  • public subroutine misdc_residual(this, lev, dt)

    Arguments

    Type IntentOptional AttributesName
    class(pf_misdc_t), intent(inout) :: this
    class(pf_level_t), intent(inout) :: lev
    real(kind=pfdp), intent(in) :: dt

procedure, public :: evaluate_all => misdc_evaluate_all

  • public subroutine misdc_evaluate_all(this, lev, t)

    Arguments

    Type IntentOptional AttributesName
    class(pf_misdc_t), intent(inout) :: this
    class(pf_level_t), intent(inout) :: lev
    real(kind=pfdp), intent(in) :: t(:)

procedure, public :: destroy => misdc_destroy

  • public subroutine misdc_destroy(this, lev)

    Arguments

    Type IntentOptional AttributesName
    class(pf_misdc_t), intent(inout) :: this
    class(pf_level_t), intent(inout) :: lev

procedure, public :: misdc_destroy

  • public subroutine misdc_destroy(this, lev)

    Arguments

    Type IntentOptional AttributesName
    class(pf_misdc_t), intent(inout) :: this
    class(pf_level_t), intent(inout) :: lev

Source Code

  type, extends(pf_sweeper_t), abstract :: pf_misdc_t
     real(pfdp), allocatable :: SdiffE(:,:)
     real(pfdp), allocatable :: SdiffI(:,:)
   contains
     procedure(pf_f_eval_p), deferred :: f_eval
     procedure(pf_f_comp_p), deferred :: f_comp
     procedure :: sweep        => misdc_sweep
     procedure :: initialize   => misdc_initialize
     procedure :: evaluate     => misdc_evaluate
     procedure :: integrate    => misdc_integrate
     procedure :: residual     => misdc_residual
     procedure :: evaluate_all => misdc_evaluate_all
     procedure :: destroy      => misdc_destroy
     procedure :: misdc_destroy
  end type pf_misdc_t