getN Function

private function getN(this) result(res)

Return refractive index for the current SDF.

Type Bound

sdf

Arguments

Type IntentOptional Attributes Name
class(sdf) :: this

Return Value real(kind=wp)


Source Code

    function getN(this) result(res)
        !! Return refractive index for the current SDF.

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

        res = this%value%optProps%value%n

    end function getN