#include <export.h>
Definition at line 241 of file export.h.
◆ PLegendre1D() [1/2]
| Output_Data::PLegendre1D::PLegendre1D |
( |
size_t |
Nl, |
|
|
size_t |
Nm, |
|
|
size_t |
Np, |
|
|
float |
pmin, |
|
|
float |
pmax, |
|
|
size_t |
Npx |
|
) |
| |
Definition at line 816 of file export.cpp.
References Algorithms::Legendre(), and Algorithms::MakeAxis().
825 sz = ((Nm+1)*(2*Nl-Nm+2))/2;
836 for (
size_t j(0); j < p.size(); ++j) {
837 float invp(1.0/p[j]);
838 for (
size_t i(0); i < px.size(); ++i) {
848 for (
size_t l(0); l < Nl+1; ++l){
849 for (
size_t m=0; m<((Nm<l)?Nm:l)+1; ++m){
851 k = ((l < Nm+1)?((l*(l+1))/2+m):(l*(Nm+1)-(Nm*(Nm+1))/2 + m));
853 (*plegendre)[k](i,j) = vL(l,m);
855 std::cout <<
"\n LP(" << l <<
"," << m <<
"," << k <<
") = " << vL(l,m);
valarray< T > Legendre(const T x, const size_t Nl)
vector< Array2D< float > > * plegendre
valarray< T > MakeAxis(const T min, const T max, const size_t N)
◆ PLegendre1D() [2/2]
| Output_Data::PLegendre1D::PLegendre1D |
( |
const PLegendre1D & |
other | ) |
|
Definition at line 868 of file export.cpp.
References dim().
871 plegendre =
new vector< Array2D<float> > ;
872 for (
size_t i(0); i < other.dim(); ++i) {
873 (*plegendre).push_back( other(i) );
vector< Array2D< float > > * plegendre
◆ ~PLegendre1D()
| Output_Data::PLegendre1D::~PLegendre1D |
( |
| ) |
|
Definition at line 878 of file export.cpp.
vector< Array2D< float > > * plegendre
◆ dim()
| size_t Output_Data::PLegendre1D::dim |
( |
| ) |
const |
|
inline |
◆ operator()() [1/2]
| Array2D<float>& Output_Data::PLegendre1D::operator() |
( |
size_t |
i | ) |
|
|
inline |
Definition at line 251 of file export.h.
vector< Array2D< float > > * plegendre
◆ operator()() [2/2]
| Array2D<float> Output_Data::PLegendre1D::operator() |
( |
size_t |
i | ) |
const |
|
inline |
Definition at line 252 of file export.h.
vector< Array2D< float > > * plegendre
◆ lmax
| size_t Output_Data::PLegendre1D::lmax |
|
private |
◆ plegendre
| vector< Array2D<float> >* Output_Data::PLegendre1D::plegendre |
|
private |
The documentation for this class was generated from the following files:
- /Users/archis/Dropbox/work/dev/oshun/oshun-OS/OSHUN/1d_cpp/source/export.h
- /Users/archis/Dropbox/work/dev/oshun/oshun-OS/OSHUN/1d_cpp/source/export.cpp