#include "cs_defs.h"
#include "cs_halo.h"
#include "cs_mesh.h"
#include "cs_mesh_adjacencies.h"
#include "cs_mesh_quantities.h"
Go to the source code of this file.
Functions | |
bool | cs_preprocess_mesh_is_needed (void) |
Determine if preprocessing is needed. More... | |
void | cs_preprocess_mesh_define (void) |
Define all mesh preprocessing operations. More... | |
void | cs_preprocess_mesh (cs_halo_type_t halo_type) |
Apply all mesh preprocessing operations. More... | |
void | cs_preprocess_mesh_selected_b_faces_ignore (cs_mesh_t *m, cs_mesh_quantities_t *mq, cs_lnum_t n_faces, const cs_lnum_t face_ids[]) |
Apply numbering changes to ignore selected boundary faces. More... | |
void | cs_preprocess_mesh_update_fortran (void) |
Update fortran arrays relative to the global mesh. More... | |
void | cs_preprocess_mesh_update_device (cs_alloc_mode_t alloc_mode) |
Map some mesh arrays for use on device. More... | |
void cs_preprocess_mesh | ( | cs_halo_type_t | halo_type | ) |
Apply all mesh preprocessing operations.
void cs_preprocess_mesh_define | ( | void | ) |
Define all mesh preprocessing operations.
bool cs_preprocess_mesh_is_needed | ( | void | ) |
Determine if preprocessing is needed.
Preprocessing is ignored when a ./restart/mesh_input file is present but no ./mesh_input file or directory is present. In this case, restart mesh file is read, and all other preprocessing steps are skipped.
void cs_preprocess_mesh_selected_b_faces_ignore | ( | cs_mesh_t * | m, |
cs_mesh_quantities_t * | mq, | ||
cs_lnum_t | n_faces, | ||
const cs_lnum_t | face_ids[] | ||
) |
Apply numbering changes to ignore selected boundary faces.
[in,out] | m | pointer to mesh structure |
[in,out] | mq | pointer to mesh quantities structure |
[in] | n_faces | number of selected faces |
[in] | face_ids | ids of selected faces |
void cs_preprocess_mesh_update_device | ( | cs_alloc_mode_t | alloc_mode | ) |
Map some mesh arrays for use on device.
More elements may be mapped dependin on which arrays are used in accelerated algorithms.
[in] | alloc_mode | chosen allocation mode |
void cs_preprocess_mesh_update_fortran | ( | void | ) |
Update fortran arrays relative to the global mesh.