Skip to content

Commit

Permalink
SOF-7449: chore ==> rename wavefunction and charge density
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Feb 21, 2025
1 parent 72ef2c7 commit d8864fc
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion dist/js/example/methods_directory/physical/psp.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"type": "nc",
"version": "0.4",
"cutoffs": {
"wfc": {
"wavefunction": {
"standard": 42,
"high": 50,
"low": 38
Expand Down
2 changes: 1 addition & 1 deletion dist/js/example/methods_directory/physical/psp/file.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"type": "nc",
"version": "0.4",
"cutoffs": {
"wfc": {
"wavefunction": {
"standard": 42,
"high": 50,
"low": 38
Expand Down
4 changes: 2 additions & 2 deletions dist/js/schema/methods_directory/physical/psp.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
"description": "Suggested cutoff values for wave function and charge density.",
"additionalProperties": false,
"properties": {
"wfc": {
"wavefunction": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Reusable accuracy levels schema",
"description": "Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.",
Expand All @@ -334,7 +334,7 @@
}
}
},
"rho": {
"density": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Reusable accuracy levels schema",
"description": "Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.",
Expand Down
4 changes: 2 additions & 2 deletions dist/js/schema/methods_directory/physical/psp/file.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"description": "Suggested cutoff values for wave function and charge density.",
"additionalProperties": false,
"properties": {
"wfc": {
"wavefunction": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Reusable accuracy levels schema",
"description": "Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.",
Expand All @@ -149,7 +149,7 @@
}
}
},
"rho": {
"density": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Reusable accuracy levels schema",
"description": "Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"description": "Suggested cutoff values for wave function and charge density.",
"additionalProperties": false,
"properties": {
"wfc": {
"wavefunction": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Reusable accuracy levels schema",
"description": "Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.",
Expand All @@ -139,7 +139,7 @@
}
}
},
"rho": {
"density": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Reusable accuracy levels schema",
"description": "Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.",
Expand Down
2 changes: 1 addition & 1 deletion dist/js/schemas.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/js/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11839,7 +11839,7 @@ export interface PseudopotentialFile {
/**
* Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.
*/
wfc?: {
wavefunction?: {
/**
* Parameter value for standard or default accuracy calculation.
*/
Expand All @@ -11856,7 +11856,7 @@ export interface PseudopotentialFile {
/**
* Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.
*/
rho?: {
density?: {
/**
* Parameter value for standard or default accuracy calculation.
*/
Expand Down Expand Up @@ -11949,7 +11949,7 @@ export interface FileDataItem {
/**
* Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.
*/
wfc?: {
wavefunction?: {
/**
* Parameter value for standard or default accuracy calculation.
*/
Expand All @@ -11966,7 +11966,7 @@ export interface FileDataItem {
/**
* Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.
*/
rho?: {
density?: {
/**
* Parameter value for standard or default accuracy calculation.
*/
Expand Down Expand Up @@ -12127,7 +12127,7 @@ export interface UnitMethodPseudopotential {
/**
* Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.
*/
wfc?: {
wavefunction?: {
/**
* Parameter value for standard or default accuracy calculation.
*/
Expand All @@ -12144,7 +12144,7 @@ export interface UnitMethodPseudopotential {
/**
* Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.
*/
rho?: {
density?: {
/**
* Parameter value for standard or default accuracy calculation.
*/
Expand Down
2 changes: 1 addition & 1 deletion example/methods_directory/physical/psp/file.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"type": "nc",
"version": "0.4",
"cutoffs": {
"wfc": {
"wavefunction": {
"standard": 42.0,
"high": 50.0,
"low": 38.0
Expand Down
4 changes: 2 additions & 2 deletions schema/methods_directory/physical/psp/file_data_item.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@
"description": "Suggested cutoff values for wave function and charge density.",
"additionalProperties": false,
"properties": {
"wfc": {
"wavefunction": {
"$ref": "../../../core/reusable/accuracy_levels.json"
},
"rho": {
"density": {
"$ref": "../../../core/reusable/accuracy_levels.json"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/py/mat3ra/esse/data/examples.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/py/mat3ra/esse/data/schemas.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ class Cutoffs(BaseModel):
model_config = ConfigDict(
extra="forbid",
)
wfc: Optional[ReusableAccuracyLevelsSchema] = Field(None, title="Reusable accuracy levels schema")
wavefunction: Optional[ReusableAccuracyLevelsSchema] = Field(None, title="Reusable accuracy levels schema")
"""
Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.
"""
rho: Optional[ReusableAccuracyLevelsSchema] = Field(None, title="Reusable accuracy levels schema")
density: Optional[ReusableAccuracyLevelsSchema] = Field(None, title="Reusable accuracy levels schema")
"""
Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ class Cutoffs(BaseModel):
model_config = ConfigDict(
extra="forbid",
)
wfc: Optional[ReusableAccuracyLevelsSchema] = Field(None, title="Reusable accuracy levels schema")
wavefunction: Optional[ReusableAccuracyLevelsSchema] = Field(None, title="Reusable accuracy levels schema")
"""
Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.
"""
rho: Optional[ReusableAccuracyLevelsSchema] = Field(None, title="Reusable accuracy levels schema")
density: Optional[ReusableAccuracyLevelsSchema] = Field(None, title="Reusable accuracy levels schema")
"""
Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ class Cutoffs(BaseModel):
model_config = ConfigDict(
extra="forbid",
)
wfc: Optional[ReusableAccuracyLevelsSchema] = Field(None, title="Reusable accuracy levels schema")
wavefunction: Optional[ReusableAccuracyLevelsSchema] = Field(None, title="Reusable accuracy levels schema")
"""
Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.
"""
rho: Optional[ReusableAccuracyLevelsSchema] = Field(None, title="Reusable accuracy levels schema")
density: Optional[ReusableAccuracyLevelsSchema] = Field(None, title="Reusable accuracy levels schema")
"""
Used to specify different accuracy levels of a parameter, e.g., wavefunction and charge density cutoffs.
"""
Expand Down

0 comments on commit d8864fc

Please sign in to comment.