Skip to content

Commit

Permalink
[1D] Change the default max number of grid points to 1000.
Browse files Browse the repository at this point in the history
The previous default was 3000, which was very high for most domains.
  • Loading branch information
bryanwweber committed Nov 11, 2016
1 parent 0a363a1 commit 0b9a741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oneD/refine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 0b9a741

Please sign in to comment.