Code for various cubature rules that can be used for numerical integration. More...
#include <stdexcept>#include "cubature_rules.h"Defines | |
| #define | MACRO_3VECT(v, x, y, z) v[0]=x; v[1]=y; v[2]=z; |
Functions | |
| int | use_cubature_rule (int maxlen, real(*coor)[3], real *weight, BoxStruct *box, int ruleNumber) |
Code for various cubature rules that can be used for numerical integration.
| #define MACRO_3VECT | ( | v, | |||
| x, | |||||
| y, | |||||
| z | ) | v[0]=x; v[1]=y; v[2]=z; |
Referenced by use_cubature_rule().
| int use_cubature_rule | ( | int | maxlen, | |
| real(*) | coor[3], | |||
| real * | weight, | |||
| BoxStruct * | box, | |||
| int | ruleNumber | |||
| ) |
References MACRO_3VECT, BoxStruct_::max, BoxStruct_::min, and NO_OF_DIMENSIONS.
Referenced by compute_grid_for_box().
1.6.1