Lookup table for associated Legendre function for case where m=1. Also contains functionality to compute associated Legendre functions if a LUT is not used. More...
| Data Types | |
| type | bianchi2_lut | 
| Look-up-table that contains precomputed associated Legendre functions.  More... | |
| Public Member Functions | |
| type(bianchi2_lut) function, public | bianchi2_lut_init (lmax, Ntheta) | 
| Initalizes a lut using lmax and Ntheta.  More... | |
| subroutine, public | bianchi2_lut_write (lut, filename_LUT) | 
| Writes a lut in a binary file.  More... | |
| type(bianchi2_lut) function, public | bianchi2_lut_read (lmax, Ntheta, filename_LUT) | 
| Reads a lut from a file.  More... | |
| real(s2_dp) function, public | bianchi2_lut_access (lut, l, itheta) | 
| Gives the value in the lut corresponding to a given (l,itheta).  More... | |
| subroutine, public | bianchi2_lut_free (lut) | 
| Deallocate the Look_Up_Table.  More... | |
| real(s2_dp) function, public | bianchi2_lut_plgndr (l, m, x) | 
| Computes the associated Legendre function for l and m. Adapted from numerical recipes.  More... | |
Lookup table for associated Legendre function for case where m=1. Also contains functionality to compute associated Legendre functions if a LUT is not used.
Definition at line 15 of file bianchi2_lut_mod.f90.
| real(s2_dp) function, public bianchi2_lut_mod::bianchi2_lut_access | ( | type(bianchi2_lut), intent(in) | lut, | 
| integer, intent(in) | l, | ||
| integer, intent(in) | itheta | ||
| ) | 
Gives the value in the lut corresponding to a given (l,itheta).
| [in] | lut | Initialized bianchi2_lut object. | 
| [in] | l | |
| [in] | itheta | 
| plm1 | Value of the Lengendre functions contained in the lut. | 
Definition at line 196 of file bianchi2_lut_mod.f90.
Referenced by bianchi2_sky_mod::bianchi2_sky_comp_ix().
| subroutine, public bianchi2_lut_mod::bianchi2_lut_free | ( | type(bianchi2_lut), intent(inout) | lut | ) | 
Deallocate the Look_Up_Table.
| [in] | lut | Bianchi2_lut object to make free. | 
Definition at line 216 of file bianchi2_lut_mod.f90.
Referenced by bianchi2_sim().
| type(bianchi2_lut) function, public bianchi2_lut_mod::bianchi2_lut_init | ( | integer, intent(in) | lmax, | 
| integer, intent(in) | Ntheta | ||
| ) | 
Initalizes a lut using lmax and Ntheta.
| [in] | lmax | Maximal harmonic to consider. | 
| [in] | Ntheta | Number of points for theta. | 
| lut | Initialized bianchi2_lut object. | 
Definition at line 71 of file bianchi2_lut_mod.f90.
References bianchi2_lut_plgndr().
Referenced by bianchi2_lut_gen().
| real(s2_dp) function, public bianchi2_lut_mod::bianchi2_lut_plgndr | ( | integer | l, | 
| integer | m, | ||
| real(s2_dp) | x | ||
| ) | 
Computes the associated Legendre function for l and m. Adapted from numerical recipes.
| [in] | l | Legendre function l parameter. | 
| [in] | m | Legendre function m parameter. | 
| [in] | x | Point to evaluate specified Legendre funtion at. | 
Definition at line 243 of file bianchi2_lut_mod.f90.
Referenced by bianchi2_lut_init(), and bianchi2_sky_mod::bianchi2_sky_comp_ix().
| type(bianchi2_lut) function, public bianchi2_lut_mod::bianchi2_lut_read | ( | integer, intent(in) | lmax, | 
| integer, intent(in) | Ntheta, | ||
| character(len=s2_string_len) | filename_LUT | ||
| ) | 
Reads a lut from a file.
| [in] | lmax | Maximum spherical harmonic l to consider. | 
| [in] | Ntheta | Number of terms used to compute IA and IB. | 
| [in] | filename_LUT | Name of binary file containing the LUT. | 
| lut | bianchi2_lut object to get. | 
Definition at line 147 of file bianchi2_lut_mod.f90.
References bianchi2_error_mod::bianchi2_error().
Referenced by bianchi2_sim().
| subroutine, public bianchi2_lut_mod::bianchi2_lut_write | ( | type(bianchi2_lut), intent(in) | lut, | 
| character(len=s2_string_len), intent(in) | filename_LUT | ||
| ) | 
Writes a lut in a binary file.
| [in] | lut | Initialized bianchi2_lut object [in] filename_LUT Name of binary file containing the LUT. | 
Definition at line 108 of file bianchi2_lut_mod.f90.
Referenced by bianchi2_lut_gen().
 1.8.3.1
 1.8.3.1