8.1
general documentation
cs_preprocess.h File Reference
#include "cs_defs.h"
#include "cs_halo.h"
#include "cs_mesh.h"
#include "cs_mesh_adjacencies.h"
#include "cs_mesh_quantities.h"
+ Include dependency graph for cs_preprocess.h:

Go to the source code of this file.

Functions

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...
 

Function Documentation

◆ cs_preprocess_mesh()

void cs_preprocess_mesh ( cs_halo_type_t  halo_type)

Apply all mesh preprocessing operations.

◆ cs_preprocess_mesh_define()

void cs_preprocess_mesh_define ( void  )

Define all mesh preprocessing operations.

◆ cs_preprocess_mesh_selected_b_faces_ignore()

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.

Parameters
[in,out]mpointer to mesh structure
[in,out]mqpointer to mesh quantities structure
[in]n_facesnumber of selected faces
[in]face_idsids of selected faces

◆ cs_preprocess_mesh_update_device()

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.

Parameters
[in]alloc_modechosen allocation mode

◆ cs_preprocess_mesh_update_fortran()

void cs_preprocess_mesh_update_fortran ( void  )

Update fortran arrays relative to the global mesh.