-
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: store numeric and string atomic data in separate files
- Loading branch information
Showing
5 changed files
with
73 additions
and
44 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,25 @@ | ||
{ | ||
"$id": "core/reusable/atomic-data/numeric-data", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Atomic data numeric properties", | ||
"description": "Numeric fields used in atomic data", | ||
"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" | ||
}, | ||
"distance": { | ||
"type": "number", | ||
"description": "Distance between two sites in angstrom." | ||
}, | ||
"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,27 @@ | ||
{ | ||
"$id": "core/reusable/atomic-data/string-data", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Atomic data string properties", | ||
"description": "String fields used in atomic data", | ||
"type": "object", | ||
"properties": { | ||
"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]$" | ||
} | ||
} | ||
} |
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