getg2 Function

private function getg2(this) result(res)

Return factor for the current SDF.

Type Bound

sdf

Arguments

Type IntentOptional Attributes Name
class(sdf) :: this

Return Value real(kind=wp)


Source Code

    function getg2(this) result(res)
        !! Return \(g^2\) factor for the current SDF.

        class(sdf) :: this
        real(kind=wp) :: res

        res = this%value%optProps%value%g2

    end function getg2