Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
transport_dg2.h

The rotating hill benchmark for the transport problem.

The rotating hill benchmark for the transport problem

struct u {
point operator() (const point& x) const { return w*point(-x[1], x[0]); }
u (Float w1) : w(w1) {}
};
struct phi_exact {
Float operator() (const point& x) const { return sin(w*norm(x)); }
phi_exact (Float w1) : w(w1) {}
Float w;
};
see the Float page for the full documentation
see the point page for the full documentation
Float operator()(const point &x) const
Definition leveque.h:25
point operator()(const point &x) const
Definition leveque.h:26
Float w
u()
Definition zalesak.h:33