Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCI-504: Add GW unit model #159

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"slug": "qm"
},
"tier3": {
"name": "ab initio",
"name": "ab-initio",
"slug": "abin"
},
"type": {
Expand Down
30 changes: 30 additions & 0 deletions example/models_directory/pb/qm/abin/gw.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"tier1": {
"name": "physics-based",
"slug": "pb"
},
"tier2": {
"name": "quantum-mechanical",
"slug": "qm"
},
"tier3": {
"name": "ab-initio",
"slug": "abin"
},
"type": {
"name": "GW Approximation",
"slug": "gw"
},
"subtype": {
"name": "G0W0",
"slug": "g0w0"
},
"tags": [
"greens-function",
"many-body-perturbation-theory",
"user-adjustable"
],
"method": {
"...": "include(../../../../method.json)"
}
}
2 changes: 2 additions & 0 deletions schema/models_directory/pb/qm/abin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"schemaId": "models-directory-pb-qm-abin",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ab initio schema",
"allOf": [
{
"$ref": "../qm.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
"schemaId": "models-directory-pb-qm-abin-configuration-interaction",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "configuration interaction schema",
"description": "configuration interaction wavefunction model",
"allOf": [
{
"$ref": "../../../../model.json"
"$ref": "../abin.json"
}
],
"properties": {
Expand Down
58 changes: 58 additions & 0 deletions schema/models_directory/pb/qm/abin/gw.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"schemaId": "models-directory-pb-qm-abin-gw",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GW schema",
"allOf": [
{
"$ref": "../abin.json"
}
],
"properties": {
"type": {
"enum": [
{
"name": "GW Approximation",
"slug": "gw"
}
]
},
"subtype": {
"description": "Abbreviations taken from Golze, Dvorak, Rinke, Frontiers in Chemistry, (2019) 7:377. https://doi.org/10.3389/fchem.2019.00377",
"enum": [
{
"name": "G0W0",
"slug": "g0w0"
},
{
"name": "eigenvalue self-consistent G (evGW0)",
"slug": "evgw0"
},
{
"name": "eigenvalue self-consistent GW (evGW)",
"slug": "evgw"
},
{
"name": "self-consistent G (scGW0)",
"slug": "scgw0"
},
{
"name": "self-consistent GW",
"slug": "scgw"
},
{
"name": "quasiparticle self-consistent GW",
"slug": "qsgw"
}
]
},
"augmentations": {
"$ref": "gw/augmentations.json"
},
"modifiers": {
"$ref": "gw/modifiers.json"
},
"tags": {
"$ref": "gw/tags.json"
}
}
}
16 changes: 16 additions & 0 deletions schema/models_directory/pb/qm/abin/gw/augmentations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"allOf": [
{
"$ref": "../../../../../model/augmentations.json"
}
],
"description": "Augmentations specific to this model type only.",
"items": {
"anyOf": [
{
"$ref": "definitions.json#/augmentations"
}
]
}
}
11 changes: 11 additions & 0 deletions schema/models_directory/pb/qm/abin/gw/definitions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"tags": {
"enum": [
"greens-function",
"many-body-perturbation-theory",
"refiner"
]
},
"augmentations": {},
"modifiers": {}
}
21 changes: 21 additions & 0 deletions schema/models_directory/pb/qm/abin/gw/modifiers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"allOf": [
{
"$ref": "../../../../../model/modifiers.json"
}
],
"description": "Modifiers specific to this model type only.",
"items": {
"anyOf": [
{
"description": "Green's function modifiers",
"$ref": "definitions.json#/modifiers"
},
{
"description": "ab initio modifiers",
"$ref": "../definitions.json#/modifiers"
}
]
}
}
20 changes: 20 additions & 0 deletions schema/models_directory/pb/qm/abin/gw/tags.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"allOf": [
{
"$ref": "../../../../../model/tags.json"
}
],
"description": "Tags specific to this model type only.",
"items": {
"anyOf": [
{
"$ref": "definitions.json#/tags"
},
{
"description": "Universal definitions",
"$ref": "../../../../definitions.json#/tags"
}
]
}
}
2 changes: 2 additions & 0 deletions schema/models_directory/pb/qm/dft.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"schemaId": "models-directory-pb-qm-dft",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "density functional theory schema",
"allOf": [
{
"$ref": "../qm.json"
Expand Down