THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#270 - Deprecating setDirichlet(eqIdx)
User who did this - Timo Koch (timokoch)

----------
What about mixed boundary conditions? I want to set Dirichlet boundary 
conditions for the pressure and Neumann boundary conditions for the saturation 
in both equations.
In that case I would like to call

setDirichlet(pressureIdx); setNeumann(saturationIdx);

This would set the first equation to Dirichlet for pressure and no boundary 
condition for the saturation
and a Neumann boundary condition for the second equation for BOTH pressure and 
saturation, as far as I see.
As a user that's quite surprising.

The more logical behaviour for me would be: Always set a boundary condition for 
a primary variable and by default for all equations. If I want to change the 
boundary condition in a specific equation I use  

void setDirichlet(int pvIdx, int eqIdx)

In that case there is only need for one function which defaults to all 
equations.
void setDirichlet(int pvIdx, int eqIdx = -1)
----------

More information can be found at the following URL:
http://www.dumux.org/flyspray/index.php?do=details&task_id=270#comment573

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to