-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #277 from Exabyte-io/feat/SOF-6892
SOF-6892: include new hubbard parameters property
- Loading branch information
Showing
13 changed files
with
263 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"name": "hubbard_u", | ||
"units": "eV", | ||
"values": [ | ||
{ | ||
"id": 1, | ||
"atomicSpecies": "Co1", | ||
"orbitalName": "3d", | ||
"value": 6.7553 | ||
}, | ||
{ | ||
"id": 2, | ||
"atomicSpecies": "Co2", | ||
"orbitalName": "3d", | ||
"value": 6.7553 | ||
}, | ||
{ | ||
"id": 3, | ||
"atomicSpecies": "O", | ||
"orbitalName": "3p", | ||
"value": 2.2438 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "hubbard_v", | ||
"units": "eV", | ||
"values": [ | ||
{ | ||
"id": 1, | ||
"atomicSpecies": "Co", | ||
"orbitalName": "3d", | ||
"id2": 1, | ||
"atomicSpecies2": "Co", | ||
"orbitalName2": "3d", | ||
"distance": 0, | ||
"value": 6.7553 | ||
}, | ||
{ | ||
"id": 1, | ||
"atomicSpecies": "Co", | ||
"orbitalName": "3d", | ||
"id2": 2, | ||
"atomicSpecies2": "O", | ||
"orbitalName2": "3p", | ||
"distance": 3.5423, | ||
"value": 2.2438 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"$id": "core/reusable/atomic-data/per-orbital", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Atomic data per orbital", | ||
"description": "Atomic properties per orbital e.g., Hubbard U parameters.", | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "integer", | ||
"description": "Site number or index in the lattice" | ||
}, | ||
"atomicSpecies": { | ||
"type": "string", | ||
"pattern": "^[a-zA-Z]{1,2}[\\d+]?$", | ||
"description": "Example: Co1, Mn" | ||
}, | ||
"orbitalName": { | ||
"type": "string", | ||
"pattern": "^[1-7][sSpPdDfF]$" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"$id": "core/reusable/atomic-data/per-orbital-pair", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Atomic data per orbital pair", | ||
"description": "Atomic properties per orbital pair e.g., Hubbard V parameters.", | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "integer", | ||
"description": "Site number or index in the lattice" | ||
}, | ||
"id2": { | ||
"type": "integer", | ||
"description": "Site number or index in the lattice of second site" | ||
}, | ||
"atomicSpecies": { | ||
"type": "string", | ||
"pattern": "^[a-zA-Z]{1,2}[\\d+]?$", | ||
"description": "Example: Co1, Mn" | ||
}, | ||
"atomicSpecies2": { | ||
"type": "string", | ||
"pattern": "^[a-zA-Z]{1,2}[\\d+]?$", | ||
"description": "Example: Co2, O" | ||
}, | ||
"orbitalName": { | ||
"type": "string", | ||
"pattern": "^[1-7][sSpPdDfF]$" | ||
}, | ||
"orbitalName2": { | ||
"type": "string", | ||
"pattern": "^[1-7][sSpPdDfF]$" | ||
}, | ||
"distance": { | ||
"type": "number", | ||
"description": "Distance between two sites in angstrom." | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$id": "core/reusable/atomic-data/value-number", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Atomic data numeric properties", | ||
"description": "Numeric value specific to atomic data", | ||
"type": "object", | ||
"properties": { | ||
"value": { | ||
"type": "number", | ||
"description": "Value related to a specific property, e.g., Hubbard U, V etc." | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$id": "core/reusable/atomic-data/string-value", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Atomic data string properties", | ||
"description": "String value specific to atomic data", | ||
"type": "object", | ||
"properties": { | ||
"value": { | ||
"type": "string", | ||
"description": "String value specific to atomic data" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"$id": "core/reusable/atomic-data-per-orbital-numeric", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Atomic data per orbital numeric", | ||
"description": "Atomic properties per orbital pair with numeric value e.g., Hubbard V parameters.", | ||
"type": "object", | ||
"allOf":[ | ||
{ | ||
"$ref": "atomic_data/per_orbital.json" | ||
}, | ||
{ | ||
"$ref": "atomic_data/value_number.json" | ||
} | ||
] | ||
} |
15 changes: 15 additions & 0 deletions
15
schema/core/reusable/atomic_data_per_orbital_pair_numeric.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"$id": "core/reusable/atomic-data-per-orbital-pair-numeric", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Atomic data per orbital pair numeric", | ||
"description": "Atomic properties per orbital pair with numeric value e.g., Hubbard V parameters.", | ||
"type": "object", | ||
"allOf":[ | ||
{ | ||
"$ref": "atomic_data/per_orbital_pair.json" | ||
}, | ||
{ | ||
"$ref": "atomic_data/value_number.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"$id": "properties-directory/non-scalar/hubbard-u", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Hubbard U parameters", | ||
"description": "Hubbard U value in eV", | ||
"properties": { | ||
"name": { | ||
"enum": ["hubbard_u"] | ||
}, | ||
"units": { | ||
"enum": ["eV"] | ||
}, | ||
"values": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "../../core/reusable/atomic_data_per_orbital_numeric.json" | ||
} | ||
], | ||
"required": [ | ||
"id", | ||
"atomicSpecies", | ||
"orbitalName", | ||
"value" | ||
] | ||
} | ||
} | ||
}, | ||
"required": ["name"] | ||
} |
Oops, something went wrong.