Skip to main content

Generate stacking layers via the Joining and Arrangement of Multilayers (JAM) notation

Project description

<<<<<<< HEAD

xjam

Joining and Arrangement of Multilayers

This program identifies and generates stacking sequences of high-symmetric honeycomb lattice layered materials via the Joining and Arrangement of Multilayers (JAM) notation by mapping a string of characters to the structure of a polytype using only its chemical symbols.

Installing JAM

You can install and uninstall with:

# install
pip3 install xjam

# invoque as:
x.jam

# uninstall
pip3 uninstall xjam

or

# install
git clone https://github.com/fortizchi/xjam
cd xjam
python3 setup.py install --record files.txt

# invoque as:
x.jam

# uninstall
xargs rm -rf < files.txt

The JAM.inp file

The user must create a JAM.inp file to control the options when running the JAM algorithm. The JAM.inp file includes the following variables:

-option: INT, type of material (PL, BPL, BU, BBU)
-num_layers: INT, number of layers to stack
-atom_list: CHAR, list of the chemical symbols of the elements in the material
-latticep: FLOAT, the lattice constant used to scale all lattice vectors
-z_vacuum: FLOAT, the vacuum space
-buckling: FLOAT, the distortion out of the plane
-distance: FLOAT, the interlayer distance

Running JAM

x.jam

eec1dd5 (JAM2)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

xjam-2.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file xjam-2.0-py3-none-any.whl.

File metadata

  • Download URL: xjam-2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for xjam-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e354a365d62eba907571e5a1850521d09638dc57e01819d718d1c72711d602f
MD5 5ac44886a9edd2e07a14adc8d7a2c253
BLAKE2b-256 95744c7087c306491afa5639aed48ca7c734e701eba7e93b33be5cba73de6115

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page