YAC 3.12.0
Yet Another Coupler
Loading...
Searching...
No Matches
dist_grid_utils.c File Reference
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include "dist_grid_utils.h"
#include "ppm/ppm_xfuncs.h"
#include "geometry.h"
Include dependency graph for dist_grid_utils.c:

Go to the source code of this file.

Data Structures

struct  temp_corner
 
struct  temp_edge
 
struct  temp_cell_data
 
struct  temp_cell
 

Functions

static struct yac_basic_grid_data generate_local_grid_data (size_t num_global_cells, struct temp_cell *global_cells, size_t num_global_vertices, struct temp_corner *global_vertices, size_t num_global_edges, struct temp_edge *global_edges, size_t num_local_cells, size_t *local_cell_indices, int with_halo)
 
struct yac_basic_grid_data yac_generate_basic_grid_data_reg2d (double const *global_coords_x, double const *global_coords_y, size_t const num_global_cells_[2], size_t const local_start[2], size_t const local_count[2], int with_halo)
 
struct yac_basic_gridyac_generate_basic_grid_reg2d (char const *name, double const *coordinates_x, double const *coordinates_y, size_t const num_cells[2], size_t const local_start[2], size_t const local_count[2], int with_halo)
 

Function Documentation

◆ generate_local_grid_data()

static struct yac_basic_grid_data generate_local_grid_data ( size_t num_global_cells,
struct temp_cell * global_cells,
size_t num_global_vertices,
struct temp_corner * global_vertices,
size_t num_global_edges,
struct temp_edge * global_edges,
size_t num_local_cells,
size_t * local_cell_indices,
int with_halo )
static

Definition at line 43 of file dist_grid_utils.c.

Here is the caller graph for this function:

◆ yac_generate_basic_grid_data_reg2d()

struct yac_basic_grid_data yac_generate_basic_grid_data_reg2d ( double const * global_coords_x,
double const * global_coords_y,
size_t const num_global_cells_[2],
size_t const local_start[2],
size_t const local_count[2],
int with_halo )

Definition at line 200 of file dist_grid_utils.c.

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

◆ yac_generate_basic_grid_reg2d()

struct yac_basic_grid * yac_generate_basic_grid_reg2d ( char const * name,
double const * coordinates_x,
double const * coordinates_y,
size_t const num_cells[2],
size_t const local_start[2],
size_t const local_count[2],
int with_halo )

Definition at line 293 of file dist_grid_utils.c.

Here is the call graph for this function: