Hex: GaussLegendreData Class Reference

| Hex 2.2 Hydrogen-electron collision solver

Static Public Member Functions
GaussLegendreData Class Reference

`#include <gauss.h>`

Inheritance diagram for GaussLegendreData:
[legend]

## Static Public Member Functions

static void | gauss_nodes_and_weights (int points, const Real *&vx, const Real *&vw)
| Retrieve Gauss-Legendre data. More...
static void | precompute_nodes_and_weights (int points)
| Precalculate nodes and weights so that the retrieval is fast and thread-safe. More...

## Member Function Documentation

## ◆ gauss_nodes_and_weights()

void GaussLegendreData::gauss_nodes_and_weights | ( | int | points,
|  | const Real *& | vx,
|  | const Real *& | vw
| ) |  |

static

Parameters

  points | Gauss-Legendre points half-count. If too low/high, the return value will contain the (used) nearest implemented value.
  vx | On return, the Gauss-Legendre nodes (nonnegative half of them).
  vw | On return, the corresponding Gauss-Legendre weights.

## ◆ precompute_nodes_and_weights()

void GaussLegendreData::precompute_nodes_and_weights | ( | int | points | ) |

static

Uses the GSL routine `gsl_integration_glfixed_table_alloc`.

The documentation for this class was generated from the following files:

- src/gauss.h
- src/gauss.cpp