Skip to content

Commit

Permalink
[1D] Increase default value for maximum timestep
Browse files Browse the repository at this point in the history
This accelerates convergence of the solver in some cases.
  • Loading branch information
speth committed Mar 27, 2016
1 parent 81074b2 commit 7ba6681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/oneD/OneDim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Cantera
{

OneDim::OneDim()
: m_tmin(1.0e-16), m_tmax(10.0), m_tfactor(0.5),
: m_tmin(1.0e-16), m_tmax(1e8), m_tfactor(0.5),
m_rdt(0.0), m_jac_ok(false),
m_bw(0), m_size(0),
m_init(false), m_pts(0), m_solve_time(0.0),
Expand All @@ -25,7 +25,7 @@ OneDim::OneDim()
}

OneDim::OneDim(vector<Domain1D*> domains) :
m_tmin(1.0e-16), m_tmax(10.0), m_tfactor(0.5),
m_tmin(1.0e-16), m_tmax(1e8), m_tfactor(0.5),
m_rdt(0.0), m_jac_ok(false),
m_bw(0), m_size(0),
m_init(false), m_solve_time(0.0),
Expand Down

0 comments on commit 7ba6681

Please sign in to comment.