Giter Site home page Giter Site logo

mardom / sledgehamr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from msabuschmann/sledgehamr

0.0 0.0 0.0 28.93 MB

Sledgehamr is an AMReX-based code package to simulate the dynamics of coupled scalar fields on a 3-dimensional adaptive mesh.

Home Page: https://msabuschmann.github.io/sledgehamr/

License: Apache License 2.0

C++ 92.69% Python 7.31%

sledgehamr's Introduction

arXiv

Sledgehamr: Simulating scalar fields with adaptive mesh refinement

Sledgehamr (ScaLar fiEld Dynamics Getting solvEd witH Adaptive Mesh Refinement) is an AMReX-based code to simulate the dynamics of coupled scalar fields on a 3-dimensional mesh. Adaptive mesh refinement (AMR) can boost performance if spatially localized regions of the scalar field require high resolution. Compatible with both GPU and CPU clusters, sledgehamr offers a flexible and customizable framework. This framework enables various applications, such as the generation of gravitational wave spectra.

For a detailed description of the code please consult the accompanying paper: https://arxiv.org/abs/arXiv:2404.02950

For questions, comments, or bug reports please use the GitHub issues feature, or contact me via email: [email protected]

Installation

Prerequisites

  • AMReX (git clone https://github.com/AMReX-Codes/amrex)
  • FFTW3
  • Boost

Running the minimal examples

The minimal examples can be run by following the instructions in the Jupyter notebooks notebooks/MinimalExample.ipynb and notebooks/NextToMinimalExample.ipynb.

Create a project

Sledgehamr comes with a few different physics scenarios already implemented such as axion strings and a first-order phase transition of a single scalar field + gravitational waves, as well as two example projects MinimalExample and NextToMinimalExample. The accompanying paper describes in detail how other scenarios can be implemented.

Code documentation

How to cite

If you use sledgehamr, please cite its accompanying paper:

  • Malte Buschmann, "Sledgehamr: Simulation Scalar Fields with Adaptive Mesh Refinement", arXiv:2404.02950

BibTex:

@misc{buschmann2024sledgehamr,
      title={Sledgehamr: Simulating Scalar Fields with Adaptive Mesh Refinement}, 
      author={Malte Buschmann},
      year={2024},
      eprint={2404.02950},
      archivePrefix={arXiv},
      primaryClass={hep-ph}
}

Publications using this code

2022

2024

  • "Signatures of primordial energy injection from axion strings", J. Benabou et al., Phys.Rev.D 109 (2024) 5, 055005, https://arxiv.org/abs/2308.01334
  • "Thick and Thin Wall Collisions with Adaptive Mesh Refinement", M. Buschmann et al., to appear
  • "Axion Mass Prediction from adaptive mesh refinement cosmological lattice simulations", J. Benabou et al., to appear

sledgehamr's People

Contributors

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