computes the \(L_2\) norm of the provided Qpoint_func
within the element by Gaussian quadrature
More...
#include <Element_func.hpp>
Public Member Functions | |
Elem_l2 (const Qpoint_func &) | |
Elem_l2 (Qpoint_func &&)=delete | |
int | n_var (int n_dim) const override |
number of output variables when called on n_dim -dimensional input | |
std::string | variable_name (int n_dim, int i_var) const override |
name of i_var th variable (for plotting) when called on n_dim -dimensional input | |
std::vector< double > | operator() (Element &elem, const Basis &, double time) const override |
![]() | |
std::vector< double > | operator() (Element &, const Basis &, int i_qpoint, double time) const override |
computes the \(L_2\) norm of the provided Qpoint_func
within the element by Gaussian quadrature
hexed::Elem_l2::Elem_l2 | ( | const Qpoint_func & | func | ) |
func | function you want to compute the norm of |
|
inlineoverridevirtual |
number of output variables when called on n_dim
-dimensional input
Implements hexed::Output_data.
|
overridevirtual |
–
Implements hexed::Element_func.
|
inlineoverridevirtual |
name of i_var
th variable (for plotting) when called on n_dim
-dimensional input
Reimplemented from hexed::Output_data.