gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
approximationError.h
Go to the documentation of this file.
1 // Gmsh - Copyright (C) 1997-2022 C. Geuzaine, J.-F. Remacle
2 //
3 // See the LICENSE.txt file in the Gmsh root directory for license information.
4 // Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
5 
6 #ifndef APPROXIMATION_ERROR
7 #define APPROXIMATION_ERROR
8 
9 #include <map>
10 #include "simpleFunction.h"
11 
12 class MElement;
13 
14 // computes E such as
15 // E^2 = \int_e [C_e(f) - f]^2 de
16 // where C_e(f) is clement's interpolation operator of f on e
18 
19 #endif
LegendrePolynomials::f
void f(int n, double u, double *val)
Definition: orthogonalBasis.cpp:77
approximationError
double approximationError(simpleFunction< double > &f, MElement *e)
Definition: approximationError.cpp:9
simpleFunction< double >
MElement
Definition: MElement.h:30
simpleFunction.h