source:
XIOS2/dev/dev_trunk_omp/extern/remap/src/gridRemap.cpp
@
2399
Last change on this file since 2399 was 1602, checked in by yushan, 6 years ago | |
---|---|
File size: 297 bytes |
Line | |
---|---|
1 | #include "gridRemap.hpp" |
2 | |
3 | namespace sphereRemap { |
4 | |
5 | Coord 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 | |
12 | CRemapGrid srcGrid; |
13 | #pragma omp threadprivate(srcGrid) |
14 | |
15 | CRemapGrid tgtGrid; |
16 | #pragma omp threadprivate(tgtGrid) |
17 | |
18 | } |
Note: See TracBrowser
for help on using the repository browser.