Giter VIP home page Giter VIP logo

julianschwingermodel.jl's Introduction

JulianSchwingerModel

Lattice Schwinger model with two flavours. Based on https://github.com/urbach/schwinger and rewritten in Julia. The lecture slides for the original tutorial can be found at http://theor.jinr.ru/~diastp/summer11/lectures/Urbach-2.pdf

Using this code

This code has been tested on Mac OSX, but should work for any architechure and operating system that uses julia (tested on v1.6.2 as of Aug 5, 2021). The latest version can be downloaded here:

https://julialang.org/downloads/

Once you have julia downloaded and compiled, open the application and type a closing square bracket "]" and enter the command:

dev https://github.com/ylin910095/JulianSchwingerModel.jl.git

This will download the JulianSchwingerModel git repository into the directory

 ~/.julia/dev

You may now import the entire contents of this repository into your julia scripts using the julia command:

"using JulianSchwingerModel" or "import JulianSchwingerModel"

An example has been provided in,

   example/pion_corr.jl

To run this package from the Terminal, you must first make the julia executable visible to your environment. To do this, create a soft link in your local bin directory, for example:

   ln -s /Applications/Julia-1.6.app/Contents/Resources/julia/bin/julia /usr/local/bin/julia

Then change directory to 'example' and run the command:

 cd example
 julia pion_corr.jl

Note that in order to be able to run the example, both TensorOperations.jl and NPZ.jl must be added to julia.

julianschwingermodel.jl's People

Contributors

cpviolator avatar larry910095 avatar ylin910095 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.