GithubHelp home page GithubHelp logo

mbreithecker / coupleddynamics Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 14 KB

Lattice simulation for two coupled fields with different dynamics. This software can be used to study critical phenomena.

License: MIT License

CMake 1.49% C++ 32.67% Cuda 56.17% Python 9.67%
lattice-qcd lattice-field-theory cuda cpp14 physics bachelor-project

coupleddynamics's Introduction

Critical Behavior of Coupled Scalar Fields with Different Dynamics


This project was created for my bachelor's thesis. The goal of this thesis is to investigate properties of two coupled fields near the critical point.

Compiliation and Execution

A recent version of the nvcc and the appropriate nvdida driver is needed.

./cmake .
./make coupledDynamics

# Execution
./coupledDynamics --help

Output

The output is stored in a JSON-like Yaml-file. The default name is measurements.yaml. Every simulation is stored as a json-object in a single line. Therefore, the same file can be used for multiple simulations. Filtering of the results can be done with the database.py script.

The json-object contains every parameter as well as every measurement. Schema of the measurement-object:

{
  "N": Integer, //lattice-sites
  "T": Float, //temperature
  "C": Float, //coupling constant
  "D": Float, //dimension
  "t": Float, //step-width
  "msq_A": Float,
  "lambda_A": Float,
  "gamma_A": Float,
  "msq_B": Float,
  "gamma_B": Float,
  "J": Float, //external field
  "mu": Float,
  "fastTherm": Boolean,
  "thermTime1": Integer,
  "thermTime2": Integer,
  "thermTime3": Integer,
  "dynamicChangeMode": ENUM("ReInit","Zero","Subtract"),
  "measure_time": Integer,
  "p": Boolean, //print every step and output to additional file
  "seed": Integer, 
  "A": Integer, // amount of simulations
  "S": Float, // external thermalization field
  // mesaurement results:
  "sigma": [Float],
  "n": [Float],
  "sigma_sq": [Float],
  "n_sq": [Float]
},

If the observables are calculated for every step, the measurement also contains measurements for the momentum fields.

Contributing

By creating a pull request you accept that the code is licenced under the conditions specified in the LICENCE.txt file.

coupleddynamics's People

Contributors

mbreithecker avatar

Stargazers

 avatar

Watchers

 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.