00001 00002 00003 00004 00005 // 00006 00007 //-------------------------------------------------------------------------- 00008 //-------------------------------------------------------------------------- 00009 // 00010 // libMoM Library - a library for stochastic simulations in engineering. 00011 // 00012 // Copyright (C) 2010 Rochan R. Upadhyay 00013 // 00014 // This library is free software; you can redistribute it and/or 00015 // modify it under the terms of the Version 2.1 GNU Lesser General 00016 // Public License as published by the Free Software Foundation. 00017 // 00018 // This library is distributed in the hope that it will be useful, 00019 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00021 // Lesser General Public License for more details. 00022 // 00023 // You should have received a copy of the GNU Lesser General Public 00024 // License along with this library; if not, write to the Free Software 00025 // Foundation, Inc. 51 Franklin Street, Fifth Floor, 00026 // Boston, MA 02110-1301 USA 00027 // 00028 //-------------------------------------------------------------------------- 00029 00030 #ifndef _USER_DEFINED_FUNCTIONS_H 00031 #define _USER_DEFINED_FUNCTIONS_H 00032 00033 #include <stdio.h> 00034 #include <stdlib.h> 00035 #include <math.h> 00036 #include "inputs.h" 00037 00039 // 00053 // 00054 00055 void user_source(size_t dimension, size_t num_points, double y[], double f[], double growth[]); 00056 00058 // 00069 // 00070 00071 void user_post_process(double time, size_t dimension, size_t num_points, double y[]); 00072 00073 #endif // USER_DEFINED_FUNCTIONS_H