MeshKernel
Public Attributes | List of all members
meshkernel::MeshRefinementParameters Struct Reference

A struct used to describe the mesh refinement parameters in a C-compatible manner. More...

#include <Parameters.hpp>

Public Attributes

int max_num_refinement_iterations = 10
 Maximum number of refinement iterations, set to 1 if only one refinement is wanted.
 
int refine_intersected = 0
 Whether to compute faces intersected by polygon (yes=1/no=0)
 
int use_mass_center_when_refining = 1
 Whether to use the mass center when splitting a face in the refinement process (yes=1/no=0)
 
double min_edge_size = 0.5
 Minimum edge size in meters.
 
int refinement_type = 2
 Refinement criterion type.
 
int connect_hanging_nodes = 1
 Connect hanging nodes at the end of the iteration, 1 yes or 0 no.
 
int account_for_samples_outside = 0
 Take samples outside face into account , 1 yes 0 no.
 
int smoothing_iterations = 5
 The number of smoothing iterations.
 
double max_courant_time = 120.0
 Maximum courant time in seconds.
 
int directional_refinement = 0
 Directional refinement, cannot be used when the number of smoothing iterations is larger than 0.
 

Detailed Description

A struct used to describe the mesh refinement parameters in a C-compatible manner.


The documentation for this struct was generated from the following file: