Mihai,

> I am trying to identify the boundary DoFs associated with my problem -
> by identify I mean finding out their indices in the global solution
> vector. For example, in step-12 (advection with DG) we have fixed
> boundary conditions on the inflow boundary. I would like to find out
> what entries of the solution vector correspond to those boundary values.

step-12 actually is different from most other programs because it uses 
discontinuous elements in which (logically) all degrees of freedom are 
*interior* to a cell, whereas for continuous elements they sit on the 
boundary of cells. Which kind are you using?

If you use continuous elements, then you may want to consider 
DoFTools::extract_boundary_dofs :-)

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