LALSimulation  5.4.0.1-fe68b98
LALSimNRSurrogateUtilities.h File Reference

Prototypes

static UNUSED void MultiModalWaveform_Init (MultiModalWaveform **wave, int LMax, int n_times)
 
static UNUSED void MultiModalWaveform_Destroy (MultiModalWaveform *wave)
 
static UNUSED void WignerDMatrices_Init (WignerDMatrices **matrices, int n_times, int LMax)
 
static UNUSED void WignerDMatrices_Destroy (WignerDMatrices *matrices)
 
static UNUSED int WignerDMatrix_Index (int ell, int m, int mp)
 
static UNUSED void WignerDMatrices_Compute (WignerDMatrices *matrices, gsl_vector **quat)
 
static UNUSED void RealPowers_Init (RealPowers **rp, int LMax, int n_times)
 
static UNUSED void RealPowers_Destroy (RealPowers *rp)
 
static UNUSED void RealPowers_Compute (RealPowers *rp, gsl_vector *x)
 
static UNUSED void ComplexPowers_Init (ComplexPowers **cp, int LMax, int n_times)
 
static UNUSED void ComplexPowers_Destroy (ComplexPowers *cp)
 
static UNUSED void ComplexPowers_Compute (ComplexPowers *cp, gsl_vector *x, gsl_vector *y)
 
static UNUSED double factorial (int n)
 
static UNUSED double factorial_ratio (int n, int k)
 
static UNUSED double binomial (int n, int k)
 
static UNUSED double wigner_coef (int ell, int mp, int m)
 
static UNUSED void complex_vector_mult (gsl_vector *x1, gsl_vector *y1, gsl_vector *x2, gsl_vector *y2, gsl_vector *tmp1, gsl_vector *tmp2)
 
static UNUSED void NRSur_ab4_dy (double *dy, double *k1, double *k2, double *k3, double *k4, double dt12, double dt23, double dt34, double dt45, int dim)
 
static UNUSED void TransformModesCoorbitalToInertial (MultiModalWaveform *h, MultiModalWaveform *h_coorb, gsl_vector **quat, gsl_vector *orbphase)
 Function to transform waveform modes from the coorbital frame to the inertial frame. More...
 
static UNUSED int quatInv (double *qInv, double *q)
 
static UNUSED int multiplyQuats (double *prod, double *q1, double *q2)
 
static UNUSED int quaternionTransformVector (double *new_vec, double *quat, double *vec)
 
static UNUSED int transformTimeDependentVector (gsl_vector **vec, gsl_vector **quat)
 
static UNUSED int get_dimless_omega (REAL8 *omegaMin_dimless, REAL8 *omegaRef_dimless, const REAL8 fMin, const REAL8 fRef, const REAL8 Mtot_sec)
 

Go to the source code of this file.

Data Structures

struct  MultiModalWaveform
 Structure for a multi-modal waveform. More...
 
struct  RealPowers
 Helper structure for computing WignerDMatrices, which require x(t)^n for many values of n. More...
 
struct  ComplexPowers
 Helper structure for computing WignerDMatrices, which require z(t)^n for many values of n. More...
 
struct  WignerDMatrices
 

Function Documentation

◆ MultiModalWaveform_Init()

static UNUSED void MultiModalWaveform_Init ( MultiModalWaveform **  wave,
int  LMax,
int  n_times 
)
static

◆ MultiModalWaveform_Destroy()

static UNUSED void MultiModalWaveform_Destroy ( MultiModalWaveform wave)
static

◆ WignerDMatrices_Init()

static UNUSED void WignerDMatrices_Init ( WignerDMatrices **  matrices,
int  n_times,
int  LMax 
)
static

◆ WignerDMatrices_Destroy()

static UNUSED void WignerDMatrices_Destroy ( WignerDMatrices matrices)
static

◆ WignerDMatrix_Index()

static UNUSED int WignerDMatrix_Index ( int  ell,
int  m,
int  mp 
)
static

◆ WignerDMatrices_Compute()

static UNUSED void WignerDMatrices_Compute ( WignerDMatrices matrices,
gsl_vector **  quat 
)
static

◆ RealPowers_Init()

static UNUSED void RealPowers_Init ( RealPowers **  rp,
int  LMax,
int  n_times 
)
static

◆ RealPowers_Destroy()

static UNUSED void RealPowers_Destroy ( RealPowers rp)
static

◆ RealPowers_Compute()

static UNUSED void RealPowers_Compute ( RealPowers rp,
gsl_vector *  x 
)
static

◆ ComplexPowers_Init()

static UNUSED void ComplexPowers_Init ( ComplexPowers **  cp,
int  LMax,
int  n_times 
)
static

◆ ComplexPowers_Destroy()

static UNUSED void ComplexPowers_Destroy ( ComplexPowers cp)
static

◆ ComplexPowers_Compute()

static UNUSED void ComplexPowers_Compute ( ComplexPowers cp,
gsl_vector *  x,
gsl_vector *  y 
)
static

◆ factorial()

static UNUSED double factorial ( int  n)
static

◆ factorial_ratio()

static UNUSED double factorial_ratio ( int  n,
int  k 
)
static

◆ binomial()

static UNUSED double binomial ( int  n,
int  k 
)
static

◆ wigner_coef()

static UNUSED double wigner_coef ( int  ell,
int  mp,
int  m 
)
static

◆ complex_vector_mult()

static UNUSED void complex_vector_mult ( gsl_vector *  x1,
gsl_vector *  y1,
gsl_vector *  x2,
gsl_vector *  y2,
gsl_vector *  tmp1,
gsl_vector *  tmp2 
)
static

◆ NRSur_ab4_dy()

static UNUSED void NRSur_ab4_dy ( double *  dy,
double *  k1,
double *  k2,
double *  k3,
double *  k4,
double  dt12,
double  dt23,
double  dt34,
double  dt45,
int  dim 
)
static

◆ TransformModesCoorbitalToInertial()

static UNUSED void TransformModesCoorbitalToInertial ( MultiModalWaveform h,
MultiModalWaveform h_coorb,
gsl_vector **  quat,
gsl_vector *  orbphase 
)
static

Function to transform waveform modes from the coorbital frame to the inertial frame.

First transforms to the coprecessing frame by rotating about the z-axis by the orbital phase, then rotates to the inertial frame using the coprecessing frame quaternions.

Parameters
hOutput. Dimensionless waveform modes. Should be initialized already.
h_coorbCoorbital frame waveform modes.
quatCoprecessing frame quaternions.
orbphaseOrbital phase.

◆ quatInv()

static UNUSED int quatInv ( double *  qInv,
double *  q 
)
static

◆ multiplyQuats()

static UNUSED int multiplyQuats ( double *  prod,
double *  q1,
double *  q2 
)
static

◆ quaternionTransformVector()

static UNUSED int quaternionTransformVector ( double *  new_vec,
double *  quat,
double *  vec 
)
static

◆ transformTimeDependentVector()

static UNUSED int transformTimeDependentVector ( gsl_vector **  vec,
gsl_vector **  quat 
)
static

◆ get_dimless_omega()

static UNUSED int get_dimless_omega ( REAL8 omegaMin_dimless,
REAL8 omegaRef_dimless,
const REAL8  fMin,
const REAL8  fRef,
const REAL8  Mtot_sec 
)
static