Peka2D_v5  v5.0
Classes | Macros | Typedefs | Functions
mesh.h File Reference
#include <search.h>
#include <math.h>
#include "omp.h"
#include "define.h"
#include "structs.h"
#include "writeInOut.cuh"
Include dependency graph for mesh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  t_pair_
 

Macros

#define i_mesh_
 

Typedefs

typedef struct t_pair_ t_pair
 

Functions

int new_lg_cells (l_g_cells *lcells, int n)
 
int new_lc_cells (l_c_cells *lcells, int n)
 
int new_g_cell (t_g_cell *cell, int id)
 
int new_c_cell (t_c_cell *cell, int id)
 
int add_g_cell (t_g_cell *cell, l_g_cells *lcells)
 
int add_c_cell (t_c_cell *cell, l_c_cells *lcells)
 
int new_lnodes (l_nodes *lnodes, int n)
 
int new_node (t_node *node, int id)
 
int add_node (t_node *node, l_nodes *lnodes)
 
int new_lwalls (l_wall *lwalls, int n)
 
int calc_norm (l_g_cells *lcells, l_c_cells *lccells, int nwall, t_message *msg)
 
int cons_lpocells_qsort (t_mesh *mesh, t_message *msg)
 
int cmpp (const void *id1, const void *id2)
 
int check_angle (l_g_cells *lcells, t_message *msg)
 
int build_wall_inlet (t_mesh *mesh, t_bound *iinn, t_wall *w, int i, t_message *msg)
 
int build_inner_inlet (t_mesh *mesh, t_bound *iinn, int i, t_message *msg)
 
int build_wall_outlet (t_mesh *mesh, t_bound *outt, t_wall *w, int i, t_message *msg)
 
int build_inner_outlet (t_mesh *mesh, t_bound *outt, int i, t_message *msg)
 

Macro Definition Documentation

◆ i_mesh_

#define i_mesh_

Typedef Documentation

◆ t_pair

typedef struct t_pair_ t_pair

Function Documentation

◆ add_c_cell()

int add_c_cell ( t_c_cell cell,
l_c_cells lcells 
)

◆ add_g_cell()

int add_g_cell ( t_g_cell cell,
l_g_cells lcells 
)

◆ add_node()

int add_node ( t_node node,
l_nodes lnodes 
)

◆ build_inner_inlet()

int build_inner_inlet ( t_mesh mesh,
t_bound iinn,
int  i,
t_message msg 
)

◆ build_inner_outlet()

int build_inner_outlet ( t_mesh mesh,
t_bound outt,
int  i,
t_message msg 
)

◆ build_wall_inlet()

int build_wall_inlet ( t_mesh mesh,
t_bound iinn,
t_wall w,
int  i,
t_message msg 
)

◆ build_wall_outlet()

int build_wall_outlet ( t_mesh mesh,
t_bound outt,
t_wall w,
int  i,
t_message msg 
)

◆ calc_norm()

int calc_norm ( l_g_cells lcells,
l_c_cells lccells,
int  nwall,
t_message msg 
)

◆ check_angle()

int check_angle ( l_g_cells lcells,
t_message msg 
)

◆ cmpp()

int cmpp ( const void *  id1,
const void *  id2 
)

◆ cons_lpocells_qsort()

int cons_lpocells_qsort ( t_mesh mesh,
t_message msg 
)

◆ new_c_cell()

int new_c_cell ( t_c_cell cell,
int  id 
)

◆ new_g_cell()

int new_g_cell ( t_g_cell cell,
int  id 
)

◆ new_lc_cells()

int new_lc_cells ( l_c_cells lcells,
int  n 
)

◆ new_lg_cells()

int new_lg_cells ( l_g_cells lcells,
int  n 
)

◆ new_lnodes()

int new_lnodes ( l_nodes lnodes,
int  n 
)

◆ new_lwalls()

int new_lwalls ( l_wall lwalls,
int  n 
)

◆ new_node()

int new_node ( t_node node,
int  id 
)