Strategy python

From KratosWiki
Revision as of 08:15, 12 March 2008 by Kazem (Talk | contribs)
Jump to: navigation, search

functions in strategy_python are descibed here

Initialize

calls Initialize and InitializeElements of the Scheme

  • Initilize is intended to be called just once when the strategy is initialized
  • InitializeElements calls Initialize function of the elements

Solve

This function is called at every time step to solve the problem. the order of calls is as follow

  • First of all it checks if Initialize is called or no so just in the first call of Solve, scheme and elements are initialized and then corresponding flag turns out to True
  • initializations needed for every step is done by InitializeSolutionStep


InitializeSolutionStep

Personal tools
Categories