libMesh::RefinementSelector Class Reference

#include <refinement_selector.h>

Public Member Functions

 RefinementSelector ()
virtual ~RefinementSelector ()
virtual void select_refinement (const System &system)

Public Attributes

std::vector< float > component_scale

Detailed Description

This abstract class provides an interface to methods for selecting the type of refinement to be used on each element in a given mesh. Currently we assume that a set of elements has already been flagged for h refinement, and the only concrete subclass will change some of those elements to be flagged for p refinement. Future subclasses may handle anisotropic refinement instead.

Roy H. Stogner

Definition at line 48 of file refinement_selector.h.

Constructor & Destructor Documentation

libMesh::RefinementSelector::RefinementSelector ( )

Constructor. Empty.

Definition at line 55 of file refinement_selector.h.

55 {}
virtual libMesh::RefinementSelector::~RefinementSelector ( )


Definition at line 60 of file refinement_selector.h.

References select_refinement().

60 {}

Member Function Documentation

virtual void libMesh::RefinementSelector::select_refinement ( const System system)

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.

Referenced by ~RefinementSelector().

Member Data Documentation

std::vector<float> libMesh::RefinementSelector::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 will be scaled by component_scale[c].

Definition at line 77 of file refinement_selector.h.

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