Giter Site home page Giter Site logo

zfs-code's Introduction

Zero Field Splitting Code

Description

This code calculates the ZFS parameter as in the article:

M. J. Rayson and P. R. Briddon, Physical Review B 77, 035119 (2008).

For citation of this code, please cite this paper:

Tyler J. Smart, Kejun Li, Junqing Xu & Yuan Ping, npj Computational Materials 7, 59 (2021).

Prerequisites:

Quick Installation:

./configure [options]
make

(make will compile all code and link executables in ./bin/)

After Installation:

Try out the example calculations under the directory ./Examples/

Help:

More installation options

Specify mpi path of `~/.openmpi` and fftw path of `~/.fft-3.3.8`

./configure -m ~/.openmpi -f ~/.fft-3.3.8

Help installing fftw

Automatic installation:

./scripts/FFTW_install.sh

For local installation:

./scripts/FFTW_install.sh -l

Or manual installation:

wget http://www.fftw.org/fftw-3.3.8.tar.gz
tar -xzvf fftw-3.3.8.tar.gz
cd fftw-3.3.8
configure [options]
make
make install

Flow of the ZFS Code:

  1. input file specifies bands to compute and location of grid and wfc files
  2. read npw, grid, and wfc
  3. calculate f1(G), f2(-G), f3(G) [fft or convolution]
  4. calculate ρ(G-G')
  5. calculate D_(ab); including ZFS parameter

Author(s)

Tyler J. Smart (tjsmart)

zfs-code's People

Contributors

tjsmart avatar yuanpingucsc avatar shiminzhang21 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.