atl_kerneldata_update_maxgrad Subroutine

public subroutine atl_kerneldata_update_maxgrad(statedata, kerneldata)

Find the maximal gradient estimation for the polynomials representing the state in each element.

This additional information is useful for estimates during the simulation.

Arguments

TypeIntentOptionalAttributesName
type(atl_statedata_type), intent(in) :: statedata

The statedata to update the bounds for.

maxgrad of kerneldata will be recomputed according to the statedata.

type(atl_kerneldata_type), intent(inout) :: kerneldata

The kerneldata storing the gradients, this will be updated according to the data provided in statedata.


Called by

proc~~atl_kerneldata_update_maxgrad~~CalledByGraph proc~atl_kerneldata_update_maxgrad atl_kerneldata_update_maxgrad proc~atl_kerneldata_update_estimates atl_kerneldata_update_estimates proc~atl_kerneldata_update_estimates->proc~atl_kerneldata_update_maxgrad proc~atl_solve_program atl_solve_program proc~atl_solve_program->proc~atl_kerneldata_update_estimates proc~atl_initialize_program atl_initialize_program proc~atl_initialize_program->proc~atl_kerneldata_update_estimates program~atl_harvesting atl_harvesting program~atl_harvesting->proc~atl_kerneldata_update_estimates program~ateles ateles program~ateles->proc~atl_solve_program program~ateles->proc~atl_initialize_program

Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: maxgrad
integer, private :: nElems
integer, private :: iElem
integer, private :: nVars
integer, private :: iVar
integer, private :: iDof
integer, private :: i
integer, private :: j
integer, private :: k
integer, private :: n
integer, private :: nDofs