YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
basic_grid_data.h File Reference
#include "yac_types.h"
#include "grid_cell.h"
Include dependency graph for basic_grid_data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  yac_basic_grid_data
 

Functions

struct yac_basic_grid_data yac_generate_basic_grid_data_reg_2d (size_t nbr_vertices[2], int cyclic[2], double *lon_vertices, double *lat_vertices)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_reg_2d_deg (size_t nbr_vertices[2], int cyclic[2], double *lon_vertices, double *lat_vertices)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_curve_2d (size_t nbr_vertices[2], int cyclic[2], double *lon_vertices, double *lat_vertices)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_curve_2d_deg (size_t nbr_vertices[2], int cyclic[2], double *lon_vertices, double *lat_vertices)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct (size_t nbr_vertices, size_t nbr_cells, int *num_vertices_per_cell, double *x_vertices, double *y_vertices, int *cell_to_vertex)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_deg (size_t nbr_vertices, size_t nbr_cells, int *num_vertices_per_cell, double *x_vertices, double *y_vertices, int *cell_to_vertex)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_ll (size_t nbr_vertices, size_t nbr_cells, int *num_vertices_per_cell, double *x_vertices, double *y_vertices, int *cell_to_vertex)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_ll_deg (size_t nbr_vertices, size_t nbr_cells, int *num_vertices_per_cell, double *x_vertices, double *y_vertices, int *cell_to_vertex)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_edge (size_t nbr_vertices, size_t nbr_cells, size_t nbr_edges, int *num_edges_per_cell, double *x_vertices, double *y_vertices, int *cell_to_edge, int *edge_to_vertex)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_edge_deg (size_t nbr_vertices, size_t nbr_cells, size_t nbr_edges, int *num_edges_per_cell, double *x_vertices, double *y_vertices, int *cell_to_edge, int *edge_to_vertex)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_edge_ll (size_t nbr_vertices, size_t nbr_cells, size_t nbr_edges, int *num_edges_per_cell, double *x_vertices, double *y_vertices, int *cell_to_edge, int *edge_to_vertex)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_edge_ll_deg (size_t nbr_vertices, size_t nbr_cells, size_t nbr_edges, int *num_edges_per_cell, double *x_vertices, double *y_vertices, int *cell_to_edge, int *edge_to_vertex)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_cloud (size_t nbr_points, double *x_points, double *y_points)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_cloud_deg (size_t nbr_points, double *x_points, double *y_points)
 
void yac_basic_grid_data_compute_cell_areas (struct yac_basic_grid_data grid, double *cell_areas)
 
void yac_basic_grid_data_free (struct yac_basic_grid_data grid)
 

Function Documentation

◆ yac_basic_grid_data_compute_cell_areas()

void yac_basic_grid_data_compute_cell_areas ( struct yac_basic_grid_data grid,
double * cell_areas )

Definition at line 12 of file basic_grid_data.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_basic_grid_data_free()

void yac_basic_grid_data_free ( struct yac_basic_grid_data grid)

Definition at line 58 of file basic_grid_data.c.

Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_cloud()

struct yac_basic_grid_data yac_generate_basic_grid_data_cloud ( size_t nbr_points,
double * x_points,
double * y_points )
Examples
test_basic_grid.c.

Definition at line 50 of file grid_cloud.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_cloud_deg()

struct yac_basic_grid_data yac_generate_basic_grid_data_cloud_deg ( size_t nbr_points,
double * x_points,
double * y_points )
Examples
test_basic_grid.c, and test_basic_grid_data.c.

Definition at line 58 of file grid_cloud.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_curve_2d()

struct yac_basic_grid_data yac_generate_basic_grid_data_curve_2d ( size_t nbr_vertices[2],
int cyclic[2],
double * lon_vertices,
double * lat_vertices )
Examples
test_basic_grid.c.

Definition at line 44 of file grid_curve2d.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_curve_2d_deg()

struct yac_basic_grid_data yac_generate_basic_grid_data_curve_2d_deg ( size_t nbr_vertices[2],
int cyclic[2],
double * lon_vertices,
double * lat_vertices )
Examples
test_basic_grid.c, and test_basic_grid_data.c.

