libMesh
Public Member Functions | Public Attributes | List of all members
libMesh::HPSelector Class Referenceabstract

Subclasses of this abstract base class choose between h refining and p elevation. More...

#include <hp_selector.h>

Inheritance diagram for libMesh::HPSelector:
[legend]

Public Member Functions

 HPSelector ()=default
 Constructor. More...
 
 HPSelector (const HPSelector &)=default
 Copy/move ctor, copy/move assignment operator, and destructor are all explicitly defaulted for this simple class. More...
 
 HPSelector (HPSelector &&)=default
 
HPSelectoroperator= (const HPSelector &)=default
 
HPSelectoroperator= (HPSelector &&)=default
 
virtual ~HPSelector ()=default
 
virtual void select_refinement (System &system)=0
 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. More...
 

Public Attributes

std::vector< float > component_scale
 This vector can be used to "scale" certain variables in a system. More...
 

Detailed Description

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.

Author
Roy H. Stogner
Date
2006

Definition at line 48 of file hp_selector.h.

Constructor & Destructor Documentation

◆ HPSelector() [1/3]

libMesh::HPSelector::HPSelector ( )
default

Constructor.

◆ HPSelector() [2/3]

libMesh::HPSelector::HPSelector ( const HPSelector )
default

Copy/move ctor, copy/move assignment operator, and destructor are all explicitly defaulted for this simple class.

◆ HPSelector() [3/3]

libMesh::HPSelector::HPSelector ( HPSelector &&  )
default

◆ ~HPSelector()

virtual libMesh::HPSelector::~HPSelector ( )
virtualdefault

Member Function Documentation

◆ operator=() [1/2]

HPSelector& libMesh::HPSelector::operator= ( const HPSelector )
default

◆ operator=() [2/2]

HPSelector& libMesh::HPSelector::operator= ( HPSelector &&  )
default

◆ select_refinement()

virtual void libMesh::HPSelector::select_refinement ( System system)
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.

Member Data Documentation

◆ component_scale

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.


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