On 26 May 2011 14:46, Anders Logg <[email protected]> wrote: > On Thu, May 26, 2011 at 12:44:56PM +0200, Martin Sandve Alnæs wrote: >> On 26 May 2011 12:36, Anders Logg <[email protected]> wrote: >> > On Thu, May 26, 2011 at 12:12:22PM +0200, Martin Sandve Alnæs wrote: >> >> What is the prefix in this line? >> >> >> >> (self._compiled_form, module, self.form_data, prefix) = \ >> >> jit(form, >> >> form_compiler_parameters, >> >> common_cell) >> > >> > It's the prefix used by the JIT compiler for the generated code files. >> > For FFC, it is set to >> > >> > prefix = "ffc_form_" + jit_object.signature() >> >> Why is it returned from jit? What is it used for? > > It is used in the FFC JIT compiler for elements. This relies on > creating the simplest possible form and then extracting the element > from it. It wasn't needed before, but turned out to be very useful > (perhaps even necessary) during the recent redesign of the JIT > compiler we went through with the preprocess/caching issues.
If it's only used internally in ffc, why is it part of the official jit interface? Martin _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

