source: XIOS/dev/branch_openmp/extern/remap/src/gridRemap.cpp @ 1335

Last change on this file since 1335 was 1335, checked in by yushan, 6 years ago

dev_omp

File size: 297 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;
13#pragma omp threadprivate(srcGrid)
14
15CRemapGrid tgtGrid;
16#pragma omp threadprivate(tgtGrid)
17
18}
Note: See TracBrowser for help on using the repository browser.