Astrodynamics Functions
Loading...
Searching...
No Matches
Flmp.hpp
Go to the documentation of this file.
1#ifndef _FLMP_HPP_
2#define _FLMP_HPP_
3
9#include <cmath>
10
11#include <Eigen/Dense>
12#include <fft>
13#include "Plm.hpp"
14
34class Flmp
35{
36 int l_idx(int l) { return (l * (l + 1) * (2 * l + 1)) / 6; }
37 double *_Flmp;
38 double *_dFlmp;
39 double I;
40 int l_max;
50 int lmp_idx(int l, int m, int p) const;
51
61 int lmk_idx(int l, int m, int k) const;
62
63public:
67 Flmp();
68
77 Flmp(int l_max, double I, bool compute_derivatives = false);
78
82 Flmp &operator=(const Flmp &other);
83
87 Flmp(const Flmp &other);
88
92 ~Flmp();
93
97 int get_l_max() const;
105 double get_Flmp(int l, int m, int p) const;
113 double get_Flmk(int l, int m, int k) const;
121 double get_dFlmp(int l, int m, int p) const;
129 double get_dFlmk(int l, int m, int k) const;
137 double get_Flmk_star(int l, int m, int k) const;
138};
139
140#endif //_FLMP_HPP_
Header file to define Associated Legendre Functions (ALFs) class.
Class that computes and stores the normalized inclination functions and its derivatives at a given in...
Definition Flmp.hpp:35
double get_Flmk(int l, int m, int k) const
Definition Flmp.cpp:243
double get_Flmp(int l, int m, int p) const
Definition Flmp.cpp:241
double get_dFlmk(int l, int m, int k) const
Definition Flmp.cpp:247
Flmp & operator=(const Flmp &other)
Definition Flmp.cpp:165
double get_Flmk_star(int l, int m, int k) const
Definition Flmp.cpp:249
Flmp()
Definition Flmp.cpp:16
int get_l_max() const
Definition Flmp.cpp:239
~Flmp()
Definition Flmp.cpp:232
double get_dFlmp(int l, int m, int p) const
Definition Flmp.cpp:245