User defined interface for 1D Fokker Planck example solved using QMOM. More...
#include "user_defined_functions.h"
Functions | |
| void | user_source (size_t dimension, size_t num_points, double y[], double f[], double growth[]) |
| Function that returns the growth and source terms. | |
| void | user_post_process (double time, size_t dimension, size_t num_points, double y[]) |
| Function that post processes the moments to obtain final quantities of interest. | |
Variables | |
| double | std_noise |
| int | verbose_mode |
| Time interval in which to print solutions. | |
User defined interface for 1D Fokker Planck example solved using QMOM.
This is A C program that the user should provide to interface with libMoM libraries. A first example has already been provided. This example has a growth term that should be added as is and diffusion terms in internal space which are treated as source terms and for which moments have to be taken.
1.7.2