-
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.
SOF-6892: refactoring atomic data per orbital and orbital pair
- Loading branch information
Showing
11 changed files
with
99 additions
and
64 deletions.
There are no files selected for viewing
This file was deleted.
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,13 @@ | ||
{ | ||
"$id": "core/reusable/atomic-data/numeric-value", | ||
"$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,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
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 was deleted.
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,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/numeric_value.json" | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
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/numeric_value.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
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