mono Derived Type

type, public, extends(opticalProp_base) :: mono


Components

Type Visibility Attributes Name Initial
real(kind=wp), public :: albedo

real(kind=wp), public :: g2

g factor squared

real(kind=wp), public :: hgg

g factor

real(kind=wp), public :: kappa

real(kind=wp), public :: mua

absoprtion coeff.

real(kind=wp), public :: mus

scattering coeff.

real(kind=wp), public :: n

refractive index


Constructor

public interface mono

  • private function init_mono(mus, mua, hgg, n) result(res)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=wp), intent(in) :: mus
    real(kind=wp), intent(in) :: mua
    real(kind=wp), intent(in) :: hgg
    real(kind=wp), intent(in) :: n

    Return Value type(mono)


Type-Bound Procedures

procedure, public :: update => updateMono

  • private subroutine updateMono(this, wavelength)

    Arguments

    Type IntentOptional Attributes Name
    class(mono), intent(inout) :: this
    real(kind=wp), intent(out) :: wavelength

Source Code

    type, extends(opticalProp_base) :: mono
        contains
            procedure :: update => updateMono
    end type mono