Represents a function of position and time. More...
#include <Spacetime_func.hpp>
Public Member Functions | |
std::vector< double > | operator() (std::vector< double > pos, double time, std::vector< double > state) const override |
virtual std::vector< double > | operator() (std::vector< double > pos, double time) const =0 |
![]() | |
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). | |
![]() | |
virtual int | n_var (int n_dim) const =0 |
number of output variables when called on n_dim -dimensional input | |
virtual std::string | variable_name (int n_dim, int i_var) const |
name of i_var th variable (for plotting) when called on n_dim -dimensional input | |
![]() | |
std::vector< double > | operator() (Boundary_connection &, int i_fqpoint, double time) const override |
Represents a function of position and time.
Useful for specifying initial conditions and analytic flow solutions.
|
overridevirtual |
Implements hexed::Domain_func.