[1D] Change the default max number of grid points to 1000.

The previous default was 3000, which was very high for most domains.
This commit is contained in:
Bryan W. Weber 2016-11-10 19:28:18 -05:00 committed by Bryan W. Weber
parent 0a363a108d
commit 0b9a741597

View file

@ -12,7 +12,7 @@ namespace Cantera
{
Refiner::Refiner(Domain1D& domain) :
m_ratio(10.0), m_slope(0.8), m_curve(0.8), m_prune(-0.001),
m_min_range(0.01), m_domain(&domain), m_npmax(3000),
m_min_range(0.01), m_domain(&domain), m_npmax(1000),
m_gridmin(1e-10)
{
m_nv = m_domain->nComponents();