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
27
double
yac_grid_cell_area
(
struct
yac_grid_cell
cell);
28
double
yac_grid_cell_area_info
(
29
struct
yac_grid_cell
cell,
double
* barycenter,
double
sign);
30
31
#endif
// AREA_H
32
yac_grid_cell_area
double yac_grid_cell_area(struct yac_grid_cell cell)
Area calculation of a spherical cell.
Definition
area.c:271
yac_grid_cell_area_info
double yac_grid_cell_area_info(struct yac_grid_cell cell, double *barycenter, double sign)
Definition
area.c:403
clipping.h
yac_grid_cell
Definition
grid_cell.h:18
yac_types.h
src
core
area.h
Generated on Tue Jun 30 2026 14:08:00 for YAC by
1.11.0