Skip to content

Commit

Permalink
adapt exchange correlation to the current web-app schema
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Sep 7, 2023
1 parent e82f1f0 commit 286a1cc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
5 changes: 4 additions & 1 deletion example/methods_directory/physical/psp.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"version": "5.2",
"path": "/export/share/pseudo/si/gga/pbe/vasp/5.2/paw/default/POTCAR",
"type": "paw",
"exchangeCorrelation": "/pb/qm/dft/ksdft/gga?functional=pbe",
"exchangeCorrelation": {
"approximation": "gga",
"functional": "pbe"
},
"filename": "POTCAR",
"schemaVersion": "0.2.0",
"name": "pseudopotential",
Expand Down
1 change: 1 addition & 0 deletions schema/core/reusable/atomic_orbital.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
},
"occupation": {
"type": "number",
"description": "Shell occupation",
"minimum": 0,
"maximum": 14
}
Expand Down
17 changes: 15 additions & 2 deletions schema/methods_directory/physical/psp/file.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,21 @@
"description": "explains the version of where this came from"
},
"exchangeCorrelation": {
"$ref": "../../../core/reusable/category_path.json",
"description": "DFT model path, e.g. '/pb/qm/dft/ksdft/gga?functional=pbe'"
"properties": {
"approximation": {
"description": "DFT approximation",
"type": "string"
},
"functional": {
"description": "Exchange correlation functional",
"type": "string"
},
"path": {
"description": "DFT model path, e.g. '/pb/qm/dft/ksdft/gga?functional=pbe'",
"$ref": "../../../core/reusable/category_path.json"
}
}

},
"valenceConfiguration": {
"type": "array",
Expand Down

0 comments on commit 286a1cc

Please sign in to comment.