Return refractive index for the current SDF.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(sdf) | :: | this |
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