← Back to team overview

dolfin team mailing list archive

Re: Bug when iterating over meshes

 

Anders Logg wrote:
On Mon, Feb 01, 2010 at 08:00:18PM +0100, Marie Rognes wrote:
Anders Logg wrote:
On Sun, Jan 31, 2010 at 03:26:30PM -0800, Johan Hake wrote:
Hello.

The mesh registered in the forms (a and L) is the original mesh from the first
itteration, as it is cached in the form_data. ffc.jit does not recognize when
a mesh is changed.
This shouldn't matter. The code should be the same when assembling on
different meshes. Something else must be going wrong. Don't know what
yet.

A quick fix might be to not cache the form_data in jit_form?

Then it has to be recomputed which can take some time. What is it in
form_data that changes when we move to a new mesh?


original_arguments/coefficients

--
Marie



Follow ups

References