Definition at line 53 of file grid_curve2d.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_reg_2d()

struct yac_basic_grid_data yac_generate_basic_grid_data_reg_2d ( size_t nbr_vertices[2],
int cyclic[2],
double * lon_vertices,
double * lat_vertices )
Examples
test_basic_grid.c.

Definition at line 65 of file grid_reg2d.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_reg_2d_deg()

struct yac_basic_grid_data yac_generate_basic_grid_data_reg_2d_deg ( size_t nbr_vertices[2],
int cyclic[2],
double * lon_vertices,
double * lat_vertices )
Examples
test_basic_grid.c, test_basic_grid_data.c, test_dist_grid_pair_parallel.c, test_grid2vtk.c, test_instance_parallel1.c, test_instance_parallel2.c, test_instance_parallel3.c, and test_interp_method_avg_parallel.c.

Definition at line 74 of file grid_reg2d.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_unstruct()

struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct ( size_t nbr_vertices,
size_t nbr_cells,
int * num_vertices_per_cell,
double * x_vertices,
double * y_vertices,
int * cell_to_vertex )
Examples
test_basic_grid.c, and test_interp_method_avg_parallel.c.

Definition at line 256 of file grid_unstruct.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_unstruct_deg()

struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_deg ( size_t nbr_vertices,
size_t nbr_cells,
int * num_vertices_per_cell,
double * x_vertices,
double * y_vertices,
int * cell_to_vertex )
Examples
test_basic_grid.c, test_basic_grid_data.c, test_dist_grid_pair_parallel.c, test_interp_method_avg_parallel.c, and test_interp_method_conserv_parallel.c.

Definition at line 266 of file grid_unstruct.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_unstruct_edge()

struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_edge ( size_t nbr_vertices,
size_t nbr_cells,
size_t nbr_edges,
int * num_edges_per_cell,
double * x_vertices,
double * y_vertices,
int * cell_to_edge,
int * edge_to_vertex )
Examples
test_basic_grid.c.

Definition at line 276 of file grid_unstruct.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_unstruct_edge_deg()

struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_edge_deg ( size_t nbr_vertices,
size_t nbr_cells,
size_t nbr_edges,
int * num_edges_per_cell,
double * x_vertices,
double * y_vertices,
int * cell_to_edge,
int * edge_to_vertex )
Examples
test_basic_grid.c, and test_basic_grid_data.c.

Definition at line 287 of file grid_unstruct.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_unstruct_edge_ll()

struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_edge_ll ( size_t nbr_vertices,
size_t nbr_cells,
size_t nbr_edges,
int * num_edges_per_cell,
double * x_vertices,
double * y_vertices,
int * cell_to_edge,
int * edge_to_vertex )
Examples
test_basic_grid.c.

Definition at line 389 of file grid_unstruct.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_unstruct_edge_ll_deg()

struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_edge_ll_deg ( size_t nbr_vertices,
size_t nbr_cells,
size_t nbr_edges,
int * num_edges_per_cell,
double * x_vertices,
double * y_vertices,
int * cell_to_edge,
int * edge_to_vertex )
Examples
test_basic_grid.c, and test_basic_grid_data.c.

Definition at line 401 of file grid_unstruct.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_unstruct_ll()

struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_ll ( size_t nbr_vertices,
size_t nbr_cells,
int * num_vertices_per_cell,
double * x_vertices,
double * y_vertices,
int * cell_to_vertex )
Examples
test_basic_grid.c.

Definition at line 347 of file grid_unstruct.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_unstruct_ll_deg()

struct yac_basic_grid_data yac_generate_basic_grid_data_unstruct_ll_deg ( size_t nbr_vertices,
size_t nbr_cells,
int * num_vertices_per_cell,
double * x_vertices,
double * y_vertices,
int * cell_to_vertex )
Examples
test_basic_grid.c, and test_basic_grid_data.c.

Definition at line 358 of file grid_unstruct.c.

Here is the call graph for this function:
Here is the caller graph for this function: