diff --git a/Cantera/src/numerics/Makefile.am b/Cantera/src/numerics/Makefile.am index 3fcf0ebe9..cef6366c2 100644 --- a/Cantera/src/numerics/Makefile.am +++ b/Cantera/src/numerics/Makefile.am @@ -1,7 +1,7 @@ h_sources = ArrayViewer.h DenseMatrix.h funcs.h ctlapack.h Func1.h \ FuncEval.h polyfit.h BandMatrix.h Integrator.h \ DAE_Solver.h ResidEval.h sort.h SquareMatrix.h \ - ResidJacEval.h NonlinearSolver.h CVodeInt.h + ResidJacEval.h NonlinearSolver.h cc_sources = DenseMatrix.cpp funcs.cpp Func1.cpp ODE_integrators.cpp \ BandMatrix.cpp DAE_solvers.cpp sort.cpp CVodeInt.cpp \ diff --git a/Cantera/src/numerics/NonlinearSolver.cpp b/Cantera/src/numerics/NonlinearSolver.cpp index caae05959..d439653aa 100644 --- a/Cantera/src/numerics/NonlinearSolver.cpp +++ b/Cantera/src/numerics/NonlinearSolver.cpp @@ -722,6 +722,36 @@ namespace Cantera { } } + + /** + * + * calc_ydot + * + * unlinked routine + * + */ + + void NonlinearSolver::calc_ydot(int a, double* b, double* c) + { + std::cout<< "Warning:: calling calc_ydot in nonlinear problem!" << std::endl; + exit(1); + } + + /** + * + * beuler_jac + * + * unlinked routine + * + */ + + void NonlinearSolver::beuler_jac(SquareMatrix & a,double * b,double c, double d, + double * e, double *f, int g) + { + std::cout<< "Warning:: calling beuler_jac in nonlinear problem!" << std::endl; + exit(1); + } + /** * * solve_nonlinear_problem():