20 #ifndef LIBMESH_ERROR_VECTOR_H 21 #define LIBMESH_ERROR_VECTOR_H 24 #include "libmesh/statistics.h" 136 virtual std::vector<dof_id_type>
cut_below(
Real cut)
const override;
143 virtual std::vector<dof_id_type>
cut_above(
Real cut)
const override;
168 #endif // LIBMESH_ERROR_VECTOR_H MeshBase * _mesh
Pointer to the mesh, which may be used to decide which elements are active.
The ErrorVector is a specialization of the StatisticsVector for error data computed on a finite eleme...
virtual Real variance() const override
The StatisticsVector class is derived from the std::vector<> and therefore has all of its useful feat...
The libMesh namespace provides an interface to certain functionality in the library.
DIE A HORRIBLE DEATH HERE typedef float ErrorVectorReal
virtual std::vector< dof_id_type > cut_above(Real cut) const override
This is the MeshBase class.
virtual Real median() override
void plot_error(const std::string &filename, const MeshBase &mesh) const
Plots a data file, of a type determined by looking at the file extension in filename, of the error values on the active elements of mesh.
virtual std::vector< dof_id_type > cut_below(Real cut) const override
virtual ErrorVectorReal minimum() const override
ErrorVector(dof_id_type i=0, MeshBase *mesh=nullptr)
ErrorVector constructor; sets initial length to i.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ErrorVector(dof_id_type i, ErrorVectorReal val)
ErrorVector constructor; sets initial length to i and initial values to val.
bool is_active_elem(dof_id_type i) const
Utility function to decide whether element i is active.
virtual Real mean() const override