![]() |
(git:27c966b)
|
Definition and construction of time/frequency grids for correlation methods. More...
Data Types | |
| type | time_frequency_grid_type |
Functions/Subroutines | |
| subroutine, public | time_frequency_grid_release (grid) |
| Release all data owned by a time_frequency_grid_type object. | |
| subroutine, public | transform_time_to_frequency (grid, samples_tau, values_omega) |
| Transform real positive/negative-time samples to complex positive-frequency values. The even part uses the cosine transform and the odd part the sine transform. | |
| subroutine, public | build_clenshaw_grid (num_points, grid) |
| Build a Clenshaw-Curtis frequency grid. | |
| subroutine, public | build_minimax_time_frequency_grid (num_points, energy_min, energy_max, regularization, num_points_per_magnitude, grid, build_frequency, build_time, build_transforms, build_sine, time_scaling, time_weight_scaling, max_fit_error, print_warning, unit_nr, prefer_external_backend, used_external_backend, rcond) |
| Build a minimax time/frequency grid through the common backend boundary. | |
| subroutine, public | test_least_square_ft (nr, iw) |
| test the singular value decomposition for the computation of integration weights for the Fourier transform between time and frequency grid in cubic-scaling RPA | |
Variables | |
| integer, parameter | cosine_time_to_frequency = 1 |
| integer, parameter, public | positive_time = 1 |
| integer, parameter, public | negative_time = 2 |
Definition and construction of time/frequency grids for correlation methods.
| subroutine, public time_frequency_grids::time_frequency_grid_release | ( | type(time_frequency_grid_type), intent(inout) | grid | ) |
Release all data owned by a time_frequency_grid_type object.
| grid | The grid object to release. |
Definition at line 56 of file time_frequency_grids.F.
| subroutine, public time_frequency_grids::transform_time_to_frequency | ( | type(time_frequency_grid_type), intent(in) | grid, |
| real(kind=dp), dimension(:, :, :), intent(in) | samples_tau, | ||
| complex(kind=dp), dimension(:, :), intent(out) | values_omega ) |
Transform real positive/negative-time samples to complex positive-frequency values. The even part uses the cosine transform and the odd part the sine transform.
| grid | Valid grid with complete cosine/sine time-to-frequency matrices of matching dimensions. |
| samples_tau | Real samples indexed (state, time, branch), with branches positive_time and negative_time. The samples include their physical signs. |
| values_omega | Complex output indexed (state, frequency), evaluated at the leading SIZE(values_omega, 2) positive-frequency nodes of grid. |
Definition at line 79 of file time_frequency_grids.F.
| subroutine, public time_frequency_grids::build_clenshaw_grid | ( | integer, intent(in) | num_points, |
| type(time_frequency_grid_type), intent(out) | grid ) |
Build a Clenshaw-Curtis frequency grid.
| num_points | Number of integration points. |
| grid | Grid object to fill. |
Definition at line 120 of file time_frequency_grids.F.
| subroutine, public time_frequency_grids::build_minimax_time_frequency_grid | ( | integer, intent(in) | num_points, |
| real(kind=dp), intent(in) | energy_min, | ||
| real(kind=dp), intent(in) | energy_max, | ||
| real(kind=dp), intent(in) | regularization, | ||
| integer, intent(in) | num_points_per_magnitude, | ||
| type(time_frequency_grid_type), intent(out) | grid, | ||
| logical, intent(in) | build_frequency, | ||
| logical, intent(in) | build_time, | ||
| logical, intent(in) | build_transforms, | ||
| logical, intent(in) | build_sine, | ||
| real(kind=dp), intent(in) | time_scaling, | ||
| real(kind=dp), intent(in) | time_weight_scaling, | ||
| real(kind=dp), intent(out) | max_fit_error, | ||
| logical, intent(in) | print_warning, | ||
| integer, intent(in) | unit_nr, | ||
| logical, intent(in) | prefer_external_backend, | ||
| logical, intent(out), optional | used_external_backend, | ||
| real(kind=dp), intent(in), optional | rcond ) |
Build a minimax time/frequency grid through the common backend boundary.
| num_points | Number of minimax points. |
| energy_min | Lower end of the physical energy interval. |
| energy_max | Upper end of the physical energy interval. |
| regularization | Regularization used for the fitted transform weights. |
| num_points_per_magnitude | Number of fitting points per decade. |
| grid | Grid object to fill. |
| build_frequency | Whether to construct the frequency components. |
| build_time | Whether to construct the imaginary-time components. |
| build_transforms | Whether to construct the complete time/frequency transform matrices. |
| build_sine | Whether to construct the sine time-to-frequency matrix. |
| time_scaling | Scaling applied to the imaginary-time abscissas. |
| time_weight_scaling | Scaling applied to the imaginary-time weights. |
| max_fit_error | Maximum fitting error across all requested transforms. |
| print_warning | Whether the minimax coefficient routine prints warnings. |
| unit_nr | Output unit used by an external backend. |
| prefer_external_backend | Whether to try an available external backend first. |
| used_external_backend | Whether the external backend supplied the grid. |
| rcond | If present and > 0, relative SVD cutoff of the fitted transform weights, used instead of the regularization. |
Definition at line 169 of file time_frequency_grids.F.
| subroutine, public time_frequency_grids::test_least_square_ft | ( | integer, intent(in) | nr, |
| integer, intent(in) | iw ) |
test the singular value decomposition for the computation of integration weights for the Fourier transform between time and frequency grid in cubic-scaling RPA
| nR | ... |
| iw | ... |
Definition at line 472 of file time_frequency_grids.F.
| integer, parameter time_frequency_grids::cosine_time_to_frequency = 1 |
Definition at line 42 of file time_frequency_grids.F.
| integer, parameter, public time_frequency_grids::positive_time = 1 |
Definition at line 45 of file time_frequency_grids.F.
| integer, parameter, public time_frequency_grids::negative_time = 2 |
Definition at line 45 of file time_frequency_grids.F.