Giter Site home page Giter Site logo

zer011b / fdtd3d Goto Github PK

View Code? Open in Web Editor NEW
115.0 7.0 33.0 4.72 MB

fdtd3d is an open source 1D, 2D, 3D FDTD electromagnetics solver with MPI, OpenMP and CUDA support for x64, ARM, ARM64, RISC-V, PowerPC architectures

License: GNU General Public License v2.0

C++ 82.94% CMake 2.02% C 0.76% Cuda 3.38% Shell 10.91%
fdtd mpi cuda simulation c-plus-plus electromagnetic gpu modelling cpp parallel

fdtd3d's People

Contributors

zer011b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fdtd3d's Issues

Grid share syncronization

  • Grid in Scheme should be verified to have the same division over nodes
  • During calculation process share should be done after usage of the last row

Build types

Add build flags for debug and release builds

Non-square grid sizes

Add support on non-square 2-dimensional parallel buffers for 2D and 3D grids and non-qubical 3-dimensional parallel buffers for 3D grids.

  • 2D grid
  • 3D grid

Concurrency for 3D mode

Add concurrency (MPI) for 3D mode

  • Cube concurrency. (Number of processes - n^3)
  • Square concurrency.
  • Linear concurrency.

PML layers

Investigate other PML layers than UPML

Share threshold

  • Remove each time step share procedure and check threshold, so share each K steps.
  • For left buffer and right buffer of different size, share could be performed not at the minimum of their K1 and K2 steps but separately for each of left and right.

Access to grid elements

Access grid elements with getFieldPointValue by absolute coordinate and check that coordinate corresponds to this process

2D TF/SF

Add total field/scattering field for 2D mode

Unify parallel grid code

Parallel share could be unified more

  • Grid interface class. Heirs - Grid1D - Grid2D - Grid3D. ParallelGrid - heir of specified one during build.
  • Unify parallel grid constructor

Border buffers

Do not initialize buffers for border nodes of grid

  • 2D grid
  • 3D grid

3D mode

Add simple 3D mode solver

3D mode TF/SF

Add total field/scattering field for 3D move solver

2D PML

Add UPML for 2D modes

Remove redundant elements

Every node allocates node size plus size of buffers. Some nodes do not need some buffers, fix this

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.