computes the elementwise squared difference between the output of 2 Domain_funcs
More...
#include <Domain_func.hpp>
Public Member Functions | |
| Diff_sq (const Domain_func &, const Domain_func &) | |
| parameters are the functions you want to compute the difference of. Must return values of same size. | |
| Diff_sq (Domain_func &&, const Domain_func &)=delete | |
| can't accept temporaries or else dangling reference | |
| Diff_sq (const Domain_func &, Domain_func &&)=delete | |
| Diff_sq (Domain_func &&, Domain_func &&)=delete | |
| int | n_var (int n_dim) const override |
number of output variables when called on n_dim-dimensional input | |
| std::vector< double > | operator() (std::vector< double > point_pos, double point_time, std::vector< double > state) const override |
Public Member Functions inherited from hexed::Domain_func | |
| std::vector< double > | operator() (Element &, const Basis &, int i_qpoint, double time) const override |
| std::vector< double > | operator() (std::vector< double > pos, double time, std::vector< double > state, std::vector< double > outward_normal) const override |
normal is surface unit normal vector pointing out of the surface (into the domain). | |
Public Member Functions inherited from hexed::Output_data | |
| virtual std::string | variable_name (int n_dim, int i_var) const |
name of i_varth variable (for plotting) when called on n_dim-dimensional input | |
Public Member Functions inherited from hexed::Surface_func | |
| std::vector< double > | operator() (Boundary_connection &, int i_fqpoint, double time) const override |
computes the elementwise squared difference between the output of 2 Domain_funcs
|
inlineoverridevirtual |
number of output variables when called on n_dim-dimensional input
Implements hexed::Output_data.
|
overridevirtual |
Implements hexed::Domain_func.