> I would like to use the second one. Now, ansatz- and test functions in
> the scalar products given in the problem above come from different
> spaces H^1 and H^1_0. How can I apply boundary data in an appropriate
> way?
>
> For me, the situation is clear when dealing with normal Laplace
> equation:
>
>       (\nabla u,\nabla phi) = (f,phi)         for all phi\in H^1_0
>
> then I use the deal.II-function:
>    VectorTools::interpolate_boundary_values (...)
>
>   to apply Dirichlet values because here ansatz- and test-functions come
> from the same space.
>
> How is procedure with such a mixed formulation and different test
> spaces?

interpolate_boundary_value has an extra argument that indicates for which 
vector component you want boundary values. This allows you to select u but 
not v.

Best
 W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to