GithubHelp home page GithubHelp logo

Comments (8)

jmbeckers avatar jmbeckers commented on August 28, 2024

I tried with a 2D example. I suspect the reason for the difference is the default parameter alphabc which tries to reject the last grid points of the grid to "infinity" without actually moving the data points and you see a difference there. If you use alphabc=0 the results should be close to rounding errors.

from divand.jl.

JianghuiDu avatar JianghuiDu commented on August 28, 2024

The difference becomes bigger as epsilon2 becomes smaller.
Untitled

from divand.jl.

jmbeckers avatar jmbeckers commented on August 28, 2024

With alphabc=0 ?

from divand.jl.

JianghuiDu avatar JianghuiDu commented on August 28, 2024

It does remove the difference! But how does it affect the analysis?
Untitled

When you say "last grid point" do you mean the points in all dimensions on the boundaries? What about cyclic dimensions?

from divand.jl.

jmbeckers avatar jmbeckers commented on August 28, 2024

With your gridding of a gridded field it only modifies the analysis on the last and first grid point in each direction for small values of epsilon. These are the differences you see; the interior points should have the same residuals and analysis

from divand.jl.

jmbeckers avatar jmbeckers commented on August 28, 2024

"about cyclic dimensions" Normally that direction should not be affected but to be sure for your other problem I asked you to check anyway.

from divand.jl.

JianghuiDu avatar JianghuiDu commented on August 28, 2024

For my other problem it doesn't work. Those observations between 358 and 2 are still masked out.

from divand.jl.

jmbeckers avatar jmbeckers commented on August 28, 2024

Yes, that it was I expected (normally alphabc does not act in the periodic direction). So for the other problem we will need to have a closer look.

from divand.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.