YAC 3.6.2
Yet Another Coupler
Loading...
Searching...
No Matches
dist_grid.h File Reference
#include <mpi.h>
#include "basic_grid.h"
Include dependency graph for dist_grid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct yac_dist_grid_pairyac_dist_grid_pair_new (struct yac_basic_grid *grid_a, struct yac_basic_grid *grid_b, MPI_Comm comm)
 
void yac_dist_grid_pair_delete (struct yac_dist_grid_pair *grid_pair)
 

Function Documentation

◆ yac_dist_grid_pair_delete()

void yac_dist_grid_pair_delete ( struct yac_dist_grid_pair * grid_pair)

delete all memory associated to the provided grid pair

Parameters
[in,out]grid_pair

Definition at line 2618 of file dist_grid.c.

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

◆ yac_dist_grid_pair_new()

struct yac_dist_grid_pair * yac_dist_grid_pair_new ( struct yac_basic_grid * grid_a,
struct yac_basic_grid * grid_b,
MPI_Comm comm )

generate a distributed grid pair

Parameters
[in]grid_afirst basic grid
[in]grid_bsecond basic grid
[in]commcommunicator containing the ranks of all processes participating in this call
Returns
distributed grid pair
Remarks
this routine is collective for all processes in comm

Definition at line 2370 of file dist_grid.c.

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