TwoPointVector3D Derived Type

type, public, extends(TwoPointVector3D_t) :: TwoPointVector3D


Inherits

type~~twopointvector3d~~InheritsGraph type~twopointvector3d TwoPointVector3D type~twopointvector3d_t TwoPointVector3D_t type~twopointvector3d->type~twopointvector3d_t type~self_dataobj SELF_DataObj type~twopointvector3d_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~lagrange_t Lagrange_t type~lagrange->type~lagrange_t c_ptr c_ptr type~lagrange_t->c_ptr blas_handle

Inherited by

type~~twopointvector3d~~InheritedByGraph type~twopointvector3d TwoPointVector3D type~mappedtwopointvector3d_t MappedTwoPointVector3D_t type~mappedtwopointvector3d_t->type~twopointvector3d type~mappedtwopointvector3d MappedTwoPointVector3D type~mappedtwopointvector3d->type~mappedtwopointvector3d_t type~mappedtwopointvector3d~2 MappedTwoPointVector3D type~mappedtwopointvector3d~2->type~mappedtwopointvector3d_t type~ecdgmodel3d_t ECDGModel3D_t type~ecdgmodel3d_t->type~mappedtwopointvector3d twoPointFlux type~ecadvection3d_t ECAdvection3D_t type~ecadvection3d_t->type~ecdgmodel3d_t type~ecdgmodel3d~2 ECDGModel3D type~ecdgmodel3d~2->type~ecdgmodel3d_t type~ecdgmodel3d ECDGModel3D type~ecdgmodel3d->type~ecdgmodel3d_t type~ecadvection3d ECAdvection3D type~ecadvection3d->type~ecadvection3d_t type~ecadvection3d~2 ECAdvection3D type~ecadvection3d~2->type~ecadvection3d_t

Contents

Source Code


Components

TypeVisibilityAttributesNameInitial
integer, public :: M
integer, public :: N
character(len=3), public :: backend ="cpu"
type(EquationParser), public, allocatable:: eqn(:)
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

generic, public :: Divergence => Divergence_TwoPointVector3D_t

  • public subroutine Divergence_TwoPointVector3D_t(this, df)

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

    Read more…

    Arguments

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

procedure, public :: Free => Free_TwoPointVector3D_t

procedure, public :: Init => Init_TwoPointVector3D_t

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

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

    Read more…

    Arguments

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

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_TwoPointVector3D_t

procedure, public :: UpdateHost => UpdateHost_TwoPointVector3D_t

Source Code

  type,extends(TwoPointVector3D_t),public :: TwoPointVector3D
    character(3) :: backend = "cpu"
  endtype TwoPointVector3D