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.

Author
Roy H. Stogner
Date
2006

Definition at line 48 of file refinement_selector.h.

Constructor & Destructor Documentation

◆ RefinementSelector()

libMesh::RefinementSelector::RefinementSelector ( )
inline

Constructor. Empty.

Definition at line 55 of file refinement_selector.h.

55 {}

◆ ~RefinementSelector()

virtual libMesh::RefinementSelector::~RefinementSelector ( )
inlinevirtual

Destructor.

Definition at line 60 of file refinement_selector.h.

60 {}

Member Function Documentation

◆ select_refinement()

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.

Member Data Documentation

◆ component_scale

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: