Giter Site home page Giter Site logo

Comments (1)

najlkin avatar najlkin commented on August 20, 2024

Hi, what you observe is a totally correct behavior. The key is to understand how L2 elements work. Unlike continuous elements, L2 elements are not precisely defined at boundaries of elements and the notion of trace is used instead, which is not defined uniquely and different common choices exist. Practically, this means "open" bases are used for them typically, like the default Gauss-Legendre, which do not have DOFs at the boundaries. This implies that all DOFs essentially contribute to interpolation of the values (even though we may expect the closest contribute the most). This is the reason why the integration is performed on the whole element.

Projection to H1 might be an option, but keep in mind it is a global procedure, so it is a kind of integral fitting. This might cause artificial dislocation of some values, which might or might not be welcomed depending on the application (i.e., do you expect continuous or discontinuous profiles?). I would try to think differently maybe, I do not know your application exactly, but cannot you reformulate the problem in the weak sense? Like instead of calculation of strong divergence/curl, calculate them weakly? That is how L2 elements are typically used in EM codes 😉

from mfem.

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.