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

This class uses a user-provided list of singularity locations to choose between h refining and p elevation. More...

#include <hp_singular.h>

Public Member Functions

 HPSingularity ()
 Constructor. More...
 
 HPSingularity (const HPSingularity &)=default
 Copy/move ctor, copy/move assignment operator, and destructor are all explicitly defaulted for this simple class. More...
 
 HPSingularity (HPSingularity &&)=default
 
HPSingularityoperator= (const HPSingularity &)=default
 
HPSingularityoperator= (HPSingularity &&)=default
 
virtual ~HPSingularity ()=default
 
virtual void select_refinement (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::list< Pointsingular_points
 This list, to be filled by the user, should include all singular points in the solution. More...
 

Detailed Description

This class uses a user-provided list of singularity locations to choose between h refining and p elevation.

Currently we assume that a set of elements has already been flagged for h refinement - any elements which do not contain a user-provided singular point are instead flagged for p refinement.

Author
Roy H. Stogner
Date
2006

Definition at line 49 of file hp_singular.h.

Constructor & Destructor Documentation

◆ HPSingularity() [1/3]

libMesh::HPSingularity::HPSingularity ( )

Constructor.

Definition at line 56 of file hp_singular.h.

57  {
58  libmesh_experimental();
59  }

◆ HPSingularity() [2/3]

libMesh::HPSingularity::HPSingularity ( const HPSingularity )
default

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

◆ HPSingularity() [3/3]

libMesh::HPSingularity::HPSingularity ( HPSingularity &&  )
default

◆ ~HPSingularity()

virtual libMesh::HPSingularity::~HPSingularity ( )
virtualdefault

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ select_refinement()

virtual void libMesh::HPSingularity::select_refinement ( 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

◆ singular_points

std::list<Point> libMesh::HPSingularity::singular_points

This list, to be filled by the user, should include all singular points in the solution.

Definition at line 83 of file hp_singular.h.


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