← Back to team overview

ffc team mailing list archive

Re: Optimized FFC code?

 

2007/10/16, Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx>:
> Quoting Martin Sandve Alnæs <martinal@xxxxxxxxx>:
>
> > Sorry, didn't look at the generated code. FFC is generating quadrature
> > code, I thought the default argument quadrature_points=False to jit
> > options meant tensor representation. How do I choose tensor
> > representation with jit?
>
> I thought FFC was using tensor representation by default? The quadrature_points
> option can be used to specify how many quadrature points are used if one
> compiles using the quadrature representation.
>
> Kristian

The problem was partly me not reading the fine manual, and partly jit
seemingly not doing any error checks on the input. I just did
jit(form, options) which should've given an error message.

If everything goes well tonight, I'll have some benchmark results
tomorrow. It seems the performance of ffc and sfc is fairly close in
most cases.

--
Martin


References