← Back to team overview

dolfin team mailing list archive

Re: python assembly problem, STL

 

Martin Sandve Alnæs skrev den 10/03-2008 følgende:
> 2008/3/3, Ola Skavhaug <skavhaug@xxxxxxxxx>:
> >  so perhaps the assembler doesn't know what to do. Is there a way of sending
> >  the correct functions (concrete cpp_Functions, for instance) to the assembler?
> 
> assemble(..., coefficients=[...])
> but the coefficients list must then include all coefficient functions
> (in order).
> 
> Or use the Assembler class directly.

The fix was to construct the Functions one at the time (through concrete
subclasses). Functions() return ffc Functions, and they are not the correct
type.

Ola
 
> -- Martin


References