Giter Site home page Giter Site logo

slokhorst / e-scatter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from escatter/e-scatter

0.0 3.0 0.0 674 KB

Fast simulator for physical scattering processes in materials

CMake 1.73% QMake 0.12% Python 14.36% M 0.08% GLSL 0.22% Cuda 30.91% C++ 52.58%

e-scatter's Introduction

e-scatter

Fast CUDA-enabled simulator for electron scattering processes in materials.

Build Status

Building

Dependencies of the core simulator:

  • C++14 compiler (tested with GCC 5)
  • CUDA 8.0 or newer
  • CUB
  • CMake 3.8 or newer

Build the program:

cd e-scatter
mkdir build
cd build
cmake ..
make

To also build all of the utilities, append -DWITH_UTILS=ON to the cmake command. Dependencies required to build the utilities:

  • Boost
  • muParser
  • ImageMagick
  • FFTW
  • SDL2
  • OpenGL
  • GLEW

Usage

The main program is located at bin/csdem. It requires a geometry file, which can be generated with bin/line-gen, and an exposure file, which can be generated with scripts/pri-gen.py.

Testing

To run the unit tests, the googletest library should be available in the 3rdparty directory; clone it from github and run cmake with -DWITH_TEST=ON.

cd 3rdparty
git clone https://github.com/google/googletest.git
mkdir -p ../build
cd ../build
cmake .. -DWITH_TEST=ON
make
make test

Creating materials

The material files contain most of the physics involved.

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.