Package hedge :: Package timestep :: Package multirate_ab :: Module methods
[hide private]
[frames] | no frames]

Module methods

source code

Multirate-AB ODE solver.


Copyright: Copyright (C) 2009 Andreas Stock, Andreas Kloeckner

License: This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see U{http://www.gnu.org/licenses/}.

Classes [hide private]
  CO_FAST
  CO_SLOW
  HIST_F2F
  HIST_F2S
  HIST_S2F
  HIST_S2S
  IntegrateInTime
  HistoryUpdate
  StartSubstepLoop
  EndSubstepLoop
  MRABMethod
Functions [hide private]
 
_remove_last_yslow_evaluation_from_slowest_first(method) source code
 
_add_slowest_first_variants(methods) source code
Variables [hide private]
  HIST_NAMES = [HIST_F2F, HIST_S2F, HIST_F2S, HIST_S2S]
  substep_count = Variable('substep_count')
  n = Variable('substep_count')
  substep_index = Variable('substep_index')
  i = Variable('substep_index')
  methods = {'fastest_first_1a': MRABMethod(result_slow='y_s', r...
Variables Details [hide private]

methods

Value:
{'fastest_first_1a': MRABMethod(result_slow='y_s', result_fast='y_f', \
steps=[IntegrateInTime(result_name='y_s', end=Sum(Variable('substep_in\
dex'), 1), component=<class hedge.timestep.multirate_ab.methods.CO_SLO\
W at 0x95017dc>, start=0), IntegrateInTime(result_name='y_f', end=Sum(\
Variable('substep_index'), 1), component=<class hedge.timestep.multira\
te_ab.methods.CO_FAST at 0x95017ac>, start=Variable('substep_index')),\
 HistoryUpdate(slow_arg='y_s', fast_arg='y_f', which=<class hedge.time\
step.multirate_ab.methods.HIST_F2F at 0x950180c>), EndSubstepLoop(loop\
...