33 #ifndef __H__UG__ADAPTIVE_REGULAR_REFINER_MULTI_GRID__
34 #define __H__UG__ADAPTIVE_REGULAR_REFINER_MULTI_GRID__
101 template <
class TElem>
Specialization of IRefiner for adaptive multigrid refinement with closure.
Definition: adaptive_regular_mg_refiner.h:59
virtual ~AdaptiveRegularRefiner_MultiGrid()
Definition: adaptive_regular_mg_refiner.cpp:55
virtual void assign_grid(MultiGrid &mg)
Definition: adaptive_regular_mg_refiner.cpp:60
virtual bool perform_coarsening()
removes all closure elements, calls the base implementation and creates a new closure
Definition: adaptive_regular_mg_refiner.cpp:428
void set_grid(MultiGrid *mg)
performs registration and deregistration at a grid.
Definition: adaptive_regular_mg_refiner.cpp:66
virtual void perform_refinement()
removes all closure elements, calls the base implementation and creates a new closure
Definition: adaptive_regular_mg_refiner.cpp:408
void create_closure_elements_2d()
creates closure elements for 2d geometries
Definition: adaptive_regular_mg_refiner.cpp:108
HangingNodeRefiner_MultiGrid BaseClass
Definition: adaptive_regular_mg_refiner.h:61
void remove_closure_elements()
remove closure elements
Definition: adaptive_regular_mg_refiner.cpp:79
Selector m_closureElems
Definition: adaptive_regular_mg_refiner.h:112
void create_closure_elements()
calls create_closure_elements_2d / 3d, depending on the presence of volume elements.
Definition: adaptive_regular_mg_refiner.cpp:92
AdaptiveRegularRefiner_MultiGrid(SPRefinementProjector projector=SPNULL)
Definition: adaptive_regular_mg_refiner.cpp:41
void create_closure_elements_3d()
creates closure elements for 3d geometries
Definition: adaptive_regular_mg_refiner.cpp:204
void get_parents_of_marked_closure_elements(std::vector< GridObject * > &parents, Selector::status_t mark)
collects parents of all closure elements which share a value with the given mark.
Definition: adaptive_regular_mg_refiner.cpp:385
Specialization of ug::HangingNodeRefiner for ug::MultiGrid.
Definition: hanging_node_refiner_multi_grid.h:68
virtual bool mark(Vertex *v, RefinementMark refMark=RM_REFINE)
Marks an element for refinement. Default implementation is empty.
Definition: refiner_interface.h:103
SPRefinementProjector projector()
Definition: refiner_interface.h:78
byte status_t
Definition: selector_interface.h:128
Definition: multi_grid.h:72
specialization of ISelector for a grid of class Grid.
Definition: selector_grid.h:96
const NullSmartPtr SPNULL
The equivalent to NULL for smart pointers.
Definition: smart_pointer.h:90