Changeset 1921 for XIOS/trunk/src


Ignore:
Timestamp:
07/31/20 12:21:59 (4 years ago)
Author:
yushan
Message:

trunk : complete axis transformation tests

Location:
XIOS/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/test/generic_testcase.f90

    r1914 r1921  
    356356    pressure=1e20 
    357357    DO j=0,z-1 
    358       pressure(:,j)=axis_value(j) ; 
     358      pressure(:,j)=axis_value(j) * 100000; 
    359359      DO i=0,xy-1 
    360360        IF (domain_index(i)/=-1) THEN 
     
    559559    ENDDO 
    560560          
    561     pressure=1e20 
     561    other_pressure=1e20 
    562562    DO j=0,z-1 
    563       pressure(:,j)=axis_value(j) ; 
     563      other_pressure(:,j)=axis_value(j) * 100000 ; 
    564564      DO i=0,xy-1 
    565565        IF (domain_index(i)/=-1) THEN 
  • XIOS/trunk/src/transformation/axis_algorithm_extract_domain.cpp

    r1852 r1921  
    7878TRY 
    7979{ 
     80  double defaultValue = std::numeric_limits<double>::quiet_NaN(); 
     81  if(firstPass) dataOut = defaultValue; 
    8082  reduction_->apply(localIndex, dataInput, dataOut, flagInitial, ignoreMissingValue, firstPass); 
    8183} 
Note: See TracChangeset for help on using the changeset viewer.