Giter VIP home page Giter VIP logo

jgf's Introduction

JGF

Routines for calculating various physical properties of graphene and related materials, mainly using Green's Functions. Low level routines are in FORTRAN. Higher level routines and numerical integration are in Python.

Modules

GF.py contains basic Green's Functions for different systems. Often these will just be wrappers for the FORTRAN functions. GFRoutines.py constains utility functions (generally mx population routines). Coupling.py has a bunch of functions for calculating the IEC for different systems and impurity conformations. Recursive.py builds armchair nanoribbons recursively, and also calculates the conductance for same. Dynamic.py calculates spin susceptibilities in the presense of peturbed impurities in the aformentioned systems.

Main Files

Main.py contains whatever projects I am working on at the moment. Normally it will import a bunch of modules from above NicePlot.py uses seaborn to create what I think are presentable plots. It will normally use data from the /data folder

Other Files

tst.py is a unit testing module. I haven't fully completed this, and it suffers from the normal floating point problems, and the fact that I would expect some things to change after program changes. TestRoutines is a legacy file that stores a bunch of routines that I never though would stand the test of time. functionsample.py provides a way to plot functions adaptively, and is essential when working with the susceptibility.

Running

The FORTRAN module is compiled using f2py --fcompiler=gfortran --opt=-O -c -m FMod FMod.f95 I avoid capital letters while using f2py, since this seems to avoid the name mangling issue.

Python files are run in the usual manner of python $file.

jgf's People

Stargazers

James Lawlor avatar

Watchers

James Cloos avatar  avatar

Forkers

jameslawlor

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.