Changeset 629 for XIOS/branchs


Ignore:
Timestamp:
06/25/15 16:02:52 (6 years ago)
Author:
rlacroix
Message:

Fix r628: "DOMAIN_dimensions_ids" should use Fortran indexing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/branchs/xios-1.0/src/output/nc4_data_output.cpp

    r628 r629  
    14411441           SuperClassWriter::addAttribute("DOMAIN_number_total",size ) ; 
    14421442           SuperClassWriter::addAttribute("DOMAIN_number", rank) ; 
    1443            array=SuperClassWriter::getDimension(dimXid),SuperClassWriter::getDimension(dimYid); 
     1443           array = SuperClassWriter::getDimension(dimXid) + 1, SuperClassWriter::getDimension(dimYid) + 1; 
    14441444           SuperClassWriter::addAttribute("DOMAIN_dimensions_ids",array) ; 
    14451445           array=ni_glo,nj_glo ; 
Note: See TracChangeset for help on using the changeset viewer.