/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstdatetime.c | 41 GstDateTime *dt; in GST_START_TEST() local 47 dt = gst_date_time_new_now_local_time (); in GST_START_TEST() 53 assert_equals_int (gst_date_time_get_year (dt), 1900 + tm.tm_year); in GST_START_TEST() 54 assert_equals_int (gst_date_time_get_month (dt), 1 + tm.tm_mon); in GST_START_TEST() 55 assert_equals_int (gst_date_time_get_day (dt), tm.tm_mday); in GST_START_TEST() 56 assert_equals_int (gst_date_time_get_hour (dt), tm.tm_hour); in GST_START_TEST() 57 assert_equals_int (gst_date_time_get_minute (dt), tm.tm_min); in GST_START_TEST() 58 assert_almost_equals_int (gst_date_time_get_second (dt), tm.tm_sec); in GST_START_TEST() 59 gst_date_time_unref (dt); in GST_START_TEST() 66 GstDateTime *dt; in GST_START_TEST() local [all …]
|
/third_party/boost/boost/numeric/odeint/stepper/detail/ |
D | generic_rk_operations.hpp | 33 …e_sum( const boost::array<Fac,1> &a , Time dt ) : Operations::template scale_sum2< Fac , Time >( 1… in generic_rk_scale_sum() 43 generic_rk_scale_sum( const boost::array<Fac,2> &a , Time dt ) in generic_rk_scale_sum() 44 : Operations::template scale_sum3< Fac , Time >( 1.0 , a[0]*dt , a[1]*dt ) in generic_rk_scale_sum() 53 generic_rk_scale_sum( const boost::array<Fac,3> &a , Time dt ) in generic_rk_scale_sum() 54 … : Operations::template scale_sum4< Fac , Time >( 1.0 , a[0]*dt , a[1]*dt , a[2]*dt ) in generic_rk_scale_sum() 63 generic_rk_scale_sum( const boost::array<Fac,4> &a , Time dt ) in generic_rk_scale_sum() 64 … : Operations::template scale_sum5< Fac , Time >( 1.0 , a[0]*dt , a[1]*dt , a[2]*dt , a[3]*dt ) in generic_rk_scale_sum() 73 generic_rk_scale_sum( const boost::array<Fac,5> &a , Time dt ) in generic_rk_scale_sum() 74 …rations::template scale_sum6< Fac , Time >( 1.0 , a[0]*dt , a[1]*dt , a[2]*dt , a[3]*dt , a[4]*dt ) in generic_rk_scale_sum() 83 generic_rk_scale_sum( const boost::array<Fac,6> &a , Time dt ) in generic_rk_scale_sum() [all …]
|
D | adams_bashforth_call_algebra.hpp | 36 …StateIn &in , StateOut &out , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()() 39 …eps[0].m_v , typename Operations::template scale_sum2< value_type , Time >( 1.0 , dt * coef[0] ) ); in operator ()() 48 …StateIn &in , StateOut &out , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()() 52 … Operations::template scale_sum3< value_type , Time , Time >( 1.0 , dt * coef[0] , dt * coef[1] ) … in operator ()() 61 …StateIn &in , StateOut &out , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()() 65 …mplate scale_sum4< value_type , Time , Time , Time >( 1.0 , dt * coef[0] , dt * coef[1] , dt * coe… in operator ()() 74 …StateIn &in , StateOut &out , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()() 79 1.0 , dt * coef[0] , dt * coef[1] , dt * coef[2] , dt * coef[3] ) ); in operator ()() 88 …StateIn &in , StateOut &out , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()() 93 … 1.0 , dt * coef[0] , dt * coef[1] , dt * coef[2] , dt * coef[3] , dt * coef[4] ) ); in operator ()() [all …]
|
D | adams_moulton_call_algebra.hpp | 35 …, const DerivIn &dxdt , const StepStorage& /* steps */ , const Coefficients &coef , Time dt ) const in operator ()() 38 … in , dxdt , typename Operations::template scale_sum2< value_type , Time >( 1.0 , dt * coef[0] ) ); in operator ()() 47 … &out , const DerivIn &dxdt , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()() 51 … Operations::template scale_sum3< value_type , Time , Time >( 1.0 , dt * coef[0] , dt * coef[1] ) … in operator ()() 60 … &out , const DerivIn &dxdt , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()() 64 …ons::template scale_sum4< value_type , Time , Time >( 1.0 , dt * coef[0] , dt * coef[1] , dt * coe… in operator ()() 73 … &out , const DerivIn &dxdt , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()() 78 1.0 , dt * coef[0] , dt * coef[1] , dt * coef[2] , dt * coef[3] ) ); in operator ()() 87 … &out , const DerivIn &dxdt , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()() 92 … 1.0 , dt * coef[0] , dt * coef[1] , dt * coef[2] , dt * coef[3] , dt * coef[4] ) ); in operator ()() [all …]
|
/third_party/glib/glib/tests/ |
D | gdatetime.c | 38 #define ASSERT_DATE(dt,y,m,d) G_STMT_START { \ argument 39 g_assert_nonnull ((dt)); \ 40 g_assert_cmpint ((y), ==, g_date_time_get_year ((dt))); \ 41 g_assert_cmpint ((m), ==, g_date_time_get_month ((dt))); \ 42 g_assert_cmpint ((d), ==, g_date_time_get_day_of_month ((dt))); \ 44 #define ASSERT_TIME(dt,H,M,S,U) G_STMT_START { \ argument 45 g_assert_nonnull ((dt)); \ 46 g_assert_cmpint ((H), ==, g_date_time_get_hour ((dt))); \ 47 g_assert_cmpint ((M), ==, g_date_time_get_minute ((dt))); \ 48 g_assert_cmpint ((S), ==, g_date_time_get_second ((dt))); \ [all …]
|
/third_party/python/Doc/includes/ |
D | tzinfo_examples.py | 23 def fromutc(self, dt): argument 24 assert dt.tzinfo is self 25 stamp = (dt - datetime(1970, 1, 1, tzinfo=self)) // SECOND 30 return datetime(*args, microsecond=dt.microsecond, 33 def utcoffset(self, dt): argument 34 if self._isdst(dt): 39 def dst(self, dt): argument 40 if self._isdst(dt): 45 def tzname(self, dt): argument 46 return _time.tzname[self._isdst(dt)] [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_context.h | 219 struct blitter_context *blitter dt; member 220 void *clear_rs_state[2] dt; 223 struct slab_child_pool transfer_pool dt; member 226 struct fd_autotune autotune dt; member 233 struct slab_mempool sample_pool dt; member 234 struct slab_mempool sample_period_pool dt; member 241 struct list_head hw_active_queries dt; member 248 struct list_head acc_active_queries dt; member 256 bool update_active_queries dt; member 261 bool active_queries dt; member [all …]
|
/third_party/boost/boost/preprocessor/repetition/ |
D | repeat_from_to.hpp | 36 …OOST_PP_REPEAT_FROM_TO_1(f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_1(BOOST_PP_AUTO_REC(BOOST_PP_WHILE… argument 37 …OOST_PP_REPEAT_FROM_TO_2(f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_2(BOOST_PP_AUTO_REC(BOOST_PP_WHILE… argument 38 …OOST_PP_REPEAT_FROM_TO_3(f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_3(BOOST_PP_AUTO_REC(BOOST_PP_WHILE… argument 39 # define BOOST_PP_REPEAT_FROM_TO_4(f, l, m, dt) BOOST_PP_ERROR(0x0003) argument 54 …_REPEAT_FROM_TO_D_1(d, f, l, m, dt) BOOST_PP_REPEAT_1(BOOST_PP_SUB_D(d, l, f), BOOST_PP_REPEAT_FRO… argument 55 …_REPEAT_FROM_TO_D_2(d, f, l, m, dt) BOOST_PP_REPEAT_2(BOOST_PP_SUB_D(d, l, f), BOOST_PP_REPEAT_FRO… argument 56 …_REPEAT_FROM_TO_D_3(d, f, l, m, dt) BOOST_PP_REPEAT_3(BOOST_PP_SUB_D(d, l, f), BOOST_PP_REPEAT_FRO… argument 58 # define BOOST_PP_REPEAT_FROM_TO_D_1(d, f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_1_I(d, f, l, m, d… argument 59 # define BOOST_PP_REPEAT_FROM_TO_D_2(d, f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_2_I(d, f, l, m, d… argument 60 # define BOOST_PP_REPEAT_FROM_TO_D_3(d, f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_3_I(d, f, l, m, d… argument [all …]
|
/third_party/boost/libs/numeric/odeint/examples/ |
D | stepper_details.cpp | 86 double t( 0.0 ) , dt( 0.1 ); in main() local 90 rk.do_step( sys1 , inout , t , dt ); // In-place transformation of inout in main() 91 rk.do_step( sys2 , inout , t , dt ); // call with different system: Ok in main() 92 rk.do_step( sys1 , in , t , out , dt ); // Out-of-place transformation in main() 93 rk.do_step( sys1 , inout , dxdtin , t , dt ); // In-place tranformation of inout in main() 94 rk.do_step( sys1 , in , dxdtin , t , out , dt ); // Out-of-place transformation in main() 102 double t( 0.0 ) , dt( 0.1 ); in main() local 106 rk.do_step( sys1 , in , t , out , dt ); in main() 107 rk.do_step( sys2 , in , t , out , dt ); // DONT do this, sys1 is assumed in main() 109 rk.do_step( sys2 , in2 , t , out , dt ); in main() [all …]
|
/third_party/boost/boost/locale/ |
D | date_time.hpp | 988 inline int era(date_time const &dt) { return dt.get(era()); } in era() argument 992 inline int year(date_time const &dt) { return dt.get(year()); } in year() argument 996 inline int extended_year(date_time const &dt) { return dt.get(extended_year()); } in extended_year() argument 1000 inline int month(date_time const &dt) { return dt.get(month()); } in month() argument 1004 inline int day(date_time const &dt) { return dt.get(day()); } in day() argument 1008 inline int day_of_year(date_time const &dt) { return dt.get(day_of_year()); } in day_of_year() argument 1017 inline int day_of_week(date_time const &dt) { return dt.get(day_of_week()); } in day_of_week() argument 1022 … inline int day_of_week_in_month(date_time const &dt) { return dt.get(day_of_week_in_month()); } in day_of_week_in_month() argument 1026 … inline int day_of_week_local(date_time const &dt) { return dt.get(day_of_week_local()); } in day_of_week_local() argument 1030 inline int hour(date_time const &dt) { return dt.get(hour()); } in hour() argument [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkTime.cpp | 34 void SkTime::GetDateTime(DateTime* dt) { in GetDateTime() argument 35 if (dt) { in GetDateTime() 38 dt->fTimeZoneMinutes = 0; in GetDateTime() 39 dt->fYear = st.wYear; in GetDateTime() 40 dt->fMonth = SkToU8(st.wMonth); in GetDateTime() 41 dt->fDayOfWeek = SkToU8(st.wDayOfWeek); in GetDateTime() 42 dt->fDay = SkToU8(st.wDay); in GetDateTime() 43 dt->fHour = SkToU8(st.wHour); in GetDateTime() 44 dt->fMinute = SkToU8(st.wMinute); in GetDateTime() 45 dt->fSecond = SkToU8(st.wSecond); in GetDateTime() [all …]
|
/third_party/skia/src/core/ |
D | SkTime.cpp | 34 void SkTime::GetDateTime(DateTime* dt) { in GetDateTime() argument 35 if (dt) { in GetDateTime() 38 dt->fTimeZoneMinutes = 0; in GetDateTime() 39 dt->fYear = st.wYear; in GetDateTime() 40 dt->fMonth = SkToU8(st.wMonth); in GetDateTime() 41 dt->fDayOfWeek = SkToU8(st.wDayOfWeek); in GetDateTime() 42 dt->fDay = SkToU8(st.wDay); in GetDateTime() 43 dt->fHour = SkToU8(st.wHour); in GetDateTime() 44 dt->fMinute = SkToU8(st.wMinute); in GetDateTime() 45 dt->fSecond = SkToU8(st.wSecond); in GetDateTime() [all …]
|
/third_party/boost/libs/numeric/odeint/test/ |
D | fusion_algebra.cpp | 60 const time_type dt = 0.1 * si::second; variable 107 default_operations::scale_sum1< time_type >( dt ) ); in BOOST_AUTO_TEST_CASE() 116 default_operations::scale_sum2< value_type , time_type >( 1.0 , dt ) ); in BOOST_AUTO_TEST_CASE() 125 … default_operations::scale_sum3< value_type , time_type , time_type >( 1.0 , dt , dt ) ); in BOOST_AUTO_TEST_CASE() 134 …t_operations::scale_sum4< value_type , time_type , time_type , time_type >( 1.0 , dt , dt , dt ) ); in BOOST_AUTO_TEST_CASE() 143 …le_sum5< value_type , time_type , time_type , time_type , time_type >( 1.0 , dt , dt , dt , dt ) ); in BOOST_AUTO_TEST_CASE() 152 …pe , time_type , time_type , time_type , time_type , time_type >( 1.0 , dt , dt , dt , dt , dt ) ); in BOOST_AUTO_TEST_CASE() 161 …time_type , time_type , time_type , time_type , time_type >( 1.0 , dt , dt , dt , dt , dt , dt ) ); in BOOST_AUTO_TEST_CASE() 171 …, time_type , time_type , time_type >( 1.0 , dt , dt , dt , dt , dt , dt , dt , dt , dt , dt , dt … in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/boost/numeric/odeint/stepper/ |
D | runge_kutta_dopri5.hpp | 93 StateOut &out , DerivOut &dxdt_out , time_type dt ) in do_step_impl() argument 132 … typename operations_type::template scale_sum2< value_type , time_type >( 1.0 , dt*b21 ) ); in do_step_impl() 134 sys( m_x_tmp.m_v , m_k2.m_v , t + dt*a2 ); in do_step_impl() 137 …erations_type::template scale_sum3< value_type , time_type , time_type >( 1.0 , dt*b31 , dt*b32 )); in do_step_impl() 139 sys( m_x_tmp.m_v , m_k3.m_v , t + dt*a3 ); in do_step_impl() 142 …te scale_sum4< value_type , time_type , time_type , time_type >( 1.0 , dt*b41 , dt*b42 , dt*b43 )); in do_step_impl() 144 sys( m_x_tmp.m_v, m_k4.m_v , t + dt*a4 ); in do_step_impl() 146 …type , time_type , time_type , time_type , time_type >( 1.0 , dt*b51 , dt*b52 , dt*b53 , dt*b54 )); in do_step_impl() 148 sys( m_x_tmp.m_v , m_k5.m_v , t + dt*a5 ); in do_step_impl() 150 …, time_type , time_type , time_type , time_type >( 1.0 , dt*b61 , dt*b62 , dt*b63 , dt*b64 , dt*b6… in do_step_impl() [all …]
|
D | controlled_runge_kutta.hpp | 74 value_type error( const State &x_old , const Deriv &dxdt_old , Err &x_err , Time dt ) const in error() 76 return error( algebra_type() , x_old , dxdt_old , x_err , dt ); in error() 80 …( algebra_type &algebra , const State &x_old , const Deriv &dxdt_old , Err &x_err , Time dt ) const in error() 85 … rel_error< value_type >( m_eps_abs , m_eps_rel , m_a_x , m_a_dxdt * abs(get_unit_value( dt )) ) ); in error() 114 time_type decrease_step(time_type dt, const value_type error, const int error_order) const in decrease_step() argument 121 dt *= max in decrease_step() 128 dt = detail::min_abs(dt, m_max_dt); in decrease_step() 129 return dt; in decrease_step() 132 time_type increase_step(time_type dt, value_type error, const int stepper_order) const in increase_step() argument 148 dt *= static_cast<value_type>(9)/static_cast<value_type>(10) * in increase_step() [all …]
|
D | runge_kutta_cash_karp54_classic.hpp | 93 … const StateIn &in , const DerivIn &dxdt , time_type t , StateOut &out , time_type dt , Err &xerr ) in do_step_impl() argument 106 do_step_impl( system , in , dxdt , t , out , dt ); in do_step_impl() 110 …_type , time_type , time_type , time_type , time_type >( dt*dc1 , dt*dc3 , dt*dc4 , dt*dc5 , dt*dc… in do_step_impl() 117 …tem system , const StateIn &in , const DerivIn &dxdt , time_type t , StateOut &out , time_type dt ) in do_step_impl() argument 152 … typename operations_type::template scale_sum2< value_type , time_type >( 1.0 , dt*b21 ) ); in do_step_impl() 154 sys( m_x_tmp.m_v , m_k2.m_v , t + dt*a2 ); in do_step_impl() 157 …erations_type::template scale_sum3< value_type , time_type , time_type >( 1.0 , dt*b31 , dt*b32 )); in do_step_impl() 159 sys( m_x_tmp.m_v , m_k3.m_v , t + dt*a3 ); in do_step_impl() 162 …te scale_sum4< value_type , time_type , time_type , time_type >( 1.0 , dt*b41 , dt*b42 , dt*b43 )); in do_step_impl() 164 sys( m_x_tmp.m_v, m_k4.m_v , t + dt*a4 ); in do_step_impl() [all …]
|
D | adams_bashforth_moulton.hpp | 100 void do_step( System system , StateInOut &x , time_type t , time_type dt ) in do_step() argument 102 do_step_impl1( system , x , t , dt ); in do_step() 109 void do_step( System system , const StateInOut &x , time_type t , time_type dt ) in do_step() argument 111 do_step_impl1( system , x , t , dt ); in do_step() 115 …oid do_step( System system , const StateIn &in , time_type t , const StateOut &out , time_type dt ) in do_step() argument 117 do_step_impl2( system , in , t , out , dt ); in do_step() 124 void do_step( System system , const StateIn &in , time_type t , StateOut &out , time_type dt ) in do_step() argument 126 do_step_impl2( system , in ,t , out , dt ); in do_step() 140 …lize( ExplicitStepper explicit_stepper , System system , StateIn &x , time_type &t , time_type dt ) in initialize() argument 142 m_adams_bashforth.initialize( explicit_stepper , system , x , t , dt ); in initialize() [all …]
|
D | adaptive_adams_bashforth_moulton.hpp | 87 void do_step(System system, state_type &inOut, time_type t, time_type dt ) in do_step() argument 91 do_step(system, inOut, t, m_xnew.m_v, dt, m_xerr.m_v); in do_step() 96 void do_step(System system, const state_type &in, time_type t, state_type &out, time_type dt ) in do_step() argument 98 do_step(system, in, t, out, dt, m_xerr.m_v); in do_step() 102 void do_step(System system, state_type &inOut, time_type t, time_type dt, state_type &xerr) in do_step() argument 106 do_step(system, inOut, t, m_xnew.m_v, dt, xerr); in do_step() 111 …void do_step(System system, const state_type &in, time_type t, state_type &out, time_type dt , sta… in do_step() argument 113 do_step_impl(system, in, t, out, dt, xerr); in do_step() 115 system(out, m_dxdt.m_v, t+dt); in do_step() 126 …d initialize(ExplicitStepper stepper, System system, state_type &inOut, time_type &t, time_type dt) in initialize() argument [all …]
|
/third_party/boost/libs/numeric/odeint/test/numeric/ |
D | runge_kutta.cpp | 83 double dt = 0.5; in operator ()() local 84 stepper.do_step( osc() , x0 , t , x1 , dt ); in operator ()() 85 const double f = 2.0 * std::abs( sin(dt) - x1[0] ) / std::pow( dt , o ); // upper bound in operator ()() 90 while( f*std::pow( dt , o ) > 1E-16 ) in operator ()() 95 stepper.do_step( osc() , x0 , t , x1 , dt ); in operator ()() 96 std::cout << "Testing dt=" << dt << std::endl; in operator ()() 97 BOOST_CHECK_LT( std::abs( sin(dt) - x1[0] ) , f*std::pow( dt , o ) ); in operator ()() 98 dt *= 0.5; in operator ()() 117 double dt = 0.5; in operator ()() local 118 stepper.do_step( osc() , x0 , t , x1 , dt , x_err ); in operator ()() [all …]
|
D | adams_bashforth.cpp | 63 double dt = 0.2; in operator ()() local 65 stepper.initialize( osc() , x1 , t , dt ); in operator ()() 71 stepper.do_step( osc() , x1 , t , dt ); in operator ()() 72 t += dt; in operator ()() 75 stepper.do_step( osc() , x1 , t , dt ); in operator ()() 77 … const double f = 2.0 * std::abs( A*sin(t+dt+phi) - x1[0] ) / std::pow( dt , o ); // upper bound in operator ()() 84 while( f*std::pow( dt , o ) > 1E-16 ) in operator ()() 88 stepper.initialize( osc() , x1 , t , dt ); in operator ()() 92 stepper.do_step( osc() , x1 , t , dt ); in operator ()() 94 … std::cout << "Testing dt=" << dt << " , " << std::abs( A*sin(t+dt+phi) - x1[0] ) << std::endl; in operator ()() [all …]
|
/third_party/musl/src/math/ |
D | cbrtl.c | 33 double_t dr, dt, dx; in cbrtl() local 84 dt = ft; in cbrtl() 85 dr = dt * dt * dt; in cbrtl() 86 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl() 89 dr = dt * dt * dt; in cbrtl() 90 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl() 98 t = dt + (0x1.0p32L + 0x1.0p-31L) - 0x1.0p32; in cbrtl() 108 t = dt + 0x2.0p-46 + 0x1.0p60L - 0x1.0p60; in cbrtl()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
D | cbrtl.c | 33 double_t dr, dt, dx; in cbrtl() local 84 dt = ft; in cbrtl() 85 dr = dt * dt * dt; in cbrtl() 86 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl() 89 dr = dt * dt * dt; in cbrtl() 90 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl() 98 t = dt + (0x1.0p32L + 0x1.0p-31L) - 0x1.0p32; in cbrtl() 108 t = dt + 0x2.0p-46 + 0x1.0p60L - 0x1.0p60; in cbrtl()
|
/third_party/boost/boost/numeric/odeint/integrate/detail/ |
D | integrate_const.hpp | 37 Time &start_time , Time end_time , Time &dt , 45 Time start_time , Time end_time , Time dt , in integrate_const() argument 56 while( less_eq_with_sign( static_cast<Time>(time+dt) , end_time , dt ) ) in integrate_const() 59 st.do_step( system , start_state , time , dt ); in integrate_const() 63 time = start_time + static_cast< typename unit_value_type<Time>::type >(step) * dt; in integrate_const() 75 Time start_time , Time end_time , Time dt , in integrate_const() argument 82 const Time time_step = dt; in integrate_const() 86 while( less_eq_with_sign( static_cast<Time>(time+time_step) , end_time , dt ) ) in integrate_const() 91 static_cast<Time>(time + time_step), dt, in integrate_const() 107 Time start_time , Time end_time , Time dt , in integrate_const() argument [all …]
|
/third_party/boost/boost/numeric/odeint/stepper/base/ |
D | explicit_error_stepper_base.hpp | 123 void do_step( System system , StateInOut &x , time_type t , time_type dt ) in do_step() argument 125 do_step_v1( system , x , t , dt ); in do_step() 132 void do_step( System system , const StateInOut &x , time_type t , time_type dt ) in do_step() argument 134 do_step_v1( system , x , t , dt ); in do_step() 148 do_step( System system , StateInOut &x , const DerivIn &dxdt , time_type t , time_type dt ) in do_step() argument 150 this->stepper().do_step_impl( system , x , dxdt , t , x , dt ); in do_step() 163 time_type t, time_type dt ) in do_step_dxdt_impl() argument 165 this->stepper().do_step_impl( system , x , dxdt , t , x , dt ); in do_step_dxdt_impl() 179 do_step( System system , const StateIn &in , time_type t , StateOut &out , time_type dt ) in do_step() argument 184 this->stepper().do_step_impl( system , in , m_dxdt.m_v , t , out , dt ); in do_step() [all …]
|
/third_party/boost/libs/numeric/odeint/doc/ |
D | controlled_stepper_table.qbk | 20 …['val > 1 : dt[subl new] = dt[subl current] max( 0.9 pow( val , -1 / ( O[subl E] - 1 ) ) , 0.2 )] 22 ['val < 0.5 : dt[subl new] = dt[subl current] min( 0.9 pow( val , -1 / O[subl S] ) , 5 )] 24 ['else : dt[subl new] = dt[subl current]] 34 …['fac2 = max( 1 / 6 , min( 5 , dt[subl old] / dt[subl current] pow( val[super 2] / val[subl old] ,… 36 ['val > 1 : dt[subl new] = dt[subl current] / fac ] 38 ['val < 1 : dt[subl new] = dt[subl current] / max( fac , fac2 ) ] 41 [ [bulirsch_stoer] [['tol=1/2]] [-] [['dt[subl new] = dt[subl old][super 1/a]]] ] 48 value_type fac_pred = ( m_dt_old / dt ) * pow( err * err / m_err_old , 0.25 ) / safe; 51 dt_new = dt / fac;
|