| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | fb | |||
| type(c_ptr), | value | :: | fextb | |||
| type(c_ptr), | value | :: | nhat | |||
| type(c_ptr), | value | :: | nscale | |||
| type(c_ptr), | value | :: | flux | |||
| real(kind=c_prec), | value | :: | u | |||
| real(kind=c_prec), | value | :: | v | |||
| integer(kind=c_int), | value | :: | N | |||
| integer(kind=c_int), | value | :: | nel | |||
| integer(kind=c_int), | value | :: | nvar |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | extboundary | |||
| type(c_ptr), | value | :: | boundary | |||
| type(c_ptr), | value | :: | elements | |||
| type(c_ptr), | value | :: | sides | |||
| integer(kind=c_int), | value | :: | nBoundaries | |||
| integer(kind=c_int), | value | :: | N | |||
| integer(kind=c_int), | value | :: | nel | |||
| integer(kind=c_int), | value | :: | nvar |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | f | |||
| type(c_ptr), | value | :: | s | |||
| type(c_ptr), | value | :: | dsdx | |||
| real(kind=c_prec), | value | :: | u | |||
| real(kind=c_prec), | value | :: | v | |||
| integer(kind=c_int), | value | :: | N | |||
| integer(kind=c_int), | value | :: | nvar | |||
| integer(kind=c_int), | value | :: | nel |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(MappedScalar2D), | public | :: | dSdt | ||||
| real(kind=prec), | public | :: | dt | ||||
| real(kind=prec), | public | :: | entropy | ||||
| type(MappedVector2D), | public | :: | flux | ||||
| type(MappedScalar2D), | public | :: | fluxDivergence | ||||
| type(SEMQuad), | public, | pointer | :: | geometry | => | null() | |
| logical, | public | :: | gradient_enabled | = | .false. | ||
| type(BoundaryConditionList), | public | :: | hyperbolicBCs | ||||
| integer, | public | :: | ioIterate | = | 0 | ||
| type(Mesh2D), | public, | pointer | :: | mesh | => | null() | |
| integer, | public | :: | nstepped | = | 0 | ||
| integer, | public | :: | nvar | ||||
| type(BoundaryConditionList), | public | :: | parabolicBCs | Pre-regrid copy of the solution, held between StageSolutionForTransfer and ApplyTransferPlan so that Regrid is free to release the storage it was read from. The base implementation stages on the host; the GPU backend overrides both procedures and stages device-side instead, leaving this unallocated. |
|||
| logical, | public | :: | prescribed_bcs_enabled | = | .true. | ||
| type(MappedScalar2D), | public | :: | solution | ||||
| type(MappedVector2D), | public | :: | solutionGradient | ||||
| type(MappedScalar2D), | public | :: | source | ||||
| real(kind=prec), | public | :: | t | ||||
| logical, | public | :: | tecplot_enabled | = | .true. | ||
| procedure(SELF_timeIntegrator), | public, | pointer | :: | timeIntegrator | => | Euler_timeIntegrator | |
| real(kind=prec), | public, | allocatable | :: | transferStage(:,:,:,:) | |||
| type(MappedTwoPointVector2D), | public | :: | twoPointFlux | ||||
| real(kind=prec), | public | :: | u | ||||
| real(kind=prec), | public | :: | v | ||||
| type(MappedScalar2D), | public | :: | workSol |
| procedure, public :: AdditionalFree => AdditionalFree_Model | |
| procedure, public :: AdditionalInit => AdditionalInit_ECAdvection2D | |
| procedure, public :: AdditionalOutput => AdditionalOutput_Model | |
| procedure, public :: ApplyTransferPlan => ApplyTransferPlan_DGModel2D_t | |
| procedure, public :: BoundaryFlux => BoundaryFlux_ECAdvection2D | |
| procedure, public :: CalculateEntropy => CalculateEntropy_DGModel2D_t | |
| procedure, public :: CalculateSolutionGradient => CalculateSolutionGradient_DGModel2D_t | |
| procedure, public :: CalculateTendency => CalculateTendency_ECDGModel2D_t | |
| procedure, public :: Euler_timeIntegrator | |
| procedure, public :: FluxMethod => fluxmethod_DGModel2D_t | |
| procedure, public :: ForwardStep => ForwardStep_Model | |
| procedure, public :: Free => Free_ECAdvection2D | |
| procedure, public :: GetSimulationTime | |
| procedure, public :: IncrementIOCounter | |
| procedure, public :: Init => Init_ECAdvection2D | |
| procedure, public :: LowStorageRK2_timeIntegrator | |
| procedure, public :: LowStorageRK3_timeIntegrator | |
| procedure, public :: LowStorageRK4_timeIntegrator | |
| procedure, public :: MapBoundaryConditions => MapBoundaryConditions_DGModel2D_t | |
| procedure, public :: PostStepHook => PostStepHook_Model | |
| procedure, public :: PreStepHook => PreStepHook_Model | |
| procedure, public :: PreTendencyHook => PreTendencyHook_Model | |
| procedure, public :: PrintType => PrintType_Model | |
| procedure, public :: ReadModel => Read_DGModel2D_t | |
| procedure, public :: Regrid => Regrid_DGModel2D_t | |
| procedure, public :: ReportEntropy => ReportEntropy_Model | |
| procedure, public :: ReportMetrics => ReportMetrics_DGModel2D_t | |
| procedure, public :: ReportUserMetrics => ReportUserMetrics_Model | |
| procedure, public :: SetBoundaryCondition => setboundarycondition_DGModel2D_t | |
| procedure, public :: SetGradientBoundaryCondition => setgradientboundarycondition_DGModel2D_t | |
| procedure, public :: SetMetadata => SetMetadata_DGModel2D_t | |
| procedure, public :: SetNumberOfVariables => SetNumberOfVariables_Model | |
| procedure, public :: SetSimulationTime | |
| generic, public :: SetSolution => SetSolutionFromChar_DGModel2D_t, SetSolutionFromEqn_DGModel2D_t | |
| generic, public :: SetTimeIntegrator => SetTimeIntegrator_withChar | |
| procedure, public :: SourceMethod => SourceMethod_ECAdvection2D | |
| procedure, public :: StageSolutionForTransfer => StageSolutionForTransfer_DGModel2D_t | |
| procedure, public :: TwoPointFluxMethod => TwoPointFluxMethod_ECAdvection2D | |
| procedure, public :: UpdateGRK2 => UpdateGRK2_DGModel2D_t | |
| procedure, public :: UpdateGRK3 => UpdateGRK3_DGModel2D_t | |
| procedure, public :: UpdateGRK4 => UpdateGRK4_DGModel2D_t | |
| procedure, public :: UpdateSolution => UpdateSolution_DGModel2D_t | |
| procedure, public :: WriteModel => Write_DGModel2D_t | |
| procedure, public :: WriteTecplot => WriteTecplot_DGModel2D_t | |
| procedure, public :: entropy_func => entropy_func_ECAdvection2D_t | |
| procedure, public :: flux1D => flux1d_Model | |
| procedure, public :: flux2D => flux2d_Model | |
| procedure, public :: flux3D => flux3d_Model | |
| procedure, public :: riemannflux1d => riemannflux1d_Model | |
| procedure, public :: riemannflux2d => riemannflux2d_ECAdvection2D_t | |
| procedure, public :: riemannflux3d => riemannflux3d_Model | |
| procedure, public :: source1d => source1d_Model | |
| procedure, public :: source2d => source2d_Model | |
| procedure, public :: source3d => source3d_Model | |
| procedure, public :: twopointflux2d => twopointflux2d_ECAdvection2D_t |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ECAdvection2D), | intent(inout) | :: | this |
LLF Riemann flux on GPU — fully device-resident.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ECAdvection2D), | intent(inout) | :: | this |
Free EC Advection 2D, including GPU BC arrays.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ECAdvection2D), | intent(inout) | :: | this |
Initialize EC Advection 2D, then upload BC element/side arrays to GPU.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ECAdvection2D), | intent(out) | :: | this | |||
| type(Mesh2D), | intent(in), | target | :: | mesh | ||
| type(SEMQuad), | intent(in), | target | :: | geometry |
No source term — upload the zero-initialised host array to device.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ECAdvection2D), | intent(inout) | :: | this |
Contravariant EC two-point flux on GPU — fully device-resident.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ECAdvection2D), | intent(inout) | :: | this |
GPU-accelerated mirror BC for 2D EC Advection.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(BoundaryCondition), | intent(in) | :: | bc | |||
| class(Model), | intent(inout) | :: | mymodel |