Changeset 734 for XIOS/trunk/src/node/domain.cpp
- Timestamp:
- 10/13/15 15:51:17 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/domain.cpp
r731 r734 338 338 double latRange = lat_end - lat_start; 339 339 340 double lonStep = lonRange/double(ni_glo.getValue());341 double latStep = latRange/double(nj_glo.getValue());340 double lonStep = (1 == ni_glo.getValue()) ? lonRange : lonRange/double(ni_glo.getValue()-1); 341 double latStep = (1 == nj_glo.getValue()) ? latRange : latRange/double(nj_glo.getValue()-1); 342 342 343 343 // Assign lon value … … 423 423 int nbClient; 424 424 MPI_Comm_size(client->intraComm,&nbClient); 425 it->second->checkValid(this); 425 426 this->redistribute(nbClient); 426 427 break;
Note: See TracChangeset
for help on using the changeset viewer.