YAC 3.12.0
Yet Another Coupler
Loading...
Searching...
No Matches
toy_multi_common.c File Reference
#include <mpi.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <math.h>
#include <string.h>
#include <stdint.h>
#include "yac.h"
#include "yac_core.h"
#include "yac_utils.h"
#include "toy_multi_common.h"
Include dependency graph for toy_multi_common.c:

Go to the source code of this file.

Functions

int run_toy_multi_common (char const *comp_name, int comp_id, int grid_id, int cell_point_id, int corner_point_id, double *cell_point_data, double *corner_point_data, YAC_VTK_FILE *vtk_file)
 

Variables

struct { 
 
   char const *   name 
 
   int const *   location 
 
interpolations [] 
 
size_t nbr_interpolations = sizeof(interpolations) / sizeof(interpolations[0])
 

Function Documentation

◆ run_toy_multi_common()

int run_toy_multi_common ( char const * comp_name,
int comp_id,
int grid_id,
int cell_point_id,
int corner_point_id,
double * cell_point_data,
double * corner_point_data,
YAC_VTK_FILE * vtk_file )

Definition at line 40 of file toy_multi_common.c.

Here is the call graph for this function:

Variable Documentation

◆ [struct]

struct { ... } interpolations[]
Initial value:
=
{
{.name = "conserv",
.location = &YAC_LOCATION_CELL},
{.name = "2nd_conserv",
.location = &YAC_LOCATION_CELL},
{.name = "avg",
.location = &YAC_LOCATION_CORNER},
{.name = "hcsbb",
.location = &YAC_LOCATION_CELL},
{.name = "rbf",
.location = &YAC_LOCATION_CELL},
}
int const YAC_LOCATION_CELL
Definition yac.c:31
int const YAC_LOCATION_CORNER
Definition yac.c:32

◆ location

int const* location

Definition at line 24 of file toy_multi_common.c.

◆ name

char const* name

Definition at line 23 of file toy_multi_common.c.

◆ nbr_interpolations

size_t nbr_interpolations = sizeof(interpolations) / sizeof(interpolations[0])

Definition at line 38 of file toy_multi_common.c.