Changes between Version 21 and Version 22 of Piernik

Show
Ignore:
Timestamp:
03/10/13 20:04:59 (12 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Piernik

    v21 v22  
    218218 
    219219== Synchronizing delta timesteps == 
    220 Until now we silently omitted one important aspect of the PIERNIK simulaitons: the delta timestep is not constant and depends on the current state of both modules: MHD and MC. In the original code the minimum of the  dt,,mc,, and dt,,mhd,, values were always chosen. In order to do the same in MUSCLE variant of FORTRAN code, we must define two new conduits: one for sending dt,,mc,, from MC to MHD and second one for sending back the final dt. The conduits definition looks now as follows: 
     220Until now we silently omitted one important aspect of the PIERNIK simulaitons: the delta timestep is not constant and depends on the current state of both modules: MHD and MC. In the original code the minimum of the  dt,,mc,, and dt,,mhd,, values were always chosen. In order to do the same in the MUSCLE flavor, we must define two new conduits: one for sending dt,,mc,, from MC to MHD and second one for sending back the final dt. The conduits definition looks now as follows: 
    221221{{{ 
    222222cs.attach('mhd' => 'mc') {