Read a fixed LNO layer from file and return it
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | unit |
Input unit number |
||
| integer, | intent(in), | optional | :: | verbose |
Verbosity level |
Allocated base-layer instance containing the result
function read_fixed_lno_layer(unit, verbose) result(layer) !! Read a fixed LNO layer from file and return it implicit none ! Arguments integer, intent(in) :: unit !! Input unit number integer, optional, intent(in) :: verbose !! Verbosity level class(base_layer_type), allocatable :: layer !! Allocated base-layer instance containing the result ! Local variables integer :: verbose_ = 0 !! Effective verbosity level if(present(verbose)) verbose_ = verbose allocate(layer, source=fixed_lno_layer_type( & num_outputs=0, num_modes=1)) call layer%read(unit, verbose=verbose_) end function read_fixed_lno_layer