Rheolef
7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
transport_dg2.h
Go to the documentation of this file.
1
25
struct
u
{
26
point
operator()
(
const
point
& x)
const
{
return
w
*
point
(-x[1], x[0]); }
27
u
(
Float
w1) :
w
(w1) {}
28
Float
w
;
29
};
30
struct
phi_exact
{
31
Float
operator()
(
const
point
& x)
const
{
return
sin(
w
*norm(x)); }
32
phi_exact
(
Float
w1) :
w
(w1) {}
33
Float
w
;
34
};
Float
see the Float page for the full documentation
point
see the point page for the full documentation
phi_exact
Definition
transport_dg2.h:30
phi_exact::phi_exact
phi_exact(Float w1)
Definition
transport_dg2.h:32
phi_exact::w
Float w
Definition
transport_dg2.h:33
phi_exact::operator()
Float operator()(const point &x) const
Definition
transport_dg2.h:31
u
Definition
leveque.h:25
u::operator()
point operator()(const point &x) const
Definition
leveque.h:26
u::u
u(Float w1)
Definition
transport_dg2.h:27
u::w
Float w
Definition
transport_dg2.h:28