Code Monkey home page Code Monkey logo

Comments (5)

krcools avatar krcools commented on August 16, 2024

You are right, it does not choose the correct code path. It assumes trial and testing meshes are conforming and so it sometimes uses the wrong quadrature rules. For example, when a fine triangle is included in a large triangle, it erroneously relies on the SauterSchwabCommonVertex rule.

There is some support for nested meshes but it is very fragile. In particular it only works for barycentric refinements and fails quietly in other cases.

I will try to come up with a more robust strategy, but this will probably involve expensive on-the-fly generation of triangulations of intersections of trial and test elements.

from beast.jl.

krcools avatar krcools commented on August 16, 2024

For now I will create a new code path for the case you tested. Keep in mind this only works when Y is defined on the barycentric refinement of the mesh X is defined on.

from beast.jl.

krcools avatar krcools commented on August 16, 2024

I think this should be fixed by PR #81

from beast.jl.

sbadrian avatar sbadrian commented on August 16, 2024

I think there were still some issues correctly passing on the information on the quadrature order in the case that a Sauter-Schwab scenario occurs. PR #82 should fix this.

from beast.jl.

krcools avatar krcools commented on August 16, 2024

Excellent. Thank you. PR #82 is merged.

from beast.jl.

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.