My Project
programmer's documentation
Functions
cs_mesh_refine.h File Reference
#include "cs_base.h"
#include "cs_mesh.h"
Include dependency graph for cs_mesh_refine.h:

Go to the source code of this file.

Functions

void cs_mesh_refine_simple (cs_mesh_t *m, bool conforming, const int cell_flag[])
 Refine flagged mesh cells. More...
 
void cs_mesh_refine_simple_selected (cs_mesh_t *m, bool conforming, cs_lnum_t n_cells, const cs_lnum_t cells[])
 Refine selected mesh cells. More...
 

Function Documentation

◆ cs_mesh_refine_simple()

void cs_mesh_refine_simple ( cs_mesh_t m,
bool  conforming,
const int  cell_flag[] 
)

Refine flagged mesh cells.

Parameters
[in,out]mmesh
[in]conformingif true, propagate refinement to ensure subdivision is conforming
[in]cell_flagsubdivision type for each cell (0: none; 1: isotropic)

◆ cs_mesh_refine_simple_selected()

void cs_mesh_refine_simple_selected ( cs_mesh_t m,
bool  conforming,
cs_lnum_t  n_cells,
const cs_lnum_t  cells[] 
)

Refine selected mesh cells.

Parameters
[in,out]mmesh
[in]conformingif true, propagate refinement to ensure subdivision is conforming
[in]n_cellsnumber of selected cells
[in]cellslist of selected cells (0 to n-1) or NULL if no indirection is needed