 |
waves
Basic FE playground
|
Go to the documentation of this file.
17 #ifndef WCOMPILEDFCT_H
18 #define WCOMPILEDFCT_H
41 virtual double eval(Eigen::Vector3d
const &pos)
const override
46 return (k1 + k2) / 2 + fabs(k2 - k1) / 2 * sin(2 * M_PI / L * 4 * (x + y / 2));
61 virtual void eval(Eigen::Vector3d
const &pos, Eigen::MatrixXd &out,
bool fake)
const override
67 out(1, 1) = out(0, 0) = (k1 + k2) / 2 + fabs(k2 - k1) / 2 * sin(2 * M_PI / L * 4 * (x + y / 2));
68 out(0, 1) = out(1, 0) = 0.0;
80 virtual double eval(
double u)
const override
94 virtual void eval(
double u, Eigen::MatrixXd &out,
bool fake)
const override
97 out(0, 0) = out(1, 1) = 10 + u * u;
98 out(0, 1) = out(1, 0) = u * u;
104 #endif //WCOMPILEDFCT_H
double k2
Definition: wCompiledFct.h:36
#define HEAT_API
Definition: heat.h:29
CompiledFct2a()
Definition: wCompiledFct.h:78
cfr heat_vark.py (version matricielle)
Definition: wCompiledFct.h:54
this namespace avoids conflicts with similar names in 'waves'
Definition: heat.h:38
virtual double eval(Eigen::Vector3d const &pos) const override
Definition: wCompiledFct.h:41
double k2
Definition: wCompiledFct.h:56
cfr heat_vark.py (version scalaire)
Definition: wCompiledFct.h:34
CompiledFct2b()
Definition: wCompiledFct.h:92
cfr heat_nl.py (version scalaire)
Definition: wCompiledFct.h:75
cfr heat_nl.py (version matricielle)
Definition: wCompiledFct.h:89
virtual void eval(Eigen::Vector3d const &pos, Eigen::MatrixXd &out, bool fake) const override
Definition: wCompiledFct.h:61
CompiledFct1a(double _k1, double _k2)
Definition: wCompiledFct.h:39
virtual void eval(double u, Eigen::MatrixXd &out, bool fake) const override
Definition: wCompiledFct.h:94
CompiledFct1b(double _k1, double _k2)
Definition: wCompiledFct.h:59
virtual double eval(double u) const override
Definition: wCompiledFct.h:80