Functions declared in moments.h. More...
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "moments.h"
Classes | |
struct | momparams |
Struct containing parameters to be fed into function that computes moments. More... | |
Defines | |
#define | PI 3.141592653589 |
Functions | |
void | user_source (size_t dimension, size_t num_points, double y[], double f[], double growth[]) |
External function to compute user defined source terms. | |
void | user_post_process (double time, size_t dimension, size_t num_points, double y[]) |
External function to compute user defined post processor routines. | |
int | mom_eval_f (const gsl_vector *x, void *params, gsl_vector *f) |
Function that evaluates the moments from quadrature points and weights. | |
int | mom_eval_df (const gsl_vector *x, void *params, gsl_matrix *J) |
Function that evaluates the gradient of function in Newton's method. | |
int | mom_eval_fdf (const gsl_vector *x, void *params, gsl_vector *f, gsl_matrix *J) |
Function that evaluates the function and its gradient in Newton's method. |
Functions declared in moments.h.