Code Monkey home page Code Monkey logo

chombo-discharge's Introduction

DOI DOI

chombo-discharge

This is chombo-discharge, a multiphysics code which uses Chombo for discharge simulations with adaptive mesh refinement (AMR) on embedded boundary grids. chombo-discharge is aimed at performant electric discharge simulations (e.g., Townsend discharges, streamer discharges, sprites, etc.), and scales to tens of thousands of CPU cores.

chombo-discharge features include:

  • Fully written in C++.
  • Parallelized with OpenMP, MPI, or MPI+OpenMP.
  • Scales to tens of thousands of CPUs.
  • Supports complex geometries (electrodes/dielectrics).
  • Parallel I/O with HDF5.
  • Efficient geometric multigrid solvers.
  • Support for dual-grid operations with individual load-balancing of particle and fluid solvers.
  • Support for both particle and fluids, including particle-mesh operations (e.g., Particle-In-Cell).

A modified version of Chombo is distributed together with this code.

Gallery

Installation

Installation of chombo-discharge depends on the level of parallelism that is desired (if any). The code supports OpenMP, MPI, and MPI+OpenMP types of parallelism. For complete installation instructions for serial or parallel execution, see https://chombo-discharge.github.io/chombo-discharge/Base/Installation.html.

Documentation

User documentation is available as HTML or as a PDF. A doxygen-generated API is also available.

License

See LICENSE and Copyright.txt for redistribution rights.

Contributing

We welcome feedback, bug reports, or code contributions.

  1. Create a branch for the new feature.

    git checkout main
    git pull
    git checkout -b my_branch
    
  2. Develop the feature.

    git add .
    git commit -m "my commit message"
    

    If relevant, add Sphinx and doxygen documentation.

  3. Format the source and example codes using clang-format:

    find Source Physics Geometries Exec \( -name "*.H" -o -name "*.cpp" \) -exec clang-format -i {} +
    
  4. Push the changes to GitHub

    git push --set-upstream origin my_branch
    
  5. Create a pull request and make sure the GitHub continuous integration tests pass.

chombo-discharge's People

Contributors

rmrsk avatar fannyskirbekk avatar

Stargazers

 avatar

Watchers

 avatar

chombo-discharge's Issues

Performance benchmark

Do a performance benchmark using various kernel implementations

  1. Fortran
  2. our BoxLoops
  3. MD_BoxLoop
  4. VLAs
  5. ShapeArray/BaseFab macros).

We're probably communication bound anyways, but at least we'll see if we need better kernels.

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.