libMesh
Public Member Functions | Public Attributes | List of all members
libMesh::RefinementSelector Class Reference

This abstract class provides an interface to methods for selecting the type of refinement to be used on each element in a given mesh. More...

#include <refinement_selector.h>

Public Member Functions

 RefinementSelector ()
 Constructor. More...
 
virtual ~RefinementSelector ()
 Destructor. More...
 
virtual void 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. More...
 

Public Attributes

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

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.

Author
Roy H. Stogner
Date
2006

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 ( )
virtual

Destructor.

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)
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.

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: