GithubHelp home page GithubHelp logo

harperlangston / fmmvol3d Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.86 MB

Sequential Fast Multipole Method (FMM) Volume Solver Code in Free-Space or with Periodic / Dirichlet Boundary Conditions in a Box

License: GNU General Public License v3.0

C++ 65.22% Makefile 0.17% C 2.16% Fortran 32.14% MATLAB 0.32%
fmm fast multipole cpp

fmmvol3d's Introduction

fmmvol3d

Sequential Fast Multipole Method (FMM) Volume Solver Code in Free-Space or with Periodic / Dirichlet Boundary Conditions in a Box

//-----------------------------------------------------

//-----------------------------------------------------

SEQUENTIAL CODE

//--------------------------------------- To compile the code

  1. Declare FMM3D_DIR as the directory containing the code (e.g., fmmvol)

  2. Make sure fftw3 (or fftw2.1.5), blas and lapack libraries are installed, and change the library path variable LIBS in makefile.opt accordingly. If not installed, they can be easily downloaded and installed.

  3. From ${FMM3D_DIR} type: cd common make

  4. From ${FMM3D_DIR} type: cd 3d make vtt

//--------------------------------------- To run the test examples:

go to the 3d directory, and try the following: (1) single layer laplace kernel, mid accuracy vtt 111.opt (2) double layer stokes kernel, mid accuracy vtt 311.opt

    If the precomputed tables for a test are unavailable,
    the code will take a while to run the Adaptive Gaussian Quadrature
    for the first time, and results will be stored in
    ${FMM3D_DIR}/include for future use. To alter the precision of the
    tables (speeds up precomputation time), edit the dcuhre variables/

    Additional tests for various kernels as well as periodic and
    dirichlet tests are available.  Test cases can be viewed or
    augmented in 3d/exsol3d.hpp/cpp

    Currently, only precomputed tables are in the tarfile for the
    Laplacian.  For other tables, run the code as needed and wait for
    the tables to precompute.  If the tables are needed sooner, contact
    [email protected]

fmmvol3d's People

Contributors

harperlangston avatar

Watchers

 avatar  avatar

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.