YAC 3.18.0
Yet Another Coupler
Loading...
Searching...
No Matches
area.h
Go to the documentation of this file.
1// Copyright (c) 2024 The YAC Authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#ifndef AREA_H
6#define AREA_H
7
8#include "yac_types.h"
9#include "clipping.h"
10
18#define YAC_AREA_TOL ((0.02 * 0.02) / (6371.2290 * 6371.2290))
19
27double yac_grid_cell_area(struct yac_grid_cell cell);
29 struct yac_grid_cell cell, double * barycenter, double sign);
30
31#endif // AREA_H
32
double yac_grid_cell_area(struct yac_grid_cell cell)
Area calculation of a spherical cell.
Definition area.c:271
double yac_grid_cell_area_info(struct yac_grid_cell cell, double *barycenter, double sign)
Definition area.c:403