Computes a single output variable which is a linear combination of components of position.
More...
#include <Spacetime_func.hpp>
|
| | Linear (Eigen::VectorXd arg) |
| |
| 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 > pos, double time) const override |
| |
| std::vector< double > | operator() (std::vector< double > pos, double 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).
|
| |
| 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
|
| |
| std::vector< double > | operator() (Boundary_connection &, int i_fqpoint, double time) const override |
| |
Computes a single output variable which is a linear combination of components of position.
◆ Linear()
| hexed::Linear::Linear |
( |
Eigen::VectorXd | arg | ) |
|
|
inline |
- Parameters
-
| arg | Coefficients for components of position. |
If arg.size() > n_dim, only the first n_dim components of arg will be used. If arg.size() < n_dim, only the first arg.size() components of position will be used.
◆ n_var()
| int hexed::Linear::n_var |
( |
int | n_dim | ) |
const |
|
inlineoverridevirtual |
number of output variables when called on n_dim-dimensional input
Implements hexed::Output_data.
◆ operator()()
| std::vector< double > hexed::Linear::operator() |
( |
std::vector< double > | pos, |
|
|
double | time ) const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- /home/micaiah/Desktop/hexed/include/Spacetime_func.hpp
- /home/micaiah/Desktop/hexed/libhexed/Spacetime_func.cpp