Structure for passing refinement data from HPRefinementStrategy to its derived classes. More...
#include <ptems/hpstrategies.hpp>
Public Member Functions | |
virtual std::size_t | ElementCount () const =0 |
Gets the number of elements in the mesh. More... | |
virtual double | ErrorEstimator (std::size_t element) const =0 |
Gets the error indicator for the specified element. More... | |
virtual std::size_t | FunctionCount () const =0 |
Gets the number of functions defined on the mesh. More... | |
virtual DiscreteFunction< DIM, X, N, N > | Function (std::size_t function) const =0 |
Gets a function defined on the mesh. More... | |
Structure for passing refinement data from HPRefinementStrategy to its derived classes.
DIM | The dimension of the mesh and spaces to refine |
X | The type of the result of the functions (double, std::complex, etc) for each space |
N | The size of the resulting vector space (N=1 for scalars) for each space |
|
pure virtual |
Gets the number of elements in the mesh.
Implemented in ptems::HPRefinementStrategy< DIM, X, N >::RefinementDataImpl< Estimators, Functions >.
|
pure virtual |
Gets the error indicator for the specified element.
element | The element index in range [0, ElementCount()) |
Implemented in ptems::HPRefinementStrategy< DIM, X, N >::RefinementDataImpl< Estimators, Functions >.
|
pure virtual |
Gets a function defined on the mesh.
function | The function index in range [0, FunctionCount()) |
Implemented in ptems::HPRefinementStrategy< DIM, X, N >::RefinementDataImpl< Estimators, Functions >.
|
pure virtual |
Gets the number of functions defined on the mesh.
Implemented in ptems::HPRefinementStrategy< DIM, X, N >::RefinementDataImpl< Estimators, Functions >.