source:
XIOS/dev/branch_openmp/extern/remap/src/gridRemap.cpp
@
1339
Last change on this file since 1339 was 1335, checked in by yushan, 7 years ago | |
---|---|
File size: 297 bytes |
Rev | Line | |
---|---|---|
[688] | 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; | |
[1335] | 13 | #pragma omp threadprivate(srcGrid) |
[1334] | 14 | |
[688] | 15 | CRemapGrid tgtGrid; |
[1335] | 16 | #pragma omp threadprivate(tgtGrid) |
[688] | 17 | |
18 | } |
Note: See TracBrowser
for help on using the repository browser.