Skip to content

Commit

Permalink
SOF-6892: include new hubbard parameters property
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Nov 2, 2023
1 parent ae03944 commit b4813e7
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 1 deletion.
16 changes: 16 additions & 0 deletions example/properties_directory/non-scalar/hubbard_parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "hubbard_u",
"units": "eV",
"values": [
{
"atomicSpecies": "Co1",
"orbitalName": "3d",
"value": 6.7553
},
{
"atomicSpecies": "Co2",
"orbitalName": "3d",
"value": 6.7553
}
]
}
8 changes: 7 additions & 1 deletion manifest/properties.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
convergence_ionic:
defaults:
units: eV
schemaId: properties-directory/workflow/convergence/ionic
schemaId: properties-directory/workflow/convergence/ionic
isMonitor: true

convergence_electronic:
Expand Down Expand Up @@ -257,3 +257,9 @@ inchi_key:

material:
schemaId: material

hubbard_parameters:
defaults:
units: eV
schemaId: properties-directory/non-scalar/hubbard-parameters
isResult: true
31 changes: 31 additions & 0 deletions schema/properties_directory/non-scalar/hubbard_parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$id": "properties-directory/non-scalar/hubbard-parameters",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Hubbard parameters",
"description": "Values of Hubbard U, V parameters in eV",
"properties": {
"name": {
"enum": ["hubbard_parameters"]
},
"units": {
"enum": ["eV"]
},
"values": {
"type": "array",
"items": {
"atomicSpecies": {
"type": "string"
},
"orbitalName": {
"type": "string",
"pattern": "^[1-7][sSpPdDfF]$"
},
"value": {
"type": "number",
"description": "Hubbard U values in eV"
}
}
}
},
"required": ["name"]
}

0 comments on commit b4813e7

Please sign in to comment.