Code_Saturne
CFD tool
Data Structures | Macros | Functions
cs_halo_perio.c File Reference
#include "cs_defs.h"
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <stdarg.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_printf.h"
#include "fvm_periodicity.h"
#include "cs_base.h"
#include "cs_halo.h"
#include "cs_interface.h"
#include "cs_mesh.h"
#include "cs_prototypes.h"
#include "cs_timer.h"
#include "cs_halo_perio.h"

Data Structures

struct  _perio_mesh_builder_t
 

Macros

#define GET_ID1(i, j, k)   ( i + n_ghost_cells*j + stride*k )
 

Functions

void perrve (cs_real_t var1[], cs_real_t var2[], cs_real_t var3[])
 
void perrte (cs_real_t var11[], cs_real_t var12[], cs_real_t var13[], cs_real_t var21[], cs_real_t var22[], cs_real_t var23[], cs_real_t var31[], cs_real_t var32[], cs_real_t var33[])
 
void permas (const cs_int_t *imaspe, const cs_int_t *iappel, cs_real_t rom[], cs_real_t *dudxyz, cs_real_t *drdxyz, cs_real_t *wdudxy, cs_real_t *wdrdxy)
 
void pering (const cs_int_t *idimtr, const cs_int_t *irpvar, const cs_int_t *iguper, const cs_int_t *igrper, cs_real_t dpdx[], cs_real_t dpdy[], cs_real_t dpdz[], const cs_real_t *dudxyz, const cs_real_t *drdxyz)
 
void peinu1 (const cs_int_t *isou, cs_real_t *dudxyz, cs_real_t w1[], cs_real_t w2[], cs_real_t w3[])
 
void peinu2 (cs_real_t *dudxyz)
 
void peinr1 (const cs_int_t *isou, cs_real_t *drdxyz, cs_real_t gradx[], cs_real_t grady[], cs_real_t gradz[])
 
void peinr2 (cs_real_t *drdxyz)
 
void cs_halo_perio_sync_coords (const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t *coords)
 
void cs_halo_perio_sync_var_vect (const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var[], int incvar)
 
void cs_halo_perio_sync_var_vect_ni (const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var_x[], cs_real_t var_y[], cs_real_t var_z[])
 
void cs_halo_perio_sync_var_tens_ni (const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var11[], cs_real_t var12[], cs_real_t var13[], cs_real_t var21[], cs_real_t var22[], cs_real_t var23[], cs_real_t var31[], cs_real_t var32[], cs_real_t var33[])
 
void cs_halo_perio_sync_var_tens (const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var[])
 
void cs_halo_perio_sync_var_diag_ni (const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var11[], cs_real_t var22[], cs_real_t var33[])
 
void cs_halo_perio_sync_var_diag (const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var[])
 

Macro Definition Documentation

◆ GET_ID1

#define GET_ID1 (   i,
  j,
 
)    ( i + n_ghost_cells*j + stride*k )

Function Documentation

◆ cs_halo_perio_sync_coords()

void cs_halo_perio_sync_coords ( const cs_halo_t halo,
cs_halo_type_t  sync_mode,
cs_real_t coords 
)
Here is the call graph for this function:

◆ cs_halo_perio_sync_var_diag()

void cs_halo_perio_sync_var_diag ( const cs_halo_t halo,
cs_halo_type_t  sync_mode,
cs_real_t  var[] 
)
Here is the call graph for this function:

◆ cs_halo_perio_sync_var_diag_ni()

void cs_halo_perio_sync_var_diag_ni ( const cs_halo_t halo,
cs_halo_type_t  sync_mode,
cs_real_t  var11[],
cs_real_t  var22[],
cs_real_t  var33[] 
)
Here is the call graph for this function:

◆ cs_halo_perio_sync_var_tens()

void cs_halo_perio_sync_var_tens ( const cs_halo_t halo,
cs_halo_type_t  sync_mode,
cs_real_t  var[] 
)
Here is the call graph for this function:

◆ cs_halo_perio_sync_var_tens_ni()

void cs_halo_perio_sync_var_tens_ni ( const cs_halo_t halo,
cs_halo_type_t  sync_mode,
cs_real_t  var11[],
cs_real_t  var12[],
cs_real_t  var13[],
cs_real_t  var21[],
cs_real_t  var22[],
cs_real_t  var23[],
cs_real_t  var31[],
cs_real_t  var32[],
cs_real_t  var33[] 
)
Here is the call graph for this function:

◆ cs_halo_perio_sync_var_vect()

void cs_halo_perio_sync_var_vect ( const cs_halo_t halo,
cs_halo_type_t  sync_mode,
cs_real_t  var[],
int  incvar 
)
Here is the call graph for this function:

◆ cs_halo_perio_sync_var_vect_ni()

void cs_halo_perio_sync_var_vect_ni ( const cs_halo_t halo,
cs_halo_type_t  sync_mode,
cs_real_t  var_x[],
cs_real_t  var_y[],
cs_real_t  var_z[] 
)
Here is the call graph for this function:

◆ peinr1()

void peinr1 ( const cs_int_t isou,
cs_real_t drdxyz,
cs_real_t  gradx[],
cs_real_t  grady[],
cs_real_t  gradz[] 
)

◆ peinr2()

void peinr2 ( cs_real_t drdxyz)
Here is the call graph for this function:

◆ peinu1()

void peinu1 ( const cs_int_t isou,
cs_real_t dudxyz,
cs_real_t  w1[],
cs_real_t  w2[],
cs_real_t  w3[] 
)

◆ peinu2()

void peinu2 ( cs_real_t dudxyz)
Here is the call graph for this function:

◆ pering()

void pering ( const cs_int_t idimtr,
const cs_int_t irpvar,
const cs_int_t iguper,
const cs_int_t igrper,
cs_real_t  dpdx[],
cs_real_t  dpdy[],
cs_real_t  dpdz[],
const cs_real_t dudxyz,
const cs_real_t drdxyz 
)
Here is the call graph for this function:

◆ permas()

void permas ( const cs_int_t imaspe,
const cs_int_t iappel,
cs_real_t  rom[],
cs_real_t dudxyz,
cs_real_t drdxyz,
cs_real_t wdudxy,
cs_real_t wdrdxy 
)
Here is the call graph for this function:

◆ perrte()

void perrte ( cs_real_t  var11[],
cs_real_t  var12[],
cs_real_t  var13[],
cs_real_t  var21[],
cs_real_t  var22[],
cs_real_t  var23[],
cs_real_t  var31[],
cs_real_t  var32[],
cs_real_t  var33[] 
)
Here is the call graph for this function:

◆ perrve()

void perrve ( cs_real_t  var1[],
cs_real_t  var2[],
cs_real_t  var3[] 
)
Here is the call graph for this function: