#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "generate_cubed_sphere.h"
#include "generate_reg2d.h"
#include "geometry.h"
#include "ppm/ppm_xfuncs.h"
#include "io_utils.h"
#include <netcdf.h>
Go to the source code of this file.
|
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 **cell_to_vertex, unsigned **face_id) |
|
struct yac_basic_grid_data | yac_generate_cubed_sphere_grid (unsigned n) |
|
struct yac_basic_grid * | yac_generate_cubed_sphere_basic_grid (char const *name, size_t n) |
|
static void | decompose_domain_simple (unsigned n, int size, int *cell_owner) |
|
static void | decompose_domain_2d (unsigned n, int size, int *cell_owner) |
|
static void | decompose_domain (unsigned n, int size, int *cell_owner) |
|
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_write_cubed_sphere_grid (unsigned n, char const *filename) |
|
◆ decompose_domain()
static void decompose_domain |
( |
unsigned | n, |
|
|
int | size, |
|
|
int * | cell_owner ) |
|
static |
◆ decompose_domain_2d()
static void decompose_domain_2d |
( |
unsigned | n, |
|
|
int | size, |
|
|
int * | cell_owner ) |
|
static |
◆ decompose_domain_simple()
static void decompose_domain_simple |
( |
unsigned | n, |
|
|
int | size, |
|
|
int * | cell_owner ) |
|
static |
◆ yac_generate_cubed_sphere_basic_grid()
struct yac_basic_grid * yac_generate_cubed_sphere_basic_grid |
( |
char const * | name, |
|
|
size_t | n ) |
◆ yac_generate_cubed_sphere_grid()
◆ yac_generate_cubed_sphere_grid_information()
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 ** | cell_to_vertex, |
|
|
unsigned ** | face_id ) |
◆ yac_generate_part_cube_grid_information()
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 ) |
◆ yac_write_cubed_sphere_grid()
void yac_write_cubed_sphere_grid |
( |
unsigned | n, |
|
|
char const * | filename ) |