Programming tasks to Scientific Computing I
|
Class for local error estimation. More...
#include <errorEstimator.h>
Public Types | |
typedef ConfiguratorType::InitType | MeshType |
typedef ConfiguratorType::RealType | RealType |
typedef Eigen::VectorXd | VectorType |
typedef Eigen::Matrix< RealType, 3, 1 > | VecType |
typedef ConfiguratorType::InitType | MeshType |
typedef ConfiguratorType::RealType | RealType |
typedef ConfiguratorType::DomVecType | DomVecType |
typedef ConfiguratorType::TangentVecType | TangentVecType |
typedef Eigen::VectorXd | VectorType |
typedef Eigen::Matrix< RealType, 3, 1 > | VecType |
Public Member Functions | |
ErrorEstimator (MeshType &grid, RealType gamma=0.4) | |
RealType | markAndRefineTriangles () |
RealType | markTriangles () |
ErrorEstimator (MeshType &mesh, const ConfiguratorType &config, const VectorType &numericalSolution, RealType gamma=0.4) | |
Constructor. More... | |
RealType | markAndRefineTriangles () |
RealType | markTriangles () |
Mark triangles based on the error estimates. More... | |
void | computeLocalErrorEstimates (VectorType &errEstimates) const |
Compute error estimator for each element. More... | |
void | computeH (VectorType &h) const |
Compute length on longest edge for each element. More... | |
MeshType & | getMesh () |
Returns reference to the mesh that was used for initialization of this object. More... | |
Protected Member Functions | |
RealType | f (const typename ConfiguratorType::Point3DType &x) const |
void | computeLocalErrorEstimates (VectorType &errEstimates) const |
RealType | jumpResidual (int t) const |
RealType | getMidpointValue (int t) const |
Protected Attributes | |
MeshType & | _mesh |
RealType | _gamma |
const shellFE::DiscreteFunctionDefaultShellFE< ConfiguratorType > | _numericalSolution |
Class for local error estimation.
Definition at line 20 of file errorEstimator.h.
typedef ConfiguratorType::DomVecType ErrorEstimator< ConfiguratorType >::DomVecType |
Definition at line 23 of file errorEstimator.h.
typedef ConfiguratorType::InitType ErrorEstimator< ConfiguratorType >::MeshType |
Definition at line 21 of file errorEstimator.h.
typedef ConfiguratorType::InitType ErrorEstimator< ConfiguratorType >::MeshType |
Definition at line 23 of file errorEstimator.h.
typedef ConfiguratorType::RealType ErrorEstimator< ConfiguratorType >::RealType |
Definition at line 22 of file errorEstimator.h.
typedef ConfiguratorType::RealType ErrorEstimator< ConfiguratorType >::RealType |
Definition at line 24 of file errorEstimator.h.
typedef ConfiguratorType::TangentVecType ErrorEstimator< ConfiguratorType >::TangentVecType |
Definition at line 24 of file errorEstimator.h.
typedef Eigen::VectorXd ErrorEstimator< ConfiguratorType >::VectorType |
Definition at line 27 of file errorEstimator.h.
typedef Eigen::VectorXd ErrorEstimator< ConfiguratorType >::VectorType |
Definition at line 27 of file errorEstimator.h.
typedef Eigen::Matrix<RealType, 3, 1> ErrorEstimator< ConfiguratorType >::VecType |
Definition at line 28 of file errorEstimator.h.
typedef Eigen::Matrix<RealType, 3, 1> ErrorEstimator< ConfiguratorType >::VecType |
Definition at line 28 of file errorEstimator.h.
|
inline |
Definition at line 30 of file errorEstimator.h.
|
inline |
Constructor.
[in] | mesh | The finite element mesh |
[in] | config | The configurator used with the mesh |
[in] | numericalSolution | The numerical solution to be used in the error estimate |
[in] | gamma | Parameter determining elements containing which fraction of the total error will be refined (between 0 and 1) |
Definition at line 36 of file errorEstimator.h.
|
inline |
Compute length on longest edge for each element.
Definition at line 68 of file errorEstimator.h.
|
inline |
Compute error estimator for each element.
Definition at line 62 of file errorEstimator.h.
|
inlineprotected |
Definition at line 69 of file errorEstimator.h.
|
inlineprotected |
Definition at line 55 of file errorEstimator.h.
|
inline |
Returns reference to the mesh that was used for initialization of this object.
Definition at line 76 of file errorEstimator.h.
|
inlineprotected |
Definition at line 96 of file errorEstimator.h.
|
inlineprotected |
Definition at line 78 of file errorEstimator.h.
|
inline |
Definition at line 34 of file errorEstimator.h.
|
inline |
Definition at line 43 of file errorEstimator.h.
|
inline |
Definition at line 40 of file errorEstimator.h.
|
inline |
Mark triangles based on the error estimates.
Definition at line 50 of file errorEstimator.h.
|
protected |
Definition at line 109 of file errorEstimator.h.
|
protected |
Definition at line 108 of file errorEstimator.h.
|
protected |
Definition at line 84 of file errorEstimator.h.