Ignore:
Timestamp:
03/07/18 18:43:51 (6 years ago)
Author:
dubos
Message:

devel/unstructured : towards vertical remapping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/Python/src/kernels_caldyn_hydro.jin

    r615 r685  
    77#define BALANCE(formula) {% call(thecell) balance() %} formula {% endcall %} 
    88{% macro balance() %} {% set formula=caller %} 
    9 SEQUENCE_EXT 
     9SEQUENCE_C1 
    1010  PROLOGUE(llm) 
    1111    pk(CELL) = ptop + .5*g*{{ formula('CELL') }} 
     
    2929#define GEOPOT(var) {% call geopot(var) %} 
    3030{% macro geopot(var) %} {% set formula=caller %} 
    31   SEQUENCE_EXT 
     31  SEQUENCE_C1 
    3232    BODY('1,llm') 
    3333      p_ik = pk(CELL) 
     
    4848    ! now pk contains the Lagrange multiplier (pressure) 
    4949    ! specific volume 1 = dphi/g/rhodz 
    50     SEQUENCE_EXT 
     50    SEQUENCE_C1 
    5151      BODY('1,llm') 
    5252        geopot(UP(CELL)) = geopot(CELL) + g*rhodz(CELL) 
Note: See TracChangeset for help on using the changeset viewer.