We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b71567 commit 2bc9505Copy full SHA for 2bc9505
src/AMRWind.cpp
@@ -95,8 +95,7 @@ double AMRWind::get_timestep_size() { return m_incflo.time().delta_t(); }
95
96
void AMRWind::set_timestep_size(const double dt)
97
{
98
- double& dt_ref = m_incflo.sim().time().delta_t();
99
- dt_ref = dt;
+ m_incflo.sim().time().delta_t() = dt;
100
}
101
102
void AMRWind::advance_timestep(size_t inonlin) { m_incflo.do_advance(inonlin); }
0 commit comments