SELF_TwoPointVector_3D Module


Uses

  • module~~self_twopointvector_3d~2~~UsesGraph module~self_twopointvector_3d~2 SELF_TwoPointVector_3D module~self_gpuinterfaces SELF_GPUInterfaces module~self_twopointvector_3d~2->module~self_gpuinterfaces module~self_twopointvector_3d_t SELF_TwoPointVector_3D_t module~self_twopointvector_3d~2->module~self_twopointvector_3d_t module~self_gpu~2 SELF_GPU module~self_twopointvector_3d~2->module~self_gpu~2 module~self_constants SELF_Constants module~self_twopointvector_3d~2->module~self_constants iso_c_binding iso_c_binding module~self_twopointvector_3d~2->iso_c_binding module~self_gpuinterfaces->module~self_gpu~2 module~self_gpuinterfaces->iso_c_binding module~self_twopointvector_3d_t->module~self_constants module~self_twopointvector_3d_t->iso_c_binding module~self_data SELF_Data module~self_twopointvector_3d_t->module~self_data module~self_metadata SELF_Metadata module~self_twopointvector_3d_t->module~self_metadata module~self_lagrange~3 SELF_Lagrange module~self_twopointvector_3d_t->module~self_lagrange~3 FEQParse FEQParse module~self_twopointvector_3d_t->FEQParse module~self_gpu~2->iso_c_binding module~self_gpu_enums~2 SELF_GPU_enums module~self_gpu~2->module~self_gpu_enums~2 module~self_constants->iso_c_binding iso_fortran_env iso_fortran_env module~self_constants->iso_fortran_env module~self_data->module~self_constants module~self_data->iso_c_binding module~self_data->module~self_metadata module~self_data->module~self_lagrange~3 module~self_data->FEQParse module~self_hdf5 SELF_HDF5 module~self_data->module~self_hdf5 HDF5 HDF5 module~self_data->HDF5 module~self_gpu_enums~2->iso_c_binding module~self_metadata->module~self_hdf5 module~self_metadata->HDF5 module~self_lagrange~3->module~self_constants module~self_lagrange~3->iso_c_binding module~self_lagrange~3->iso_fortran_env module~self_lagrange_t SELF_Lagrange_t module~self_lagrange~3->module~self_lagrange_t module~self_hdf5->module~self_constants module~self_hdf5->iso_fortran_env module~self_hdf5->HDF5 mpi mpi module~self_hdf5->mpi module~self_lagrange_t->module~self_constants module~self_lagrange_t->iso_c_binding module~self_lagrange_t->iso_fortran_env module~self_lagrange_t->module~self_hdf5 module~self_lagrange_t->HDF5 module~self_quadrature SELF_Quadrature module~self_lagrange_t->module~self_quadrature module~self_supportroutines SELF_SupportRoutines module~self_lagrange_t->module~self_supportroutines module~self_quadrature->module~self_constants module~self_quadrature->iso_fortran_env module~self_supportroutines->module~self_constants module~self_supportroutines->iso_fortran_env

Contents


Derived Types

type, public, extends(TwoPointVector3D_t) :: TwoPointVector3D

Components

TypeVisibilityAttributesNameInitial
integer, public :: M
integer, public :: N
character(len=3), public :: backend ="gpu"
type(EquationParser), public, allocatable:: eqn(:)
real(kind=prec), public, pointer, contiguous, dimension(:,:,:,:,:,:,:):: interior
type(c_ptr), public :: interior_gpu
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, Divergence_TwoPointVector3D
procedure, private :: Divergence_TwoPointVector3D
procedure, public :: Free => Free_TwoPointVector3D
procedure, public :: Init => Init_TwoPointVector3D
procedure, public :: SetDescription => SetDescription_DataObj
generic, public :: SetEquation => SetEquation_DataObj
procedure, public :: SetName => SetName_DataObj
procedure, public :: SetUnits => SetUnits_DataObj
procedure, public :: UpdateDevice => UpdateDevice_TwoPointVector3D
procedure, public :: UpdateHost => UpdateHost_TwoPointVector3D

Subroutines

public subroutine Divergence_TwoPointVector3D(this, df)

GPU implementation of the reference-element split-form divergence. df must be a device pointer to a scalar field of size (N+1)^3 * nElem * nVar.

Arguments

TypeIntentOptionalAttributesName
class(TwoPointVector3D), intent(in) :: this
type(c_ptr), intent(inout) :: df

public subroutine Free_TwoPointVector3D(this)

Arguments

TypeIntentOptionalAttributesName
class(TwoPointVector3D), intent(inout) :: this

public subroutine Init_TwoPointVector3D(this, interp, nVar, nElem)

Arguments

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

public subroutine UpdateDevice_TwoPointVector3D(this)

Arguments

TypeIntentOptionalAttributesName
class(TwoPointVector3D), intent(inout) :: this

public subroutine UpdateHost_TwoPointVector3D(this)

Arguments

TypeIntentOptionalAttributesName
class(TwoPointVector3D), intent(inout) :: this