*** empty log message ***
This commit is contained in:
parent
d40fcc8af5
commit
e6e720bd00
4 changed files with 7 additions and 10 deletions
|
|
@ -89,9 +89,7 @@ void onedimmethods( int nlhs, mxArray *plhs[],
|
|||
for (k = 0; k < sz; k++) {
|
||||
ptrs[k] = int(dom_ids[k]);
|
||||
}
|
||||
writelog("calling sim1D_new\n");
|
||||
indx = sim1D_new(sz, ptrs);
|
||||
writelog("ret sim1D_new\n");
|
||||
delete[] ptrs;
|
||||
break;
|
||||
|
||||
|
|
|
|||
|
|
@ -120,10 +120,10 @@ namespace Cantera {
|
|||
for (n = 0; n < sz; n++) {
|
||||
step[n] = -step[n];
|
||||
}
|
||||
try {
|
||||
//try {
|
||||
jac.solve(sz, step, step);
|
||||
}
|
||||
catch (CanteraError) {
|
||||
//}
|
||||
//catch (CanteraError) {
|
||||
#undef DEBUG_STEP
|
||||
#ifdef DEBUG_STEP
|
||||
bool ok = false;
|
||||
|
|
@ -140,9 +140,8 @@ namespace Cantera {
|
|||
//if (!ok) throw "not ok";
|
||||
}
|
||||
#endif
|
||||
writelog("size = "+int2str(sz)+"\n");
|
||||
throw CanteraError("step","step error");
|
||||
}
|
||||
//throw CanteraError("step","step error");
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1065,7 +1065,7 @@ namespace Cantera {
|
|||
int nd = d.size();
|
||||
|
||||
vector_fp x;
|
||||
int n, np, j, ks;
|
||||
int n, np = 0, j, ks;
|
||||
string nm;
|
||||
bool readgrid = false, wrote_header = false;
|
||||
for (n = 0; n < nd; n++) {
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ namespace Cantera {
|
|||
|
||||
|
||||
|
||||
done:
|
||||
//done:
|
||||
//m_did_analysis = true;
|
||||
return m_loc.size();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue