The Poisson problem with non-homogeneous Dirichlet boundary conditions.
The Poisson problem with non-homogeneous Dirichlet boundary conditions
int main(
int argc,
char**argv) {
size_t d = omega.dimension();
space Xh (omega, argv[2]);
Xh.block ("boundary");
form a = integrate (dot(grad(
u),grad(v)));
space Wh (omega[
"boundary"], argv[2]);
uh [
"boundary"] = lazy_interpolate(Wh,
g(
d));
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