libMesh::HPSelector Class Referenceabstract

#include <hp_selector.h>

Inheritance diagram for libMesh::HPSelector:

Public Member Functions

 HPSelector ()
virtual ~HPSelector ()
virtual void select_refinement (System &system)=0

Public Attributes

std::vector< float > component_scale

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.

Roy H. Stogner, 2006.

Definition at line 47 of file hp_selector.h.

Constructor & Destructor Documentation

libMesh::HPSelector::HPSelector ( )


Definition at line 54 of file hp_selector.h.

54 {}
virtual libMesh::HPSelector::~HPSelector ( )


Definition at line 59 of file hp_selector.h.

59 {}

Member Function Documentation

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

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 77 of file hp_selector.h.

Referenced by libMesh::HPCoarsenTest::select_refinement().

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

Site Created By: libMesh Developers
Last modified: February 07 2014 16:58:01 UTC

Hosted By: Logo