*** empty log message ***

This commit is contained in:
Dave Goodwin 2003-06-08 14:51:29 +00:00
parent ffe47674ef
commit de7c965da8
3 changed files with 5 additions and 5 deletions

View file

@ -109,7 +109,7 @@ namespace Cantera {
*/
void Sim1D::restore(string fname, string id) {
ifstream s(fname.c_str());
char buf[100];
//char buf[100];
if (!s)
throw CanteraError("Sim1D::restore",
"could not open input file "+fname);
@ -351,7 +351,7 @@ namespace Cantera {
int gridstart = 0, gridsize;
for (n = 0; n < m_nd; n++) {
Domain1D& d = domain(n);
Refiner& r = d.refiner();
// Refiner& r = d.refiner();
gridsize = dsize[n]; // d.nPoints() + r.nNewPoints();
d.setupGrid(gridsize, znew.begin() + gridstart);
gridstart += gridsize;

View file

@ -352,7 +352,7 @@ namespace Cantera {
r[0] = x[0];
diag[0] = 0;
int nc, n;
int nc;
if (m_flow_right) {
nc = m_flow_right->nComponents();

View file

@ -123,7 +123,7 @@ namespace Cantera {
dmax = m_slope*(vmax - vmin) + m_thresh;
for (j = 0; j < n-1; j++) {
r = abs(v[j+1] - v[j])/dmax;
r = fabs(v[j+1] - v[j])/dmax;
if (r > 1.0) {
m_loc[j] = 1;
m_c[name] = 1;
@ -148,7 +148,7 @@ namespace Cantera {
// adjacent points.
dmax = m_curve*(smax - smin); // + 0.5*m_curve*(smax + smin);
for (j = 0; j < n-2; j++) {
r = abs(s[j+1] - s[j]) / (dmax + m_thresh/dz[j]);
r = fabs(s[j+1] - s[j]) / (dmax + m_thresh/dz[j]);
if (r > 1.0) {
m_c[name] = 1;
m_loc[j] = 1;