Loading...
Searching...
No Matches
dirichlet.icc

The Poisson problem with homogeneous Dirichlet boundary condition – solver function.

The Poisson problem with homogeneous Dirichlet boundary condition – solver function

void dirichlet (const field& lh, field& uh) {
const space& Xh = lh.get_space();
trial u (Xh); test v (Xh);
form a = integrate (dot(grad(u),grad(v)));
problem p (a);
p.solve (lh, uh);
}
lh
field lh(Float epsilon, Float t, const test &v)
Definition burgers_diffusion_operators.icc:25
field
see the field page for the full documentation
form
see the form page for the full documentation
problem
see the problem page for the full documentation
space
see the space page for the full documentation
test
see the test page for the full documentation
trial
see the test page for the full documentation
u
point u(const point &x)
Definition diffusion_transport_tensor_exact.icc:25
dirichlet
void dirichlet(const field &lh, field &uh)
Definition dirichlet.icc:25
p
Definition sphere.icc:25
u
Definition leveque.h:25