16 #ifndef __H2D_ERROR_THREAD_CALCULATOR_H
17 #define __H2D_ERROR_THREAD_CALCULATOR_H
19 #include "error_calculator.h"
26 template<
typename Scalar>
class ErrorCalculator;
31 template<
typename Scalar>
52 void assemble_one_neighbor(
unsigned int neighbor_i);
60 unsigned int num_neighbors;
63 void evaluate_volumetric_forms(
Traverse::State* current_state,
int order);
64 void evaluate_surface_forms_one_edge(
Traverse::State* current_state,
int order);
71 template<
typename NormFormType>
72 void initialize_error_and_norm_functions(NormFormType* mf,
Func<Scalar>* error_func[2],
Func<Scalar>* norm_func[2],
int order);
73 template<
typename NormFormType,
typename FuncType>
74 void deinitialize_error_and_norm_functions(NormFormType* mf, FuncType* error_func[2], FuncType* norm_func[2]);
78 unsigned char n_quadrature_points;
81 double jacobian_x_weights[H2D_MAX_INTEGRATION_POINTS_COUNT];
This class represents a function with jump discontinuity on an interface of two elements.
void assemble_one_edge()
Assemble DG forms.
Evaluation of an error between a (coarse) solution and a reference solution.
This class characterizes a neighborhood of a given edge in terms of adjacent elements and provides me...
::xsd::cxx::tree::error< char > error
Error condition.
Represents the solution of a PDE.
bool init_neighbors()
Initialize neighbors.