The Poisson problem with Robin boundary condition.
The Poisson problem with Robin boundary condition
int main(
int argc,
char**argv) {
size_t d = omega.dimension();
space Xh (omega, argv[2]);
form a = integrate (dot(grad(
u),grad(v))) + integrate (
"boundary",
u*v);
field lh = integrate (
f(
d)*v) + integrate (
"boundary",
g(
d)*v);
dout << uh;
}
field lh(Float epsilon, Float t, const test &v)
see the field page for the full documentation
see the geo page for the full documentation
see the problem page for the full documentation
see the environment page for the full documentation
see the space page for the full documentation
see the test page for the full documentation
see the test page for the full documentation
The cosinus product function – right-hand-side and boundary condition for the Laplace problem.
This file is part of Rheolef.
rheolef - reference manual