Rheolef
7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
burgers_diffusion_exact.h
Go to the documentation of this file.
1
25
struct
u_exact
{
26
Float
operator()
(
const
point
& x)
const
{
27
return
1 - tanh((x[0]-
x0
-
t
)/(2*
epsilon
)); }
28
u_exact
(
Float
e1,
Float
t1=0) :
epsilon
(e1),
t
(t1),
x0
(-0.5) {}
29
Float
M
()
const
{
return
0; }
30
Float
epsilon
,
t
,
x0
;
31
};
32
using
u_init
=
u_exact
;
33
using
g
=
u_exact
;
Float
see the Float page for the full documentation
point
see the point page for the full documentation
g
Definition
cavity_dg.h:25
u_exact
Definition
interpolate_RTk_polynom.icc:125
u_exact::epsilon
Float epsilon
Definition
burgers_diffusion_exact.h:30
u_exact::operator()
point operator()(const point &x) const
Definition
interpolate_RTk_polynom.icc:126
u_exact::t
Float t
Definition
burgers_diffusion_exact.h:30
u_exact::u_exact
u_exact(Float e1, Float t1=0)
Definition
burgers_diffusion_exact.h:28
u_exact::M
Float M() const
Definition
burgers_diffusion_exact.h:29
u_exact::x0
Float x0
Definition
burgers_diffusion_exact.h:30