[dune-pdelab] Line and vertex constraints?

Bernd Flemisch bernd at iws.uni-stuttgart.de
Thu Oct 29 12:01:55 CET 2009


Hey Sven,

thanks you for your answer. We will try that.

Kind regards
Bernd

Sven Marnach wrote:
> Hi Bernd,
>
> Bernd Flemisch schrieb am Di, 27. Okt 2009, um 18:33:57 +0100:
>   
>> apparently, it is not possible to easily set Dirichlet constraints only
>> on lines (3D) or vertices (2,3D), since only face centers are evaluated
>> in the corresponding boundary types function. What can I do to overcome
>> this?
>>     
>
> the constraints classes shipped with pdelab should be considered as
> examples.  In case they are not sufficient for your needs, you have to
> write your own constraints class.
>
> In your particular case just copy the ConformingDirichletConstraints
> class from conformingconstraints.hh and adapt it.  It possibly
> suffices to uncomment the call to f.evaluate inside the loop.  I don't
> know why it is commented.
>
> Greetings from Heidelberg,
>     Sven
>
> _______________________________________________
> dune-pdelab mailing list
> dune-pdelab at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-pdelab
>
>   

-- 
_____________________________________________________________________

Bernd Flemisch                               phone: +49 711 685 69162
IWS, Universität Stuttgart                   fax:   +49 711 685 60430
Pfaffenwaldring 61                  email: bernd at iws.uni-stuttgart.de
D-70569 Stuttgart                  url: www.hydrosys.uni-stuttgart.de
_____________________________________________________________________





More information about the dune-pdelab mailing list