Changeset 542


Ignore:
Timestamp:
12/16/14 12:56:02 (7 years ago)
Author:
mhnguyen
Message:

Modifying some codes to compromise with the new type of xios and do some final tests

+) Use new stricter type bool
+) Change set_timestep to set_context_attr

Test
+) On Curie
+) test_client and test_complete passed
+) test with LMDZ passed

TODO: It seems the bug of undefined referenced object has gone but there's a need of more tests

Location:
XIOS/trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/field.cpp

    r541 r542  
    508508      std::vector<CDomain*> vecDom; 
    509509      std::vector<CAxis*> vecAxis; 
    510      std::vector<std::string> domList, axisList; 
     510      std::vector<std::string> domList, axisList; 
    511511 
    512512      if (!domain_ref.isEmpty()) 
  • XIOS/trunk/src/test/test_new_features.f90

    r541 r542  
    1111  CHARACTER(len=*),PARAMETER :: id="client" 
    1212  INTEGER :: comm 
    13   TYPE(xios_time)      :: dtime 
     13  TYPE(xios_duration)      :: dtime 
    1414  TYPE(xios_context) :: ctx_hdl 
    1515  INTEGER,PARAMETER :: ni_glo=100 
     
    9696 
    9797    dtime%second=3600 
    98     CALL xios_set_timestep(dtime) 
     98    CALL xios_set_context_attr("test", timestep=dtime) 
    9999 
    100100    ni=0 ; lonvalue(:)=0 
Note: See TracChangeset for help on using the changeset viewer.