Coder Social home page Coder Social logo

Comments (10)

wence- avatar wence- commented on July 25, 2024

Turns out this is a problem in how we select the quadrature degree for TFEs.

from firedrake.

dorugeber avatar dorugeber commented on July 25, 2024

Fixed in https://bitbucket.org/mapdes/ufl/branch/TFE_degree_fix or https://bitbucket.org/mapdes/ufl/branch/TFE_degree_hack - both fixes have their issues.

from firedrake.

kynan avatar kynan commented on July 25, 2024

afaiu TFE_degree_fix is very inefficient for TFEs but doesn't affect "regular" elements whereas TFE_degree_hack is a little bit inefficient for all element types. Not quite sure which of these is less bad. And neither is the correct fix, is it?

from firedrake.

wence- avatar wence- commented on July 25, 2024

Fixed by UFL change (better fix on its way).

from firedrake.

kynan avatar kynan commented on July 25, 2024

I think I'd have picked the other fix simply because it doesn't mess with the existing generated code.

from firedrake.

dorugeber avatar dorugeber commented on July 25, 2024

Agreed

from firedrake.

dorugeber avatar dorugeber commented on July 25, 2024

Btw, is there an equivalent of 'instant-clean' at the pyop2-ffc cache level?

from firedrake.

kynan avatar kynan commented on July 25, 2024

Yes:

rm -rf /tmp/pyop2-ffc-kernel-cache-uid`id -u`

from firedrake.

wence- avatar wence- commented on July 25, 2024

So we can revert the UFL degree hack merge and merge the UFL degree fix branch instead if you like.

from firedrake.

kynan avatar kynan commented on July 25, 2024

It doesn't matter, I've already fixed the FFC references.

from firedrake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.