[cantera]: fixing two undefined functions to error out
This commit is contained in:
parent
32265923dd
commit
9736f86bbb
2 changed files with 31 additions and 1 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue