vasputils 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES +4 -1
- data/VERSION +1 -1
- data/bin/incar +3 -3
- data/bin/kpoints +2 -2
- data/bin/vasprunxml +1 -1
- data/test/poscar/LiF.poscar +0 -0
- data/vasputils.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e297754f2bcbea4b64863d02917aa692398c74d1
|
4
|
+
data.tar.gz: ec0ef83a5981865dc7d156064e34e6cbf780d59f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29894f6f81c0ac3584c9f6b84ce66429fdfa6af61251020d99f61054f1841b7f0e9782d162613d24bde63cc7e3413c2f5896df871d280c4dd07bcf2230aec90d
|
7
|
+
data.tar.gz: b56687394135f6347328575cd8ebdeae6a3c3cbbb6b2f8872a0919a69eae8b8b1ba075f102363774e443ca3b14b45f277203f4c133a1ae3f2f46d38bd70c4429
|
data/CHANGES
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/bin/incar
CHANGED
@@ -16,14 +16,14 @@ HERE
|
|
16
16
|
#option :opt
|
17
17
|
|
18
18
|
option :enmax,
|
19
|
-
banner: '[
|
19
|
+
banner: '[POTCAR]',
|
20
20
|
desc: 'Use the highest value of ENMAXes in POTCAR',
|
21
21
|
lazy_default: 'POTCAR'
|
22
22
|
option :enmax130,
|
23
|
-
banner: '[
|
23
|
+
banner: '[POTCAR]',
|
24
24
|
desc: 'Like --enmax option, but multiplied by 1.3',
|
25
25
|
lazy_default: 'POTCAR'
|
26
|
-
option :load, banner: '[
|
26
|
+
option :load, banner: '[INCAR]', desc: 'Load INCAR'
|
27
27
|
def generate(*args)
|
28
28
|
incar = VaspUtils::Incar.new
|
29
29
|
|
data/bin/kpoints
CHANGED
@@ -9,8 +9,8 @@ class KpointsCommand < Thor
|
|
9
9
|
long_desc " Generate KPOINTS file. \n" +
|
10
10
|
"E.g., kpoints generate --mesh 2 3 4 --shift 0.1 0.2 0.3 --monkhorst"
|
11
11
|
|
12
|
-
option :mesh, banner: '[
|
13
|
-
option :shift, banner: '[
|
12
|
+
option :mesh, banner: '[array]', desc: 'Indicate mesh', type: :array
|
13
|
+
option :shift, banner: '[array]', desc: 'Indicate shift', type: :array
|
14
14
|
option :monkhorst, desc: 'Use Monkhorst packing'
|
15
15
|
option :length, desc: 'Wavelength in real space. Need POSCAR.'
|
16
16
|
def generate
|
data/bin/vasprunxml
CHANGED
@@ -98,7 +98,7 @@ class VasprunXmlCommand < Thor
|
|
98
98
|
def sum_ions(dos_for_ions)
|
99
99
|
results = []
|
100
100
|
num_energies = dos_for_ions[0].size
|
101
|
-
num_ions =
|
101
|
+
num_ions = dos_for_ions.size
|
102
102
|
num_orbitals = dos_for_ions[0][0].size - 1
|
103
103
|
num_energies.times do |e|
|
104
104
|
energy = dos_for_ions[0][e][0]
|
data/test/poscar/LiF.poscar
CHANGED
File without changes
|
data/vasputils.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: vasputils 0.1.
|
5
|
+
# stub: vasputils 0.1.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "vasputils"
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.2"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["ippei94da"]
|
14
|
-
s.date = "2016-03-
|
14
|
+
s.date = "2016-03-11"
|
15
15
|
s.description = "This gem provides parsers for some of input and output files for VASP.\n This will provide support command for computations."
|
16
16
|
s.email = "ippei94da@gmail.com"
|
17
17
|
s.executables = ["incar", "kpoints", "poscar", "potcar", "vaspdir", "vaspgeomopt", "vasprunxml"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vasputils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ippei94da
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|