source: XIOS/dev/branch_openmp/extern/remap/src/circle.hpp @ 1642

Last change on this file since 1642 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: 519 bytes
Line 
1#ifndef __CIRCLE_HPP__
2#define __CIRCLE_HPP__
3#include "elt.hpp"
4#include "node.hpp"
5
6namespace sphereRemap {
7 
8double cptRadius(Elt elt);
9
10void setCircleAndLink(Elt& elt, Node& leaf);
11
12/* For arrays of grid elements `elt` and SS-tree nodes `leaf`,
13   both of length `NE`, initialize each node with radius of encompassing circle and barycentre
14   of the corresponding grid element.
15   At this point the node is a leaf and contains only one element.
16*/
17void setCirclesAndLinks(Elt *elts, vector<Node>& leaf);
18
19}
20#endif
Note: See TracBrowser for help on using the repository browser.