MappedTwoPointVector2D Derived Type

type, public, extends(MappedTwoPointVector2D_t) :: MappedTwoPointVector2D


Inherits

type~~mappedtwopointvector2d~~InheritsGraph type~mappedtwopointvector2d MappedTwoPointVector2D type~mappedtwopointvector2d_t MappedTwoPointVector2D_t type~mappedtwopointvector2d->type~mappedtwopointvector2d_t type~semquad SEMQuad type~mappedtwopointvector2d_t->type~semquad geometry type~twopointvector2d TwoPointVector2D type~mappedtwopointvector2d_t->type~twopointvector2d type~vector2d Vector2D type~semquad->type~vector2d x, nHat type~scalar2d Scalar2D type~semquad->type~scalar2d nScale, J type~tensor2d Tensor2D type~semquad->type~tensor2d dxds, dsdx type~twopointvector2d_t TwoPointVector2D_t type~twopointvector2d->type~twopointvector2d_t type~vector2d_t Vector2D_t type~vector2d->type~vector2d_t type~scalar2d_t Scalar2D_t type~scalar2d->type~scalar2d_t type~tensor2d_t Tensor2D_t type~tensor2d->type~tensor2d_t type~self_dataobj SELF_DataObj type~twopointvector2d_t->type~self_dataobj type~vector2d_t->type~self_dataobj type~scalar2d_t->type~self_dataobj type~lagrange Lagrange type~self_dataobj->type~lagrange interp type~metadata Metadata type~self_dataobj->type~metadata meta EquationParser EquationParser type~self_dataobj->EquationParser eqn type~tensor2d_t->type~self_dataobj type~lagrange_t Lagrange_t type~lagrange->type~lagrange_t c_ptr c_ptr type~lagrange_t->c_ptr blas_handle

Inherited by

type~~mappedtwopointvector2d~~InheritedByGraph type~mappedtwopointvector2d MappedTwoPointVector2D type~ecdgmodel2d_t ECDGModel2D_t type~ecdgmodel2d_t->type~mappedtwopointvector2d twoPointFlux type~ecadvection2d_t ECAdvection2D_t type~ecadvection2d_t->type~ecdgmodel2d_t type~ecdgmodel2d ECDGModel2D type~ecdgmodel2d->type~ecdgmodel2d_t type~ecdgmodel2d~2 ECDGModel2D type~ecdgmodel2d~2->type~ecdgmodel2d_t type~ecadvection2d ECAdvection2D type~ecadvection2d->type~ecadvection2d_t type~ecadvection2d~2 ECAdvection2D type~ecadvection2d~2->type~ecadvection2d_t

Contents


Components

TypeVisibilityAttributesNameInitial
integer, public :: M
integer, public :: N
character(len=3), public :: backend ="cpu"
type(EquationParser), public, allocatable:: eqn(:)
type(SEMQuad), public, pointer:: geometry=> null()
logical, public :: geometry_associated =.false.
real(kind=prec), public, pointer, contiguous, dimension(:,:,:,:,:,:):: interior
type(Lagrange), public, pointer:: interp
type(Metadata), public, allocatable:: meta(:)
integer, public :: nElem
integer, public :: nVar

Type-Bound Procedures

procedure, public :: AssociateGeometry => AssociateGeometry_MappedTwoPointVector2D_t

procedure, public :: DissociateGeometry => DissociateGeometry_MappedTwoPointVector2D_t

generic, public :: Divergence => Divergence_TwoPointVector2D_t

  • public subroutine Divergence_TwoPointVector2D_t(this, df)

    Computes the split-form (two-point) divergence of a 2-D vector field in the reference element (computational coordinates).

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    class(TwoPointVector2D_t), intent(in) :: this
    real(kind=prec), intent(out) :: df(1:this%N+1,1:this%N+1,1:this%nElem,1:this%nVar)

procedure, public :: Free => Free_TwoPointVector2D_t

procedure, public :: Init => Init_TwoPointVector2D_t

  • public subroutine Init_TwoPointVector2D_t(this, interp, nVar, nElem)

    Allocate the interior array for a 2-D two-point vector field. The interior array has rank 6 with layout (n,i,j,nEl,nVar,idir).

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    class(TwoPointVector2D_t), intent(out) :: this
    type(Lagrange), intent(in), target:: interp
    integer, intent(in) :: nVar
    integer, intent(in) :: nElem

generic, public :: MappedDivergence => MappedDivergence_MappedTwoPointVector2D_t

procedure, public :: SetDescription => SetDescription_DataObj

  • public subroutine SetDescription_DataObj(this, ivar, description)

    Set the description of the ivar-th variable

    Arguments

    TypeIntentOptionalAttributesName
    class(SELF_DataObj), intent(inout) :: this
    integer, intent(in) :: ivar
    character, intent(in) :: description

generic, public :: SetEquation => SetEquation_DataObj

  • public subroutine SetEquation_DataObj(this, ivar, eqnChar)

    Sets the equation parser for the ivar-th variable

    Arguments

    TypeIntentOptionalAttributesName
    class(SELF_DataObj), intent(inout) :: this
    integer, intent(in) :: ivar
    character, intent(in) :: eqnChar

procedure, public :: SetName => SetName_DataObj

  • public subroutine SetName_DataObj(this, ivar, name)

    Set the name of the ivar-th variable

    Arguments

    TypeIntentOptionalAttributesName
    class(SELF_DataObj), intent(inout) :: this
    integer, intent(in) :: ivar
    character, intent(in) :: name

procedure, public :: SetUnits => SetUnits_DataObj

  • public subroutine SetUnits_DataObj(this, ivar, units)

    Set the units of the ivar-th variable

    Arguments

    TypeIntentOptionalAttributesName
    class(SELF_DataObj), intent(inout) :: this
    integer, intent(in) :: ivar
    character, intent(in) :: units

procedure, public :: UpdateDevice => UpdateDevice_TwoPointVector2D_t

procedure, public :: UpdateHost => UpdateHost_TwoPointVector2D_t

Source Code

  type,extends(MappedTwoPointVector2D_t),public :: MappedTwoPointVector2D
  endtype MappedTwoPointVector2D