| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | value | :: | size |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=wp), | public | :: | Ntor |
Ntau=-Ntor |
|||
| real(kind=wp), | public | :: | Npol |
Ntet=Npol |
|||
| real(kind=wp), | public | :: | power |
power |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | size |
size of spectrum |
|||
| real(kind=wp), | public | :: | input_power |
power of spectrum |
|||
| real(kind=wp), | public | :: | power_ratio |
доля входной мощности |
|||
| real(kind=wp), | public | :: | max_power | ||||
| real(kind=wp), | public | :: | sum_power |
суммарная power |
|||
| integer, | public | :: | direction |
направление спектра +1 или -1 или 0 - полный |
|||
| type(SpectrumPoint), | public, | allocatable | :: | data(:) |
| public function spectrum_constructor (size) |
| procedure, public :: get_positive_part => get_positive_part_method | |
| procedure, public :: get_negative_part => get_negative_part_method | |
| procedure, public :: calc_max_power => calc_max_power_method | |
| procedure, public :: normalization => normalization_method | |
| procedure, public :: integral_trapez => integral_trapez_method | |
| procedure, public :: write => write_spectrum |
вычисление полной мощности спектра интегрирование методом трапеций
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Spectrum), | intent(in) | :: | this |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | value | :: | file_name |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Spectrum), | intent(inout) | :: | this |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Spectrum), | intent(inout) | :: | this |
write spectrum to file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Spectrum), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | spectrum_name |