t_functional Derived Type

type, public, ABSTRACT, extends(c_functional) :: t_functional


Inherits

type~~t_functional~~InheritsGraph type~t_functional t_functional type~c_functional c_functional type~t_functional->type~c_functional

Inherited by

type~~t_functional~~InheritedByGraph type~t_functional t_functional type~t_functional_mhd3d t_functional_mhd3d type~t_functional_mhd3d->type~t_functional

Components

Type Visibility Attributes Name Initial
integer, public :: which_functional

points to functional (1: MHD3D)


Type-Bound Procedures

procedure(i_sub_functional), public, deferred :: init

  • subroutine i_sub_functional(sf) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(c_functional), intent(inout) :: sf

procedure(i_sub_functional), public, deferred :: initSolution

  • subroutine i_sub_functional(sf) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(c_functional), intent(inout) :: sf

procedure(i_sub_functional_min), public, deferred :: minimize

  • subroutine i_sub_functional_min(sf) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(c_functional), intent(inout) :: sf

procedure(i_sub_functional), public, deferred :: free

  • subroutine i_sub_functional(sf) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(c_functional), intent(inout) :: sf

Source Code

TYPE,ABSTRACT,EXTENDS(c_functional) :: t_functional
  !---------------------------------------------------------------------------------------------------------------------------------
  !input parameters
  INTEGER              :: which_functional         !! points to functional (1: MHD3D)
  !---------------------------------------------------------------------------------------------------------------------------------

END TYPE t_functional