#include "cs_base.h"
#include "cs_mesh.h"
Go to the source code of this file.
◆ cs_mesh_refine_set_option()
      
        
          | void cs_mesh_refine_set_option | ( | const char * | key, | 
        
          |  |  | const char * | value | 
        
          |  | ) |  |  | 
      
 
Set refinement options, using key/value pairs. 
Accepted keys and values:
- "triangle_subdivision"
- "triangle" (default)
- "quadrangle" 
 
 
 
◆ 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] | m | mesh |  | [in] | conforming | if true, propagate refinement to ensure subdivision is conforming |  | [in] | cell_flag | subdivision type for each cell (0: none; 1: isotropic) |  
 
 
 
◆ cs_mesh_refine_simple_selected()
Refine selected mesh cells. 
- Parameters
- 
  
    | [in,out] | m | mesh |  | [in] | conforming | if true, propagate refinement to ensure subdivision is conforming |  | [in] | n_cells | number of selected cells |  | [in] | cells | list of selected cells (0 to n-1) or NULL if no indirection is needed |