Template Struct RefinementParameters¶
Defined in File local_co_refinement_parameters.h
Inheritance Relationships¶
Base Type¶
public ParameterAcceptor
Struct Documentation¶
-
template<int reduced_dim>
struct RefinementParameters : public ParameterAcceptor¶ Controls local refinement synchronization between bulk and embedded meshes.
For a zero-dimensional representative domain there is no embedded mesh to refine or synchronize. In that case only the global bulk refinement parameters are exposed.
Public Functions
-
inline RefinementParameters()¶
Register local refinement configuration parameters.
-
inline explicit RefinementParameters(const std::string &subsection)¶
Register a separate, explicitly named refinement parameter group.
-
inline std::pair<double, double> diameter_bounds() const¶
Validate configuration and resolve the deprecated single-mesh factor.
A positive Refinement factor replaces lower by its reciprocal for space, or upper by its value for embedded. It is not supported with both. Zero disables this compatibility parameter.
Public Members
-
std::string refinement_strategy = "space"¶
Select which meshes may be refined: space, embedded, or both.
-
std::string embedded_partitioning_policy = "default"¶
Final ownership in LocalCoRefinement: default or background-aligned.
The immersed policy requires a full-dimensional background and a fullydistributed embedded Domain.
-
unsigned int space_post_refinement_cycles = 0¶
Number of local space passes around intersecting embedded cell boxes.
-
unsigned int embedded_post_refinement_cycles = 0¶
Number of global post-refinement cycles for the embedded grid.
-
unsigned int space_pre_refinement_cycles = 0¶
Number of global pre-refinement cycles for the space grid.
-
unsigned int embedded_pre_refinement_cycles = 0¶
Number of global pre-refinement cycles for the embedded grid.
-
double refinement_factor = 0.0¶
Deprecated single-mesh factor; zero disables this compatibility input.
-
double lower_factor = 0.5¶
Fixed bounds for h_embedded / h_space, independent of strategy.
-
double upper_factor = 2.0¶
-
int max_refinement_level = 10¶
Level cap for ratio-driven passes only (not initial, pre, or post).
-
inline RefinementParameters()¶