← Back to team overview

ffc team mailing list archive

Re: [Branch ~ffc-core/ffc/main] Rev 1354: Add missing file

 



On 1 February 2010 09:15, Anders Logg <logg@xxxxxxxxx> wrote:
On Sun, Jan 31, 2010 at 10:38:46PM +0100, Kristian Oelgaard wrote:


On 31 January 2010 21:07, Anders Logg <logg@xxxxxxxxx> wrote:
>All buildbots should be green now. Only FFC tests are currently
>failing but I suspect a small fix is needed on the buildbot side
>to run the new tests (which involve compilation against UFC).
>
>What about the evaluate_basis and evaluate_basis_derivatives
>tests. Are they in good shape, and what do they do differently from
>the regression tests?

The current content of evaluate_basis* is just a test against old values from FFC, but with many more elements. But since many of the elements has changed the order of dofs they are not of much use. Therefore, I'm working on a test suite which will compare values from fiat_element.tabulate() to ufc_element.evaluate_basis() and ufc_element.evaluate_basis_derivatives(). There is still a little work to be done, but I can hopefully push something tomorrow that will replace what is in evaluate_basis/ and then evaluate_basis_derivatives/ can be removed.

ok.

Is this a unit test or where should it be placed?

I'm not sure, but I'll put it in test/evaluate_basis, then you can have a look and see what you think. I think it is more of a unit test because it checks that the result of the FFC implementation is in agreement with the FIAT backend.

Kristian

--
Anders

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAktmjboACgkQTuwUCDsYZdFIHQCZAeQoVlzxwdXNy9ZXPgV7NN+1
w4IAnj0MywbaodXANy1J+iv1QhbuI4J5
=v6R5
-----END PGP SIGNATURE-----



Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References