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

Last change on this file since 1289 was 1155, checked in by yushan, 7 years ago

test_remap OK with openmp

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.