← Back to team overview

dolfin team mailing list archive

Re: Neumann boundary condition

 

On Mon, Apr 14, 2008 at 03:09:39PM -0700, Reza Farrahi Moghaddam wrote:
> In my problem, on all the boundaries, I have Neumann BC: u_n=0
> But, NonlinearPDE always ask for the "bc" argument.
>  
> Is it correct, if I define a Dirichlet BC but for nowhere, and pass it to
> NonlinearPDE? (for example, using this condtion for defining the subdomain of
> Dirichlet BC: abs(x[0] - 500.0) < DOLFIN_EPS && on_boundary)
>  
> Reza

It would be easier to just return False.

-- 
Anders


References