YetAnotherCoupler 3.2.0_a
Loading...
Searching...
No Matches
Functions
interpolation_utils.c File Reference
#include <string.h>
#include "utils_core.h"
#include "interpolation.h"
#include "interpolation_utils.h"
#include "yac_mpi_internal.h"
Include dependency graph for interpolation_utils.c:

Go to the source code of this file.

Functions

static size_t xt_redist_get_buffer_size (Xt_redist redist, MPI_Datatype(*xt_redist_get_MPI_Datatype)(Xt_redist, int))
 
static size_t xt_redist_get_send_buffer_size (Xt_redist redist)
 
static size_t xt_redist_get_recv_buffer_size (Xt_redist redist)
 
static size_t * get_buffer_sizes (Xt_redist *redists, size_t num_fields, enum yac_interpolation_buffer_type type)
 
static double ** allocate_buffer (size_t *buffer_sizes, size_t num_fields, size_t collection_size)
 
struct yac_interpolation_buffer yac_interpolation_buffer_init (Xt_redist *redists, size_t num_fields, size_t collection_size, enum yac_interpolation_buffer_type type)
 
struct yac_interpolation_buffer yac_interpolation_buffer_init_2 (Xt_redist *redists, size_t *min_buffer_sizes, size_t num_fields, size_t collection_size, enum yac_interpolation_buffer_type type)
 
struct yac_interpolation_buffer yac_interpolation_buffer_copy (struct yac_interpolation_buffer src, size_t num_fields, size_t collection_size)
 
void yac_interpolation_buffer_free (struct yac_interpolation_buffer *buffer)
 

Function Documentation

◆ allocate_buffer()

static double ** allocate_buffer ( size_t *  buffer_sizes,
size_t  num_fields,
size_t  collection_size 
)
static

Definition at line 69 of file interpolation_utils.c.

Here is the caller graph for this function:

◆ get_buffer_sizes()

static size_t * get_buffer_sizes ( Xt_redist *  redists,
size_t  num_fields,
enum yac_interpolation_buffer_type  type 
)
static

Definition at line 46 of file interpolation_utils.c.

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

◆ xt_redist_get_buffer_size()

static size_t xt_redist_get_buffer_size ( Xt_redist  redist,
MPI_Datatype(*)(Xt_redist, int)  xt_redist_get_MPI_Datatype 
)
static

Definition at line 12 of file interpolation_utils.c.

Here is the caller graph for this function:

◆ xt_redist_get_recv_buffer_size()

static size_t xt_redist_get_recv_buffer_size ( Xt_redist  redist)
static

Definition at line 41 of file interpolation_utils.c.

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

◆ xt_redist_get_send_buffer_size()

static size_t xt_redist_get_send_buffer_size ( Xt_redist  redist)
static

Definition at line 36 of file interpolation_utils.c.

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

◆ yac_interpolation_buffer_copy()

struct yac_interpolation_buffer yac_interpolation_buffer_copy ( struct yac_interpolation_buffer  src,
size_t  num_fields,
size_t  collection_size 
)

Definition at line 115 of file interpolation_utils.c.

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

◆ yac_interpolation_buffer_free()

void yac_interpolation_buffer_free ( struct yac_interpolation_buffer buffer)

Definition at line 126 of file interpolation_utils.c.

Here is the caller graph for this function:

◆ yac_interpolation_buffer_init()

struct yac_interpolation_buffer yac_interpolation_buffer_init ( Xt_redist *  redists,
size_t  num_fields,
size_t  collection_size,
enum yac_interpolation_buffer_type  type 
)

Definition at line 87 of file interpolation_utils.c.

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

◆ yac_interpolation_buffer_init_2()

struct yac_interpolation_buffer yac_interpolation_buffer_init_2 ( Xt_redist *  redists,
size_t *  min_buffer_sizes,
size_t  num_fields,
size_t  collection_size,
enum yac_interpolation_buffer_type  type 
)

Definition at line 99 of file interpolation_utils.c.

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