ergo
multipole_prep.cc File Reference

This file contains preparatory stuff for computing multipole moments and related things. More...

#include <memory.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdexcept>
#include "multipole_prep.h"
#include "output.h"
#include "template_blas_common.h"

Functions

static ergo_real slow_factorial (int n)
 
static ergo_real get_lm_factor_slow (int l, int m)
 
static void get_l_m_from_index (int index, int *result_l, int *result_m)
 

Detailed Description

This file contains preparatory stuff for computing multipole moments and related things.

Author
: Elias Rudberg responsible

Function Documentation

◆ get_l_m_from_index()

static void get_l_m_from_index ( int  index,
int *  result_l,
int *  result_m 
)
static

◆ get_lm_factor_slow()

static ergo_real get_lm_factor_slow ( int  l,
int  m 
)
static

◆ slow_factorial()

static ergo_real slow_factorial ( int  n)
static

Referenced by get_lm_factor_slow().