← Back to team overview

dolfin team mailing list archive

Re: Boundary terms in Dolfin

 

>> I agree that we should support both, although 2 would be the only one
>> avoiding checking (for Karin & Johan) as far as I understand.
>
> It depends on what the user wants. If someone calls
>
>    FEM::applyBC(..., mesh, ...)
>
> then we have to iterate over the entire boundary. On the other hand,
> if someone calls
>
>    FEM::applyBC(..., boundary, ...)
>
> then we only have to loop over that portion of the boundary.

Yes, but doesn't this involve checking if we are on the "boundary" by
comparing boundary ID's?

/Johan




Follow ups

References