Changeset 778


Ignore:
Timestamp:
11/16/18 13:44:49 (5 years ago)
Author:
dubos
Message:

devel/Python : add Euler time step for debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/Python/dynamico/time_step.py

    r747 r778  
    153153    return SIRK(precision, bwd_fast_slow,dt,4,bjl,bjl) 
    154154 
     155def RK1(bwd_fast_slow, dt, precision=None): 
     156    """ 4-stage 4th-order RK """  
     157    bjl = np.array([[0.],[1.]]) 
     158    return SIRK(precision, bwd_fast_slow,dt,1,bjl,bjl) 
     159 
    155160######### Simplified explicit RK schemes (2nd-order) ######## 
    156161 
Note: See TracChangeset for help on using the changeset viewer.