Skip to content

Commit

Permalink
feat: add JS docs assets
Browse files Browse the repository at this point in the history
  • Loading branch information
timurbazhirov committed Dec 24, 2023
1 parent edcb0f9 commit 394ff40
Show file tree
Hide file tree
Showing 543 changed files with 61,095 additions and 0 deletions.
94 changes: 94 additions & 0 deletions docs/js/example/3pse/file/applications/espresso/7.2/pw.x.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"&CONTROL": {
"calculation": "scf",
"title": "",
"verbosity": "low",
"restart_mode": "from_scratch",
"wf_collect": true,
"tstress": true,
"tprnfor": true,
"outdir": "{{ JOB_WORK_DIR }}/outdir",
"wfcdir": "{{ JOB_WORK_DIR }}/outdir",
"prefix": "__prefix__",
"pseudo_dir": "{{ JOB_WORK_DIR }}/pseudo"
},
"&SYSTEM": {
"ibrav": 0,
"nat": 2,
"ntyp": 2,
"ecutwfc": 40,
"ecutrho": 200,
"occupations": "smearing",
"degauss": 0.005,
"starting_magnetization": [
0.01,
0.02
],
"Hubbard_occ": [
[
1,
1,
0
],
[
1,
2,
0.02
]
]
},
"&ELECTRONS": {
"diagonalization": "david",
"diago_david_ndim": 4,
"diago_full_acc": true,
"mixing_beta": 0.3,
"startingwfc": "atomic+random"
},
"&IONS": null,
"&CELL": null,
"ATOMIC_SPECIES": {
"values": [
{
"X": "Cs",
"Mass_X": 132.90543,
"PseudoPot_X": "Cs.upf"
},
{
"X": "Cl",
"Mass_X": 35.4527,
"PseudoPot_X": "Cl.upf"
}
]
},
"CELL_PARAMETERS": {
"card_option": "angstrom",
"values": {
"v1": [
4.324582724,
0,
2.496799
],
"v2": [
1.441527575,
4.077255694,
2.496799
],
"v3": [
0,
0,
4.993598
]
}
},
"K_POINTS": {
"card_option": "automatic",
"values": {
"nk1": 2,
"nk2": 2,
"nk3": 2,
"sk1": 0,
"sk2": 0,
"sk3": 0
}
}
}
19 changes: 19 additions & 0 deletions docs/js/example/core/abstract/2d_data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"xDataArray": [
0,
1,
2
],
"yDataSeries": [
[
0,
0.5,
1
],
[
0,
2.5,
5
]
]
}
26 changes: 26 additions & 0 deletions docs/js/example/core/abstract/2d_plot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"xAxis": {
"label": "kpoint index"
},
"xDataArray": [
0,
1,
2
],
"yAxis": {
"label": "eigenvalues",
"units": "eV"
},
"yDataSeries": [
[
0,
0.5,
1
],
[
0,
2.5,
5
]
]
}
12 changes: 12 additions & 0 deletions docs/js/example/core/abstract/3d_grid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dimensions": [
2,
2,
2
],
"shifts": [
0,
0,
0
]
}
17 changes: 17 additions & 0 deletions docs/js/example/core/abstract/3d_tensor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
[
1,
0,
0
],
[
0,
1,
0
],
[
0,
0,
1
]
]
17 changes: 17 additions & 0 deletions docs/js/example/core/abstract/3d_vector_basis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"a": [
5,
0,
0
],
"b": [
0,
5,
0
],
"c": [
0,
0,
5
]
}
5 changes: 5 additions & 0 deletions docs/js/example/core/abstract/point.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[
0,
5.5,
0
]
5 changes: 5 additions & 0 deletions docs/js/example/core/abstract/vector.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[
1,
0,
0
]
12 changes: 12 additions & 0 deletions docs/js/example/core/primitive/1d_data_series.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
[
0,
0.5,
1
],
[
0,
2.5,
5
]
]
8 changes: 8 additions & 0 deletions docs/js/example/core/primitive/3d_lattice.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"a": 5.14,
"alpha": 90,
"b": 5.14,
"beta": 90,
"c": 5.14,
"gamma": 90
}
5 changes: 5 additions & 0 deletions docs/js/example/core/primitive/array_of_3_booleans.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[
true,
false,
false
]
5 changes: 5 additions & 0 deletions docs/js/example/core/primitive/array_of_3_numbers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[
1,
0,
0
]
8 changes: 8 additions & 0 deletions docs/js/example/core/primitive/array_of_ids.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"id": 1
},
{
"id": 2
}
]
4 changes: 4 additions & 0 deletions docs/js/example/core/primitive/axis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "energy",
"units": "eV"
}
3 changes: 3 additions & 0 deletions docs/js/example/core/primitive/scalar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"value": 0.1
}
3 changes: 3 additions & 0 deletions docs/js/example/core/primitive/string.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"value": "example string"
}
9 changes: 9 additions & 0 deletions docs/js/example/core/reference.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"_id": "nDAavgjrT5ezwFgod",
"owner": {
"_id": "HtxACY2wX4b2hS8Rv",
"cls": "Account",
"slug": "exabyte"
},
"title": "My Calculation"
}
38 changes: 38 additions & 0 deletions docs/js/example/core/reference/experiment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"authors": [
{
"affiliation": "Exabyte Inc.",
"first": "John",
"last": "Doe"
}
],
"conditions": [
{
"name": "pressure",
"scalar": [
{
"value": "1.2"
},
{
"value": "3.3"
}
],
"units": "kbar"
}
],
"method": "DFT",
"references": [
{
"authors": [
{
"affiliation": "Exabyte Inc.",
"first": "John",
"last": "Doe"
}
],
"doi": "10.1000/xyz123"
}
],
"timestamp": 141182979832,
"title": "Experiment 1"
}
12 changes: 12 additions & 0 deletions docs/js/example/core/reference/experiment/condition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "pressure",
"scalar": [
{
"value": "1.2"
},
{
"value": "3.3"
}
],
"units": "kbar"
}
4 changes: 4 additions & 0 deletions docs/js/example/core/reference/experiment/location.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"latitude": 24.3423424,
"longitude": 43.234232
}
10 changes: 10 additions & 0 deletions docs/js/example/core/reference/literature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"authors": [
{
"affiliation": "Exabyte Inc.",
"first": "John",
"last": "Doe"
}
],
"doi": "10.1000/xyz123"
}
5 changes: 5 additions & 0 deletions docs/js/example/core/reference/literature/name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"affiliation": "Exabyte Inc.",
"first": "John",
"last": "Doe"
}
4 changes: 4 additions & 0 deletions docs/js/example/core/reference/literature/pages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"end": "2",
"start": "1"
}
9 changes: 9 additions & 0 deletions docs/js/example/core/reference/modeling.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"_id": "nDAavgjrT5ezwFgod",
"owner": {
"_id": "HtxACY2wX4b2hS8Rv",
"cls": "Account",
"slug": "exabyte"
},
"title": "My Calculation"
}
9 changes: 9 additions & 0 deletions docs/js/example/core/reference/modeling/exabyte.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"_id": "nDAavgjrT5ezwFgod",
"owner": {
"_id": "HtxACY2wX4b2hS8Rv",
"cls": "Account",
"slug": "exabyte"
},
"title": "My Calculation"
}
Loading

0 comments on commit 394ff40

Please sign in to comment.