00001 /* 00002 Last changed Time-stamp: <2005-10-27 12:46:37 raim> 00003 $Id: modelSimplify.h,v 1.6 2005/10/27 12:36:13 raimc Exp $ 00004 */ 00005 /* 00006 * 00007 * This library is free software; you can redistribute it and/or modify it 00008 * under the terms of the GNU Lesser General Public License as published 00009 * by the Free Software Foundation; either version 2.1 of the License, or 00010 * any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, but 00013 * WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF 00014 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. The software and 00015 * documentation provided hereunder is on an "as is" basis, and the 00016 * authors have no obligations to provide maintenance, support, 00017 * updates, enhancements or modifications. In no event shall the 00018 * authors be liable to any party for direct, indirect, special, 00019 * incidental or consequential damages, including lost profits, arising 00020 * out of the use of this software and its documentation, even if the 00021 * authors have been advised of the possibility of such damage. See 00022 * the GNU Lesser General Public License for more details. 00023 * 00024 * You should have received a copy of the GNU Lesser General Public License 00025 * along with this library; if not, write to the Free Software Foundation, 00026 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 00027 * 00028 * The original code contained here was initially developed by: 00029 * 00030 * Rainer Machne 00031 * 00032 * Contributor(s): 00033 * 00034 */ 00035 00036 #ifndef _MODEL_H_ 00037 #define _MODEL_H_ 00038 00039 #include "sbmlsolver/exportdefs.h" 00040 00041 #ifdef __cplusplus 00042 extern "C" { 00043 #endif 00044 00045 SBML_ODESOLVER_API void AST_replaceNameByFormula(ASTNode_t *, const char *, const ASTNode_t *); 00046 SBML_ODESOLVER_API void AST_replaceNameByName(ASTNode_t *, const char *, const char *); 00047 SBML_ODESOLVER_API void AST_replaceNameByValue(ASTNode_t *, const char *, double); 00048 SBML_ODESOLVER_API void AST_replaceNameByParameters(ASTNode_t *, ListOf_t* ); 00049 SBML_ODESOLVER_API void AST_replaceFunctionDefinition(ASTNode_t *, const char *, const ASTNode_t *); 00050 SBML_ODESOLVER_API void AST_replaceConstants(Model_t *, ASTNode_t *); 00051 00052 00053 #ifdef __cplusplus 00054 } 00055 #endif 00056 00057 #endif 00058 00059 /* End of file */