27 #ifndef ANALYTICALSOL_H_ 28 #define ANALYTICALSOL_H_ 30 #include <lifev/core/LifeV.hpp> 105 else if (
x ==
xMax )
109 else if (
y ==
yMin )
113 else if (
y ==
yMax )
119 std::
cout <<
"strange point: x=" <<
x <<
" y=" <<
y <<
" z=" <<
z 133 return fNeumann (
t,
x,
y,
z,
ic) +
coefRobin (
t,
x,
y,
z,
ic) *
u_ex (
t,
x,
y,
z,
ic);
187 #elif defined THREEDIM 209 return x *
x +
y *
y +
z *
z;
213 return t *
t +
x *
x +
y *
y +
z *
z;
324 Real n[3] = {0, 0, 0};
330 else if (
x ==
xMax )
334 else if (
y ==
yMin )
338 else if (
y ==
yMax )
342 else if (
z ==
zMin )
346 else if (
z ==
zMax )
352 std::
cout <<
"strange point: x=" <<
x <<
" y=" <<
y <<
" z=" <<
z 365 return fNeumann (
t,
x,
y,
z,
ic) +
coefRobin (
t,
x,
y,
z,
ic) *
u_ex (
t,
x,
y,
z,
ic);
396 c <<
"\n*** Analytical solution: values for user-defined data\n";
A polynomial solution to a general ADR problem.
void updateInverseJacobian(const UInt &iQuadPt)
A trigonometric solution to the Poisson problem.
double Real
Generic real data.
A polynomial solution to a general ADR problem.
Real coefRobin(const Real &, const Real &, const Real &, const Real &, const ID &)
A polynomial solution to the Poisson problem.