Changeset 1280


Ignore:
Timestamp:
09/25/17 16:48:44 (7 years ago)
Author:
oabramkina
Message:

Changing default value of freq_op in case of non-instant operations.

Location:
XIOS/dev/XIOS_DEV_CMIP6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/bld.cfg

    r1139 r1280  
    3131bld::lib xios 
    3232bld::target libxios.a  
    33 bld::target test_remap.exe 
     33#bld::target test_remap.exe 
    3434bld::target xios_server.exe  
    35 bld::target test_regular.exe 
    36 bld::target test_xios2_cmip6.exe 
     35#bld::target test_regular.exe 
     36#bld::target test_xios2_cmip6.exe 
    3737#bld::target test_new_features.exe test_unstruct_complete.exe  
    38 bld::target test_remap.exe 
    39 bld::target test_complete.exe 
    40 bld::target test_client.exe 
     38#bld::target test_remap.exe 
     39#bld::target test_complete.exe 
     40#bld::target test_client.exe 
    4141#bld::target test_unstruct_complete.exe 
    4242#bld::target test_unstructured.exe 
  • XIOS/dev/XIOS_DEV_CMIP6/src/node/field.cpp

    r1279 r1280  
    15721572       else 
    15731573       { 
    1574          CContext* context = CContext::getCurrent(); 
    15751574         if (operation.getValue()=="instant") 
    15761575         { 
    15771576           freq_op.setValue(file->output_freq.getValue()); 
    1578            freq_offset.setValue(file->output_freq.getValue() - TimeStep); 
     1577           freq_offset.setValue(file->output_freq.getValue()-TimeStep); 
    15791578         } 
    15801579         else 
    15811580         { 
    15821581           freq_op.setValue(TimeStep); 
    1583            freq_op.setValue(NoneDu); 
     1582           freq_offset.setValue(freq_op.getValue()-TimeStep); 
    15841583         } 
    15851584       } 
     
    15881587     { 
    15891588       if (freq_offset.isEmpty()) 
    1590          freq_offset.setValue(NoneDu); 
     1589         freq_offset.setValue(freq_op.getValue()-TimeStep); 
    15911590     } 
    15921591   } 
Note: See TracChangeset for help on using the changeset viewer.