source: XIOS/trunk/extern/remap/src/gridRemap.cpp @ 688

Last change on this file since 688 was 688, checked in by mhnguyen, 9 years ago

Integrating remap library into XIOS

+) Change name of some files of remap library to be compatible with XIOS
+) Implement function to fill in automatically boundary longitude and latitude

Test
+) On Curie
+) test_remap correct

File size: 226 bytes
Line 
1#include "gridRemap.hpp"
2
3namespace sphereRemap {
4
5Coord readPole(std::istream &is)
6{
7        double lon, lat;
8        is >> lon >> lat;
9        return (lon<=380 && lat<=380) ? xyz(lon, lat) : ORIGIN;
10}
11
12CRemapGrid srcGrid;
13CRemapGrid tgtGrid;
14
15}
Note: See TracBrowser for help on using the repository browser.