rotating-hill-statio.h
Go to the documentation of this file.
#include "rotating-hill.h"
struct f: phi { // - d phi/dt
Float operator() (const point& x) const {
return (4*nu/t0 - 4*nu*dist2(x,x0t())/sqr(t0+4*nu*t)
-2*dot(d_x0t_dt(),x-x0t())/(t0+4*nu*t))*phi::operator()(x); }
f (size_t d1, Float nu1, Float t1=0) : phi(d1,nu1,t1) {}
};
Float
see the Float page for the full documentation
point
see the point page for the full documentation
rheolef::details::dot
rheolef::details::is_vec dot
rheolef::dist2
T dist2(const point_basic< T > &x, const point_basic< T > &y)
Definition: point.h:293
rotating-hill.h
Convection-diffusion equation – the rotating hill benchmark.
f
Definition: cavity_dg.h:29
f::f
f(size_t d1, Float nu1, Float t1=0)
Definition: rotating-hill-statio.h:26
f::operator()
point operator()(const point &x) const
Definition: cavity_dg.h:30
nu
Definition: nu.h:26
phi
Definition: phi.h:25
phi::t
Float t
Definition: rotating-hill.h:46
phi::x0t
point x0t() const
Definition: rotating-hill.h:38
phi::t0
static constexpr Float t0
Definition: rotating-hill.h:47
phi::d_x0t_dt
point d_x0t_dt() const
Definition: rotating-hill.h:42
phi::operator()
Float operator()(const Float &x) const
Definition: phi.h:27