Giter Site home page Giter Site logo

3D FDFD about ceviche HOT 4 CLOSED

fancompute avatar fancompute commented on June 12, 2024
3D FDFD

from ceviche.

Comments (4)

kaipengliuHIT avatar kaipengliuHIT commented on June 12, 2024

I think there something wrong with the Function make_Dxf and make_Dxb, I think the 'f' should be 'b', and the ‘b’ should be 'f'. These two matrices may be reversed. Or could you tell me what the meaning of make_Dxf? Is it Dex or Dhx in the fdfd_note by R. C. Rumpf? I have this trouble when I write the code for FDFD3D based on it.

from ceviche.

ianwilliamson avatar ianwilliamson commented on June 12, 2024

These are the derivative operators. The "x" in Dxf refers to the derivative along the x-direction and the "f" refers to the operator implementing a "forward" finite difference. The "b" in Dxb refers to the operator implementing a "backward" finite difference.

from ceviche.

twhughes avatar twhughes commented on June 12, 2024

@kaipengliuHIT As ian said 'Dxf' is the forward finite difference derivative in x (ie dE/dx(x, y, z) ~ Dxf * E(x,y,z) = ( E(x+d, y, z) - E(x-d, y, d) ) / 2d. From the FDFD notes I linked, these refer to Dex.

Its possible there are differences between our implementation and the notes because we didn't write them strictly following the notes. However, as long as one is consistent, it shouldn't make a difference whether the forward difference refers to e or h as long as the other uses the opposite derivative in all cases.

But if you find some specific area where you think our implementation is incorrect please point it out to us and we'll take a look, thanks

from ceviche.

kaipengliuHIT avatar kaipengliuHIT commented on June 12, 2024

@twhughes @ianwilliamson Thank you!!!

from ceviche.

Related Issues (16)

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.