YAC 3.8.0
Yet Another Coupler
Loading...
Searching...
No Matches
generate_cubed_sphere.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 GENERATE_CUBED_SPHERE_H
6#define GENERATE_CUBED_SPHERE_H
7
8#include "basic_grid.h"
9
10// YAC PUBLIC HEADER START
11
30 unsigned n, unsigned * num_cells, unsigned * num_vertices,
31 double ** x_vertices, double ** y_vertices, double ** z_vertices,
32 unsigned ** vertices_of_cell, unsigned ** face_id);
33
56 unsigned n, unsigned * nbr_vertices, unsigned * nbr_cells,
57 unsigned ** num_vertices_per_cell, unsigned ** cell_to_vertex,
58 double ** x_vertices, double ** y_vertices, double ** x_cells,
59 double ** y_cells, int ** global_cell_id, int ** cell_core_mask,
60 int ** global_corner_id, int ** corner_core_mask, int rank, int size);
61
70
80 char const * name, size_t n);
81
90void yac_write_cubed_sphere_grid(unsigned n, char const * filename);
91
92// YAC PUBLIC HEADER STOP
93
94#endif // GENERATE_CUBED_SPHERE_H
95
void yac_generate_part_cube_grid_information(unsigned n, unsigned *nbr_vertices, unsigned *nbr_cells, unsigned **num_vertices_per_cell, unsigned **cell_to_vertex, double **x_vertices, double **y_vertices, double **x_cells, double **y_cells, int **global_cell_id, int **cell_core_mask, int **global_corner_id, int **corner_core_mask, int rank, int size)
void yac_generate_cubed_sphere_grid_information(unsigned n, unsigned *num_cells, unsigned *num_vertices, double **x_vertices, double **y_vertices, double **z_vertices, unsigned **vertices_of_cell, unsigned **face_id)
void yac_write_cubed_sphere_grid(unsigned n, char const *filename)
struct yac_basic_grid * yac_generate_cubed_sphere_basic_grid(char const *name, size_t n)
struct yac_basic_grid_data yac_generate_cubed_sphere_grid(unsigned n)
int * cell_to_vertex
size_t num_cells[2]
int * cell_core_mask
char const * name
Definition toy_scrip.c:114