GithubHelp home page GithubHelp logo

vary-grid-qfm's Introduction

Approximating Q to accelerate modeling

The repo focuses on approximating Q effect to accelerate finite difference in both 2D/3D, acoustic/elastic modeling.

Highlights:

  • varying grid spacing in different time blocks
  • 2D and 3D implementations
  • acoustic and elastic implementations
  • fortran and C/CUDA implementations

Compile dependency & instrutions

This project is first written by Bob Clapp in fortran using SEPLib and Intel compilers. Conghui He continues its work by moving the 2D acoustic modeling on CPU to other difference implementations, including 3D acoustic in fortran and C, 3D elastic in C, 3D elastic in CUDA (GPU). Conghui is more familiar with Madagascar than SEPLib. So the following dependencies should be meet in order to build the project:

  • Intel compilers
  • GCC
  • CUDA
  • Madagascar
  • scons

You need edit config/config.sh and source it via . config/config.sh. .envrc is a symbolic link to config/config.sh. It works if you have direnv installed that will update the environment variables once you enter this project.

To compile the project, run scons in the root of the project after . config.sh

Run

I create a two test cases in test/ directory. Enter one of them and run scons.

Data dependency

In the src/acoustic-2d-fortran and src/acoustic-3d-fortran, additional data are needed to run the program. The data is not public to others. You may ask Bob's permission if necessary.

Acknowledgment

  1. Many thanks Bob for handing over the 2D acoustic code and answering all questions.
  2. Thanks Yi Shen for deriving 3D elastic Q approximation formulations.
  3. Thanks Gustavo for discussing 3D elastic modeling.
  4. Thanks SEPLib and Madagascar repo for the code. Part of the code in this project is borrowed from Madagascar and SEPLib. Then I add my work on it.

vary-grid-qfm's People

Contributors

conghui avatar

Stargazers

Y. Tang avatar Qiang avatar

Watchers

James Cloos 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.