Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

e_exch.h

Go to the documentation of this file.
00001 
00009 #ifndef E_EXCH_HEADER_ALREADY_INCLUDED
00010 
00011 #include <stdio.h>
00012 #include <stdlib.h>
00013 #include "../../util/source/useful.h"
00014 #include "../../util/source/logfile.h"
00015 #include "../../gas_models/source/gas.h"
00016 #include "../../flux_calc/source/flux_calc.h"
00017 #include "../../mb_cns/source/cns_case_id.h"
00018 #include "../../mb_cns/source/cns_work_vector.h"
00019 #include "../../mb_cns/source/cns_debug_level.h"
00020 #include "../../mb_cns/source/cns_cell.h"
00021 #include "../../mb_cns/source/cns_echo.h"
00022 #include "../../mb_cns/source/cns_bc_defs.h"
00023 #include "./e_block.h"
00024 
00025 /*---------------------------------------------------------------------*/
00026 /* Direct-copy exchange functions */
00027 
00028 int exchange_boundary_data_serial(struct global_data_3D *gdp, int type_of_copy);
00029 
00030 int copy_into_east_boundary_3D(struct block_data_3D *bp, 
00031                                struct block_data_3D *bp_src,
00032                                int type_of_copy);
00033 int copy_into_west_boundary_3D(struct block_data_3D *bp, 
00034                                struct block_data_3D *bp_src,
00035                                int type_of_copy);
00036 int copy_into_north_boundary_3D(struct block_data_3D *bp, 
00037                                 struct block_data_3D *bp_src,
00038                                 int type_of_copy);
00039 int copy_into_south_boundary_3D(struct block_data_3D *bp, 
00040                                 struct block_data_3D *bp_src,
00041                                 int type_of_copy);
00042 int copy_into_top_boundary_3D(struct block_data_3D *bp, 
00043                               struct block_data_3D *bp_src,
00044                               int type_of_copy);
00045 int copy_into_bottom_boundary_3D(struct block_data_3D *bp, 
00046                                  struct block_data_3D *bp_src,
00047                                  int type_of_copy);
00048 
00049 /* Copy-via-buffer exchange functions */
00050 
00051 int number_of_double_values( int bndry, int ni, int nj, int nk, int nv );
00052 int copy_into_send_buffer_3D(struct block_data_3D *bp,
00053                              int bndry, 
00054                              int type_of_copy,
00055                              double *send_buffer);
00056 int copy_from_receive_buffer_3D(struct block_data_3D *bp,
00057                                 int bndry, 
00058                                 int type_of_copy,
00059                                 double *receive_buffer);
00060 
00061 /*---------------------------------------------------------------------*/
00062 
00063 #define E_EXCH_HEADER_ALREADY_INCLUDED
00064 #endif
00065 

Generated on Tue Oct 25 10:23:44 2005 for CFCFD by  doxygen 1.4.4