My Project
programmer's documentation
Data Structures | Functions | Variables
cs_mesh_builder.h File Reference
#include "cs_defs.h"
#include "fvm_periodicity.h"
#include "cs_base.h"
#include "cs_block_dist.h"
#include "cs_interface.h"
Include dependency graph for cs_mesh_builder.h:

Go to the source code of this file.

Data Structures

struct  cs_mesh_builder_t
 

Functions

cs_mesh_builder_tcs_mesh_builder_create (void)
 Create an empty mesh builder structure. More...
 
void cs_mesh_builder_destroy (cs_mesh_builder_t **mb)
 Destroy a cs_mesh_builder_t structure. More...
 
void cs_mesh_builder_define_block_dist (cs_mesh_builder_t *mb, int rank_id, int n_ranks, int min_rank_step, int min_block_size, cs_gnum_t n_g_cells, cs_gnum_t n_g_faces, cs_gnum_t n_g_vertices)
 Define block distribution sizes for mesh builder. More...
 

Variables

cs_mesh_builder_tcs_glob_mesh_builder
 

Function Documentation

◆ cs_mesh_builder_create()

cs_mesh_builder_t* cs_mesh_builder_create ( void  )

Create an empty mesh builder structure.

Returns
pointer to a mesh builder structure

◆ cs_mesh_builder_define_block_dist()

void cs_mesh_builder_define_block_dist ( cs_mesh_builder_t mb,
int  rank_id,
int  n_ranks,
int  min_rank_step,
int  min_block_size,
cs_gnum_t  n_g_cells,
cs_gnum_t  n_g_faces,
cs_gnum_t  n_g_vertices 
)

Define block distribution sizes for mesh builder.

Parameters
[in,out]mbpointer to mesh builder to update
[in]rank_idid of local rank
[in]n_ranksnumber of associated ranks
[in]min_rank_stepminimum rank step between blocks
[in]min_block_sizeminimum number of entities per block
[in]n_g_cellsglobal number of cells
[in]n_g_facesglobal number of faces
[in]n_g_verticesglobal number of vertices

◆ cs_mesh_builder_destroy()

void cs_mesh_builder_destroy ( cs_mesh_builder_t **  mb)

Destroy a cs_mesh_builder_t structure.

Parameters
[in,out]mbpointer to pointer of structure to destroy

Variable Documentation

◆ cs_glob_mesh_builder

cs_mesh_builder_t* cs_glob_mesh_builder