Implements the weight function for calculating the \(L^2\) and \(L^{\infty}\) error norms. More...
#include <static_vector_input.hpp>


Public Member Functions | |
| virtual double | value (const Point< dim > &r, const unsigned int component=0) const override final |
Returns the value of weight at point r. All error norms, \(L^2\), \(L^{\infty}\), and \(H^1\), at point r will be multiplied by this value. More... | |
| double | value (const Point< 3 > &r, const unsigned int component) const |
| double | value (const Point< 3 > &r, const unsigned int component) const |
| double | value (const Point< 3 > &r, const unsigned int component) const |
| double | value (const Point< 3 > &r, const unsigned int component) const |
| double | value (const Point< 3 > &r, const unsigned int component) const |
| double | value (const Point< 2 > &r, const unsigned int component) const |
| double | value (const Point< 2 > &r, const unsigned int component) const |
| double | value (const Point< 3 > &r, const unsigned int component) const |
| double | value (const Point< 3 > &r, const unsigned int component) const |
| double | value (const Point< 3 > &r, const unsigned int component) const |
| double | value (const Point< 3 > &r, const unsigned int component) const |
| double | value (const Point< 3 > &r, const unsigned int component) const |
| double | value (const Point< 3 > &r, const unsigned int component) const |
| double | value (const Point< 3 > &r, const unsigned int component) const |
| double | value (const Point< 3 > &r, const unsigned int component) const |
Implements the weight function for calculating the \(L^2\) and \(L^{\infty}\) error norms.
This class is declared in shared/include/static_vector_input.hpp but must be implemented in xyz/src/static_vector_input.cpp, where xyz is the directory of the current numerical experiment. That is, the declaration is shared between all numerical experiments while implementation is specific for each individual numerical experiment. See the structure of the code for more details.
The dim template parameter is, as per usual, the amount of spatial dimensions. The purpose of the stage template parameter is discussed in here.
Definition at line 472 of file static_vector_input.hpp.
|
finaloverridevirtual |
Returns the value of weight at point r. All error norms, \(L^2\), \(L^{\infty}\), and \(H^1\), at point r will be multiplied by this value.
| [in] | r | - The quadrature point at which the error norm is currently evaluated. |
| [in] | component | - The component of the function. Must equal zero in the case of a scalar function. |