Class for operations with quadrature points and weights. More...
#include <src/core/quadpts.h>
Public Member Functions | |
quadpts () | |
Class constructor with unspecified size. | |
quadpts (size_t a) | |
Class constructor with specified size. | |
moments | getmoments (size_t a, size_t b) const |
Function that computes the moments using the quadrature points and weights. | |
moments | get_fixed_number_moments_1D (size_t num_moments, size_t num_points) const |
Function that computes the specified number of moments using the quadrature points and weights. | |
moments | get_user_defined_moments_GLD_1D (size_t dimension, size_t num_points) const |
Function that retrieves the user defined moments to use in GLD reconstruction. | |
moments | get_user_defined_moments_1D (size_t dimension, size_t num_points, size_t number) const |
matrix | get_non_singular_Jacobian (size_t a, size_t b) const |
Function that computes the non-singular Jacobian as determined from chosen moment sequence. | |
vector | get_source (size_t dimension, size_t num_points) const |
Function that computes the source terms for the evolution equation of quadrature points / weights. | |
void | solve (size_t dimension, size_t num_points, double dt, long int num_steps, int print_interval) |
void | solve_with_gsl (size_t dimension, size_t num_points, double dt, long int num_steps, int print_interval) |
The type f ode solver can be changed in the gsl_ode_solver class. | |
void | post_process_quadpts (size_t dimension, size_t num_points, double time) const |
Function that post processes the quadpts solution to get desired quantities of interest. | |
matrix | get_cdf_empirical (size_t dimension, size_t num_points, size_t num_intervals) const |
Function that returns an empirical cdf. | |
void | return_quadwts_quadpts_vector (size_t dimension, size_t num_points, double y[]) const |
Function that returns a vector of quadrature points and weights. | |
Private Attributes | |
vector | quads |
Declaration of quadrature points and weights object quads. |
Class for operations with quadrature points and weights.
Derived from the vector double class.