Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(opticalProp_base), | intent(in) | :: | rhs |
type(opticalProp_t) function opticaProp_new(rhs) result(lhs) class(opticalProp_base), intent(in) :: rhs allocate(lhs%value,source=rhs) end function opticaProp_new