[1D] Increase default value for maximum timestep
This accelerates convergence of the solver in some cases.
This commit is contained in:
parent
81074b2b4a
commit
7ba668109e
1 changed files with 2 additions and 2 deletions
|
|
@ -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),
|
||||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue