← Back to team overview

ffc team mailing list archive

Re: boundary integrals

 

On Thu, Sep 28, 2006 at 05:42:11PM +0200, Garth N. Wells wrote:
> Anders Logg wrote:
> > On Thu, Sep 28, 2006 at 03:48:30PM +0200, Garth N. Wells wrote:
> >> Could we add something to the FFC output to indicate the
> >> presence/absence of interior and boundary integrals? Then we can skip
> >> the interiors/boundary assembly loop in DOLFIN if there are no
> >> interior/boundary terms.
> >>
> >> Garth
> > 
> > Yes, I have wanted to do this before, but never gotten around to doing
> > it. It's a simple fix that I can fix quickly.
> > 
> > This would take care of the BLAS format for cases when there are no
> > boundary contributions?
> >
> 
> It should do. I do however recall some problems with the Intel compiler
> when not supplying a function for the boundary integral, but this could
> be fixed with a compiler flag.
> 
> Garth

I'll just add a function that answers true or false on whether or not
there is a boundary contribution. The function is supplied (but empty)
even if there is no contribution.

/Anders


Follow ups

References