-
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.
Merge pull request #266 from Exabyte-io/feat/SOF-6970
Feat/sof 6970
- Loading branch information
Showing
5 changed files
with
210 additions
and
0 deletions.
There are no files selected for viewing
133 changes: 133 additions & 0 deletions
133
example/properties_directory/non-scalar/dielectric_tensor.json
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,133 @@ | ||
{ | ||
"name": "dielectric_tensor", | ||
"values": [ | ||
{ | ||
"part": "real", | ||
"spin": 0.5, | ||
"frequencies": [ | ||
0.000000000, | ||
0.060120240, | ||
0.120240481, | ||
0.180360721 | ||
], | ||
"components": [ | ||
[ | ||
0.000000000, | ||
0.000000000, | ||
0.000000000 | ||
], | ||
[ | ||
0.019862988, | ||
0.019862988, | ||
0.019862987 | ||
], | ||
[ | ||
0.039813564, | ||
0.039813565, | ||
0.039813563 | ||
], | ||
[ | ||
0.059940387, | ||
0.059940389, | ||
0.059940385 | ||
] | ||
] | ||
}, | ||
{ | ||
"part": "imaginary", | ||
"spin": 0.5, | ||
"frequencies": [ | ||
0.000000000, | ||
0.060120240, | ||
0.120240481, | ||
0.180360721 | ||
], | ||
"components": [ | ||
[ | ||
0.000000000, | ||
0.000000000, | ||
0.000000000 | ||
], | ||
[ | ||
0.019862988, | ||
0.019862988, | ||
0.019862987 | ||
], | ||
[ | ||
0.039813564, | ||
0.039813565, | ||
0.039813563 | ||
], | ||
[ | ||
0.059940387, | ||
0.059940389, | ||
0.059940385 | ||
] | ||
] | ||
}, | ||
{ | ||
"part": "real", | ||
"spin": -0.5, | ||
"frequencies": [ | ||
0.000000000, | ||
0.060120240, | ||
0.120240481, | ||
0.180360721 | ||
], | ||
"components": [ | ||
[ | ||
0.000000000, | ||
0.000000000, | ||
0.000000000 | ||
], | ||
[ | ||
0.019862988, | ||
0.019862988, | ||
0.019862987 | ||
], | ||
[ | ||
0.039813564, | ||
0.039813565, | ||
0.039813563 | ||
], | ||
[ | ||
0.059940387, | ||
0.059940389, | ||
0.059940385 | ||
] | ||
] | ||
}, | ||
{ | ||
"part": "imaginary", | ||
"spin": -0.5, | ||
"frequencies": [ | ||
0.000000000, | ||
0.060120240, | ||
0.120240481, | ||
0.180360721 | ||
], | ||
"components": [ | ||
[ | ||
0.000000000, | ||
0.000000000, | ||
0.000000000 | ||
], | ||
[ | ||
0.019862988, | ||
0.019862988, | ||
0.019862987 | ||
], | ||
[ | ||
0.039813564, | ||
0.039813565, | ||
0.039813563 | ||
], | ||
[ | ||
0.059940387, | ||
0.059940389, | ||
0.059940385 | ||
] | ||
] | ||
} | ||
] | ||
} |
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,28 @@ | ||
{ | ||
"$id": "core/reusable/dielectric-tensor-component", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Dielectric Tensor", | ||
"allOf": [ | ||
{ | ||
"$ref": "./frequency_function_matrix.json" | ||
} | ||
], | ||
"properties": { | ||
"part": { | ||
"description": "Real or imaginary part of the dielectric tensor component", | ||
"type": "string", | ||
"enum": [ | ||
"real", | ||
"imaginary" | ||
] | ||
}, | ||
"spin": { | ||
"type": "number" | ||
} | ||
}, | ||
"required": [ | ||
"part", | ||
"frequencies", | ||
"components" | ||
] | ||
} |
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,23 @@ | ||
{ | ||
"$id": "core/reusable/frequency-function-matrix", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "", | ||
"description": "Schema for a function of frequency yielding a nx3 matrix", | ||
"type": "object", | ||
"properties": { | ||
"frequencies": { | ||
"description": "Frequencies", | ||
"type": "array", | ||
"items": { | ||
"type": "number" | ||
} | ||
}, | ||
"components": { | ||
"description": "Matrix with 3 columns, e.g. x, y, z", | ||
"type": "array", | ||
"items": { | ||
"$ref": "../primitive/array_of_3_numbers.json" | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
schema/properties_directory/non-scalar/dielectric_tensor.json
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,22 @@ | ||
{ | ||
"$id": "properties-directory/non-scalar/dielectric-tensor", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "dielectric tensor property", | ||
"description": "The real and imaginary parts of the diagonal elements of the dieletric tensor", | ||
"properties": { | ||
"name": { | ||
"enum": [ | ||
"dielectric_tensor" | ||
] | ||
}, | ||
"values": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../../core/reusable/dielectric_tensor_component.json" | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"name" | ||
] | ||
} |