← Back to team overview

dolfin team mailing list archive

Re: How can I see which quadrature scheme is chosen when calling assemble?

 

On Mon, May 23, 2011 at 12:13:53PM +0200, Kristian Ølgaard wrote:
> On 23 May 2011 11:42, Martin Sandve Alnæs <martinal@xxxxxxxxx> wrote:
> > Say I do
> >
> > f = Function(...)
> > x = assemble(f*dx)
> >
> > Is it possible to see which quadrature rule was chosen in some log output?
> > Something easier than digging through generated code in the instant cache?
>
> Yes, just use the C++ interface to DOLFIN, then you have full control
> of the form compilers;
> the generated code is put in a file with a sensible name and there are
> no surprises when using the
> forms in the main.cpp file.

Have you tried decreasing the log level for the form compiler? This
can be done using the parameter "form_compiler"/"log_level".

--
Anders


> Kristian
>
> > Martin
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~dolfin
> > Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~dolfin
> > More help   : https://help.launchpad.net/ListHelp
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp


References