Max Luebke b4b880b8b5 squash! Adding some comments to library header.
Merge branch '2D' of git.gfz-potsdam.de:mluebke/diffusion into 2D
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2022-03-08 15:02:22 +01:00
2022-03-08 14:49:56 +01:00
2022-03-02 12:28:36 +01:00
2021-12-13 19:44:20 +01:00

Diffusion module

This is the according repository to the diffusion module we discussed earlier. With this readme I will document all my steps I've done and will do.

Current State

  • 1D diffusion is possible by setting bc at left/right end by hand by setBoundaryCondition() or use the default value (Neumann with gradient 0)
  • Always set concentrations/diffusion coefficients by using std::vecto
  • Set concentrations of ghost zones by defining them via a list tuples.

    • index 0 points to the left ghost zone
    • index 1 to the right ghost zone
  • simple datastructure, which is currently just a class called BTCSDiffusion

ToDos

  • keep sparse matrix in memory
  • allow different boundary conditions at the ends and also inside the grid
  • implement 2D diffusion
Description
No description provided
Readme GPL-2.0 6.5 MiB
Languages
Jupyter Notebook 47%
C++ 33.4%
R 10.8%
HTML 6.1%
CMake 1.3%
Other 1.4%