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

Type IntentOptional Attributes Name
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.