FLAG  1.0b1
Exact Fourier-Laguerre transform in spherical coordinates
Functions
flag_sampling.c File Reference
#include "flag.h"
#include <math.h>
#include <stdlib.h>
#include <complex.h>
#include <fftw3.h>
#include <ssht.h>
#include <assert.h>

Go to the source code of this file.

Functions

void allocate_ssht_sampling (double **thetas, double **phis, int L)
 
void flag_sampling_allocate (double **rs, double **thetas, double **phis, double **laguweights, int L, int N)
 
void ssht_sampling_mw (double *thetas, double *phis, int L)
 
void flag_sampling (double *rs, double *thetas, double *phis, double *laguweights, double tau, int L, int N)
 

Function Documentation

void allocate_ssht_sampling ( double **  thetas,
double **  phis,
int  L 
)

Definition at line 13 of file flag_sampling.c.

void flag_sampling ( double *  rs,
double *  thetas,
double *  phis,
double *  laguweights,
double  tau,
int  L,
int  N 
)

Compute FLAG sampling.

Parameters
[out]rsRadial coordinates.
[out]thetasTheta angular coordinates.
[out]phisPhi angular coordinates.
[out]laguweightsLaguerre radial weights for FLAG transform.
[in]RRadial boundary / limit.
[in]LAngular harmonic band-limit.
[in]NRadial harmonic band-limit.
Return values
none

Definition at line 69 of file flag_sampling.c.

void flag_sampling_allocate ( double **  rs,
double **  thetas,
double **  phis,
double **  laguweights,
int  L,
int  N 
)

Allocate FLAG sampling.

Parameters
[out]rsRadial coordinates.
[out]thetasTheta angular coordinates.
[out]phisPhi angular coordinates.
[out]laguweightsLaguerre radial weights for FLAG transform.
[in]RRadial boundary / limit.
[in]LAngular harmonic band-limit.
[in]NRadial harmonic band-limit.
Return values
none

Definition at line 48 of file flag_sampling.c.

void ssht_sampling_mw ( double *  thetas,
double *  phis,
int  L 
)

Definition at line 56 of file flag_sampling.c.