Giter VIP home page Giter VIP logo

conservationlaws's Introduction

Conservation Laws

License

This is a set of tools for numerically solving different kinds of conservation or balance laws with OpenCL. Currently implemented are:

  • linear transport with constant and variable coefficients,
  • the nonlinear magnetic induction equation,
  • ideal MHD.

The code is generalised in a form that allows to easily implement and switch between different systems of conservation or balance laws. All numerical aspects are encapsulated in OpenCL kernels. The OpenCL host side is abstracted with the help of MatCL, an OpenCL interface for MathWorks Matlab. This provides the user with an intuitive and easy way of handling and processing input and output data without any intricate knowledge of OpenCL and allows for interactive development. Usage of the OpenCL kernels is not limited to Matlab.

Exemplary testcases can be found in the examples folder. Additional comments are provided in the source files.

This is work in progress. If you have any questions or want to contribute feel free to contact us.

Prerequisites & Setup

To run the examples the following must be installed:

  • OpenCL Driver (CPU or GPU)
  • OpenCL C++ Headers (e.g. provided by the OpenCL vendors SDKs)
  • Mathworks Matlab
  • MatCL

For ease of use you can add MatCL to the search path of Matlab.

License

This project is licensed under the terms of the Creative Commons CC BY-NC-ND 4.0 license.

Disclaimer

Product and company names may be trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them or their affiliates. Everything is provided as is and without warranty. Use at your own risk!

conservationlaws's People

Contributors

kostaszki avatar philipheinisch avatar ranocha avatar

Watchers

 avatar  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.