|
Hermes2D
3.0
|
Inheritance diagram for Hermes::Hermes2D::DefaultNormCalculator< Scalar, normType >:Public Member Functions | |
| DefaultNormCalculator (int component_count) | |
| double | calculate_norms (std::vector< MeshFunctionSharedPtr< Scalar > > &solutions) |
| Norms calculation. | |
| double | calculate_norm (MeshFunctionSharedPtr< Scalar > solution) |
| Norms calculation. | |
Public Member Functions inherited from Hermes::Hermes2D::ErrorCalculator< Scalar > | |
| ErrorCalculator (CalculatedErrorType errorType) | |
| void | calculate_errors (std::vector< MeshFunctionSharedPtr< Scalar > > coarse_solutions, std::vector< MeshFunctionSharedPtr< Scalar > > fine_solutions, bool sort_and_store=true) |
| void | calculate_errors (MeshFunctionSharedPtr< Scalar > coarse_solution, MeshFunctionSharedPtr< Scalar > fine_solution, bool sort_and_store=true) |
| virtual | ~ErrorCalculator () |
| Destructor. Deallocates allocated private data. | |
| void | add_error_form (NormFormVol< Scalar > *form) |
| void | add_error_form (NormFormSurf< Scalar > *form) |
| void | add_error_form (NormFormDG< Scalar > *form) |
| double | get_element_error_squared (int component, int element_id) const |
| Returns a squared error of an element. More... | |
| double | get_element_norm_squared (int component, int element_id) const |
| double | get_error_squared (int component) const |
| double | get_norm_squared (int component) const |
| double | get_total_error_squared () const |
| double | get_total_norm_squared () const |
| int | get_component_count () const |
| const ElementReference & | get_element_reference (unsigned int id) const |
| A queue of elements which should be processes. The queue had to be filled by the method fill_regular_queue(). | |
| MeshFunctionSharedPtr< double > | get_errorMeshFunction (int component=0) |
| void | free () |
| Frees the data. | |
Additional Inherited Members | |
Protected Member Functions inherited from Hermes::Hermes2D::ErrorCalculator< Scalar > | |
| virtual bool | isOkay () const |
| State querying helpers. | |
| std::string | getClassName () const |
| bool | data_prepared_for_querying () const |
| Common check for data querying. | |
| void | init_data_storage () |
| Initialize the data storage. | |
| void | postprocess_error () |
Static Protected Member Functions inherited from Hermes::Hermes2D::ErrorCalculator< Scalar > | |
| static int | compareElementReference (const void *a, const void *b) |
Protected Attributes inherited from Hermes::Hermes2D::ErrorCalculator< Scalar > | |
|
std::vector < MeshFunctionSharedPtr < Scalar > > | coarse_solutions |
| Data. | |
|
std::vector < MeshFunctionSharedPtr < Scalar > > | fine_solutions |
| CalculatedErrorType | errorType |
| Absolute / Relative error. | |
| ElementReference * | element_references |
| A queue of elements which should be processes. The queue had to be filled by the method fill_regular_queue(). | |
| int | component_count |
| Number of solution components. | |
| int | num_act_elems |
| A total number of active elements across all provided meshes. | |
| double * | errors [H2D_MAX_COMPONENTS] |
| Errors of elements. Meaning of the error depeds on the errorType. | |
| double * | norms [H2D_MAX_COMPONENTS] |
| double | component_errors [H2D_MAX_COMPONENTS] |
| double | component_norms [H2D_MAX_COMPONENTS] |
| int | element_count [H2D_MAX_COMPONENTS] |
| double | errors_squared_sum |
| double | norms_squared_sum |
| MeshFunctionSharedPtr< double > | errorMeshFunction [H2D_MAX_COMPONENTS] |
| Error mesh function - for visualization and other postprocessing of the element-wise error. | |
|
std::vector< NormFormVol < Scalar > * > | mfvol |
| Holds volumetric matrix forms. | |
|
std::vector< NormFormSurf < Scalar > * > | mfsurf |
| Holds surface matrix forms. | |
|
std::vector< NormFormDG < Scalar > * > | mfDG |
| Holds DG matrix forms. | |
| bool | elements_stored |
| This is for adaptivity, saying that the errors are the correct ones. | |
Protected Attributes inherited from Hermes::Hermes2D::Mixins::Parallel | |
| unsigned char | num_threads_used |
| std::string | exceptionMessageCaughtInParallelBlock |
Definition at line 185 of file error_calculator.h.