#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sbml/SBMLTypes.h>
#include "sbmlsolver/odeConstruct.h"
#include "sbmlsolver/modelSimplify.h"
#include "sbmlsolver/processAST.h"
Include dependency graph for modelSimplify.c:
Functions | |
SBML_ODESOLVER_API void | AST_replaceNameByName (ASTNode_t *math, const char *name, const char *newname) |
Replaces all AST_NAME types with `name' appearing in the formula 'math' by the `newname'. | |
SBML_ODESOLVER_API void | AST_replaceNameByValue (ASTNode_t *math, const char *name, double x) |
Replaces all AST_NAME types with `name' appearing in the formula 'math' by the value 'x'. | |
SBML_ODESOLVER_API void | AST_replaceNameByParameters (ASTNode_t *math, ListOf_t *lp) |
Replaces all parameters appearing in the formula 'math' by their value defined in the passed parameter list 'lp'. | |
SBML_ODESOLVER_API void | AST_replaceNameByFormula (ASTNode_t *math, const char *name, const ASTNode_t *formula) |
Replaces an assigned variable 'name' in the passed mathematical expression math by the mathemtical expression in `formula'; can be used to replace assignment rules! | |
SBML_ODESOLVER_API void | AST_replaceFunctionDefinition (ASTNode_t *math, const char *name, const ASTNode_t *function) |
Replaces all user defined functions by the full expression of the function in the passed mathematical expression `math'. | |
SBML_ODESOLVER_API void | AST_replaceConstants (Model_t *m, ASTNode_t *math) |
Replace all constants of a model in an AST math. |