atl_get_penaltyIP_2d Function

public function atl_get_penaltyIP_2d(maxPolyDegree, elemLength, ip_param) result(penaltyIP)

Return the penalty parameter for the IP discretizations of higher order equations.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: maxPolyDegree

The maximal polynomial degree of the discretization (starting from 0 for FVM)

real(kind=rk), intent(in) :: elemLength

The length of an element.

real(kind=rk), intent(in) :: ip_param

The Interior Penalty paramter (should be large enough to ensure stability)

Return Value real(kind=rk)

The resulting penalty parameter