YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
perf_toy_cube.c File Reference
#include <mpi.h>
#include <stdio.h>
#include "yac.h"
#include "yac_utils.h"
#include "perf_toy_common.h"
#include "perf_toy_cube.h"
Include dependency graph for perf_toy_cube.c:

Go to the source code of this file.

Functions

void init_cube (int comp_id, size_t n_cube, int *cell_point_id, int *corner_point_id)
 Initializes cube grid data and registers it with YAC.
 

Function Documentation

◆ init_cube()

void init_cube ( int comp_id,
size_t n_cube,
int * cell_point_id,
int * corner_point_id )

Initializes cube grid data and registers it with YAC.

Parameters
[in]comp_idThe component ID.
[in]n_cubeThe edge length of the cube.
[out]cell_point_idPointer to the cell point ID.
[out]corner_point_idPointer to the corner point ID.
Remarks
The global number of cells is 6 * n_cube ^ 2.

Definition at line 12 of file perf_toy_cube.c.

Here is the call graph for this function: