GithubHelp home page GithubHelp logo

timbz / hipnos Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 3.0 5 MB

A simulation software for high performance lasers

License: GNU General Public License v3.0

C++ 94.72% C 0.88% Shell 1.83% MATLAB 0.74% Cuda 0.45% QMake 1.39%

hipnos's Introduction

HIgh Performance Non Linear Optics Simulation

Modelling and simulation of optical beamlines

Motivation

Up to today there are no tools that support the modeling and simulation of optical beam lines in a sophisticated visual manner. Existing tools are costly and difficult to understand for the end user, especially when the beam lines become very complex. Most optical beam systems can be abstracted to a linear beam line, resulting in a reduced complexity and better understandability. It is furthermore possible to group functionally related elements together to reduce the complexity of the system.

Description

This diploma thesis presents a simulation software for high performance lasers. The graphical interface provides the user with the ability to string together optical components to build simple beam lines. The propagation of light through the system can be simulated with the gaussian beam model and the fourier optics model. Intensive mathematical operations are sourced out from the main application into plugins. As a consequence of this design it is possible to implement different versions of the plugin interface tailored towards specific system configurations. It is further investigated how the parallel processing power of modern GPUs can be used to improve computation time.

Results

Propagation simulation of a laser beam using the gaussian beam model

Propagation simulation of a laser beam using the gaussian beam model

Propagation simulation of a laser beam with fourier optics

Propagation simulation of a laser beam with fourier optics

Dependecies

  • Qt 4
  • VTK 5

Build:

  1. Install the Qt SDK
  2. Open hipnos.pro with QtCreator
  3. Set the corresponding environment variables depending on the plugins you want to build:
    • HIPNOS_BUILD_ACML_PLUGIN
    • HIPNOS_BUILD_APPML_PLUGIN
    • HIPNOS_BUILD_CBLAS_PLUGIN
    • HIPNOS_BUILD_CUDA_PLUGIN
    • HIPNOS_BUILD_GSL_PLUGIN
  4. Install dependencies:
    • Main application: VTK (Windows: dependencies included in the project)
    • HipnosACMLMathPlugin: AMD ACML
    • HipnosAPPMLMathPlugin: AMD APPML
    • HipnosCBlasMathPlugin: any CBlas compatible library, FFTW
    • HipnosCudaMathPlugin & HipnosCudaSinglePrecisionMathPlugin: CUDA SDK
    • HipnosGSLMathPlugin: GSL (Windows: dependencies included in the project)
  5. For each plugin set the INCLUDEPATH and LIBS variables in the plugins/[PluginName]/[PluginName].pro file
  6. Build

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.