Giter VIP home page Giter VIP logo

pygen4poscar's Introduction

Usage

This set of tools uses python to deal with POSCAR5 Direct.

Data structure

General

SCRIPTDIR : '/home/zkdsnbzx/src/pypos' list element[:] : ['La','Mn','O','O','O'] np.float64 cell[0:2][0:3] : [a1,a2,a3],[b1,b2,b3],[c1,c2,c3]] (POSCAR) np.float64 base[0:2][0:3] : [[rx1,ry1,rz1],[rx2,ry2,rz2],...,[rx10,ry10,rz10]] (0<rx,ry,rz<1, Direct) np.float64 rpos_imaged[:][0:3] : [[rx1-1,ry1-1,rz1-1],...,[rx10+1,ry10+1,rz10+1]] (Direct) np.float64 pos_original[:][0:3] : [[rx1,ry1,rz1],[rx2,ry2,rz2],...,[rx10,ry10,rz10]] * [a\,b\,c] (Cartesian) np.float64 pos_imaged[:][0:3] : [[rx1-1,ry1-1,rz1-1],...,[rx10+1,ry10+1,rz10+1]] * [a\,b\,c] (Cartesian) np.float64 dist_qui[:][0:5] : [id_imaged1,id_imaged2,atomid1,atomid2,|r1-r2|] ele_* : element of homogeneous list * id_* : id of homogeneous list * (starting from 0) tmp_??? : tmp physical quantity with meaning ???

  • : really physical (core) quantity with meaning * master_data_structure:{'quantity':quantity}, used for passing&using in functions in modules

Parameters (keywords)

truncate_dist_at integer exclude_pair[:][0:1] list exclude_ele_pair[:][0:1] list exclude_dist[:][0] np.float64

##calculate_mag_j np.float64 dist_noindex_nonrep[0:?][0] np.float64 all dis_truncated[:][2] 1E-3 ? row * [dis] np.float64 dist_qui_ex_tr[:][0:5] : dis_qui exclude-ed and truncated np.float64 effective_magnetic_pair[:][0:2] : effective magnetic pairs a.k.a. pairs in dist_qui_tr_ex

##genposcar_using_radius np.float64 dist_noindex_nonrep[0:?][0] np.float64 all dis_truncated[:][2] 1E-3 ? row * [dis] np.float64 dist_qui_ex_tr[:][0:5] : dis_qui exclude-ed and truncated np.float64 target_pair[:][0:2] : effective magnetic pairs a.k.a. pairs[id0_imaged:id1_imaged] in dist_qui_tr_ex

pygen4poscar's People

Contributors

xiangzhang1 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.