Functions | Variables

Fokker_Planck_1D_user_defined_functions.c File Reference

User defined interface for Fokker Planck example. More...

#include "user_defined_functions.h"
Include dependency graph for Fokker_Planck_1D_user_defined_functions.c:

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.

Detailed Description

User defined interface for Fokker Planck example.

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.

Author:
Rochan R. Upadhyay
Date:
10/12/2010
All Classes Files Functions Variables Typedefs Friends Defines