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) |
This file contains preparatory stuff for computing multipole moments and related things.
static void get_l_m_from_index | ( | int | index, | |
int * | result_l, | |||
int * | result_m | |||
) | [static] |
Referenced by MultipolePrepManager::init().
static ergo_real get_lm_factor_slow | ( | int | l, | |
int | m | |||
) | [static] |
References slow_factorial(), and template_blas_sqrt().
Referenced by MultipolePrepManager::init().
static ergo_real slow_factorial | ( | int | n | ) | [static] |
Referenced by get_lm_factor_slow().