#include <hp_selector.h>
Public Member Functions | |
HPSelector ()=default | |
HPSelector (const HPSelector &)=default | |
HPSelector (HPSelector &&)=default | |
HPSelector & | operator= (const HPSelector &)=default |
HPSelector & | operator= (HPSelector &&)=default |
virtual | ~HPSelector ()=default |
virtual void | select_refinement (System &system)=0 |
Public Attributes | |
std::vector< float > | component_scale |
Subclasses of this abstract base class choose between h refining and p elevation. Currently we assume that a set of elements has already been flagged for h refinement, and we may want to change some of those elements to be flagged for p refinement.
Definition at line 48 of file hp_selector.h.
|
default |
Constructor.
|
default |
Copy/move ctor, copy/move assignment operator, and destructor are all explicitly defaulted for this simple class.
|
default |
|
virtualdefault |
|
default |
|
default |
|
pure virtual |
This pure virtual function must be redefined in derived classes to take a mesh flagged for h refinement and potentially change the desired refinement type.
Implemented in libMesh::HPCoarsenTest.
std::vector<float> libMesh::HPSelector::component_scale |
This vector can be used to "scale" certain variables in a system. If the mask is not empty, the consideration given to each component's h and p error estimates will be scaled by component_scale[c].
Definition at line 82 of file hp_selector.h.
Referenced by libMesh::HPCoarsenTest::select_refinement().