@mat3ra/mode 2025.11.3-0 → 2025.11.5-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +32 -17
- package/src/js/default_methods.ts +36 -0
- package/src/js/default_models.ts +11 -0
- package/src/js/generated/MethodSchemaMixin.ts +26 -0
- package/src/js/generated/ModelSchemaMixin.ts +23 -0
- package/src/{index.js → js/index.ts} +1 -1
- package/src/js/method.ts +67 -0
- package/src/js/methodConversionHandler.ts +142 -0
- package/src/{methods/factory.js → js/methods/factory.ts} +3 -1
- package/src/js/methods/pseudopotential.ts +86 -0
- package/src/js/model.ts +168 -0
- package/src/js/modelConversionHandler.ts +102 -0
- package/src/js/models/dft.ts +110 -0
- package/src/{models/factory.js → js/models/factory.ts} +9 -4
- package/src/{tree.js → js/tree.ts} +26 -20
- package/src/js/types/index.ts +37 -0
- package/tsconfig.json +3 -0
- package/.babelrc +0 -17
- package/dist/data/method_list.js +0 -1132
- package/dist/data/model_list.js +0 -786
- package/dist/data/model_method_map.js +0 -82
- package/dist/default_methods.js +0 -39
- package/dist/default_models.js +0 -14
- package/dist/index.js +0 -69
- package/dist/method.js +0 -84
- package/dist/methodConversionHandler.js +0 -128
- package/dist/methods/factory.js +0 -24
- package/dist/methods/pseudopotential.js +0 -100
- package/dist/model.js +0 -123
- package/dist/modelConversionHandler.js +0 -102
- package/dist/models/dft.js +0 -102
- package/dist/models/factory.js +0 -36
- package/dist/tree.js +0 -147
- package/src/data/method_list.js +0 -2
- package/src/data/model_list.js +0 -2
- package/src/data/model_method_map.js +0 -2
- package/src/default_methods.js +0 -38
- package/src/default_models.js +0 -9
- package/src/method.js +0 -77
- package/src/methodConversionHandler.js +0 -125
- package/src/methods/pseudopotential.js +0 -99
- package/src/model.js +0 -127
- package/src/modelConversionHandler.js +0 -91
- package/src/models/dft.js +0 -115
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.ModelConversionHandler = void 0;
|
|
7
|
-
exports.safelyGetSlug = safelyGetSlug;
|
|
8
|
-
var tree = _interopRequireWildcard(require("./tree"));
|
|
9
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
10
|
-
function safelyGetSlug(slugObj) {
|
|
11
|
-
return typeof slugObj === "string" ? slugObj : slugObj.slug;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* The model interface converts between the legacy model data structure (type, subtype, functional)
|
|
16
|
-
* and the categorized model data structure (tier1, tier2, ...).
|
|
17
|
-
*/
|
|
18
|
-
class ModelConversionHandler {
|
|
19
|
-
static convertToSimple(cm) {
|
|
20
|
-
if (!cm) return this.convertUnknownToSimple();
|
|
21
|
-
|
|
22
|
-
// eslint-disable-next-line default-case
|
|
23
|
-
switch (cm.categories.tier3) {
|
|
24
|
-
case "dft":
|
|
25
|
-
return this.convertDftToSimple(cm);
|
|
26
|
-
case "ml":
|
|
27
|
-
return this.convertMlToSimple();
|
|
28
|
-
default:
|
|
29
|
-
return this.convertUnknownToSimple();
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
static convertDftToSimple(cm) {
|
|
33
|
-
if (!cm.categories?.subtype) return this.convertUnknownToSimple();
|
|
34
|
-
const {
|
|
35
|
-
subtype
|
|
36
|
-
} = cm.categories;
|
|
37
|
-
const functional = cm.parameters?.functional;
|
|
38
|
-
return {
|
|
39
|
-
type: "dft",
|
|
40
|
-
subtype,
|
|
41
|
-
functional: tree.treeSlugToNamedObject(functional)
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
static convertMlToSimple() {
|
|
45
|
-
return {
|
|
46
|
-
type: "ml",
|
|
47
|
-
subtype: "re"
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
static convertUnknownToSimple() {
|
|
51
|
-
return {
|
|
52
|
-
type: "unknown",
|
|
53
|
-
subtype: "unknown"
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
static convertToCategorized(sm, allModels = []) {
|
|
57
|
-
switch (sm?.type) {
|
|
58
|
-
case "dft":
|
|
59
|
-
return this.convertDftToCategorized(sm, allModels);
|
|
60
|
-
case "ml":
|
|
61
|
-
return this.convertMlToCategorized(sm);
|
|
62
|
-
case "unknown":
|
|
63
|
-
return undefined;
|
|
64
|
-
default:
|
|
65
|
-
return undefined;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
static convertDftToCategorized(sm, allModels = []) {
|
|
69
|
-
const {
|
|
70
|
-
subtype,
|
|
71
|
-
functional: functionalStringOrObject
|
|
72
|
-
} = sm;
|
|
73
|
-
const defaultFunctionals = {
|
|
74
|
-
lda: "pz",
|
|
75
|
-
gga: "pbe",
|
|
76
|
-
hybrid: "b3lyp"
|
|
77
|
-
};
|
|
78
|
-
let functional;
|
|
79
|
-
if (!functionalStringOrObject) {
|
|
80
|
-
functional = defaultFunctionals[subtype];
|
|
81
|
-
} else {
|
|
82
|
-
functional = safelyGetSlug(functionalStringOrObject);
|
|
83
|
-
}
|
|
84
|
-
const path = `/pb/qm/dft/ksdft/${subtype}?functional=${functional}`;
|
|
85
|
-
return allModels.find(cm => cm.path === path);
|
|
86
|
-
}
|
|
87
|
-
static convertMlToCategorized(sm) {
|
|
88
|
-
const subtype = safelyGetSlug(sm.subtype);
|
|
89
|
-
return {
|
|
90
|
-
name: "Regression",
|
|
91
|
-
path: "/st/det/ml/re/none",
|
|
92
|
-
categories: {
|
|
93
|
-
tier1: "st",
|
|
94
|
-
tier2: "det",
|
|
95
|
-
tier3: "ml",
|
|
96
|
-
type: subtype
|
|
97
|
-
},
|
|
98
|
-
parameters: {}
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
exports.ModelConversionHandler = ModelConversionHandler;
|
package/dist/models/dft.js
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.DFTModel = void 0;
|
|
7
|
-
var _underscore = _interopRequireDefault(require("underscore"));
|
|
8
|
-
var _factory = require("../methods/factory");
|
|
9
|
-
var _model = require("../model");
|
|
10
|
-
var _tree = require("../tree");
|
|
11
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
-
class DFTModel extends _model.Model {
|
|
13
|
-
constructor(config) {
|
|
14
|
-
super(config);
|
|
15
|
-
this._MethodFactory = config.MethodFactory || _factory.MethodFactory;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @summary Build slug string based on model information
|
|
20
|
-
* @returns {string}
|
|
21
|
-
*/
|
|
22
|
-
get groupSlug() {
|
|
23
|
-
return [this._application.shortName, this.type, this.subtype, this.functional.slug, this.refiners.map(o => o.slug).join("+"), this.modifiers.map(o => o.slug).join("+")].join(":").replace("::", ":").replace(/:$/, "");
|
|
24
|
-
}
|
|
25
|
-
get defaultFunctional() {
|
|
26
|
-
return (0, _tree.treeSlugToNamedObject)(this.treeBranchForSubType.functionals[0]);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// eslint-disable-next-line class-methods-use-this
|
|
30
|
-
get defaultRefiners() {
|
|
31
|
-
return [];
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// eslint-disable-next-line class-methods-use-this
|
|
35
|
-
get defaultModifiers() {
|
|
36
|
-
return [];
|
|
37
|
-
}
|
|
38
|
-
get functional() {
|
|
39
|
-
return this.prop("functional", this.defaultFunctional);
|
|
40
|
-
}
|
|
41
|
-
get refiners() {
|
|
42
|
-
return this.prop("refiners", this.defaultRefiners);
|
|
43
|
-
}
|
|
44
|
-
get modifiers() {
|
|
45
|
-
return this.prop("modifiers", this.defaultModifiers);
|
|
46
|
-
}
|
|
47
|
-
setSubtype(subtype) {
|
|
48
|
-
this.setProp("subtype", subtype);
|
|
49
|
-
this.setFunctional(this.defaultFunctional);
|
|
50
|
-
}
|
|
51
|
-
setFunctional(functional) {
|
|
52
|
-
this.setProp("functional", this._stringToSlugifiedObject(functional));
|
|
53
|
-
this.setMethod(this._MethodFactory.create(this.defaultMethodConfig));
|
|
54
|
-
}
|
|
55
|
-
_setArrayProp(name, data) {
|
|
56
|
-
// eslint-disable-next-line no-param-reassign, no-undef
|
|
57
|
-
data = safeMakeArray(data).map(r => this._stringToSlugifiedObject(r));
|
|
58
|
-
this.setProp(name, data);
|
|
59
|
-
this[`_${name}`] = data;
|
|
60
|
-
}
|
|
61
|
-
setRefiners(refiners) {
|
|
62
|
-
this._setArrayProp("refiners", refiners);
|
|
63
|
-
}
|
|
64
|
-
setModifiers(modifiers) {
|
|
65
|
-
this._setArrayProp("modifiers", modifiers);
|
|
66
|
-
}
|
|
67
|
-
toJSON() {
|
|
68
|
-
const pickSlugFromObject = o => _underscore.default.pick(o, "slug");
|
|
69
|
-
return {
|
|
70
|
-
...super.toJSON(),
|
|
71
|
-
functional: pickSlugFromObject(this.functional),
|
|
72
|
-
// only store slug for `functional`
|
|
73
|
-
refiners: this.refiners,
|
|
74
|
-
modifiers: this.modifiers
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Get all functionals in the form of {name: ..., slug: ...} for further use in UI
|
|
80
|
-
* @returns {Object.<string, string>[]} - List of functional objects
|
|
81
|
-
*/
|
|
82
|
-
get allFunctionals() {
|
|
83
|
-
return this.treeBranchForSubType.functionals.map(x => (0, _tree.treeSlugToNamedObject)(x));
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Get all refiners in the form of {name: ..., slug: ...} for further use in UI
|
|
88
|
-
* @returns {Object.<string, string>[]} - List of refiner objects
|
|
89
|
-
*/
|
|
90
|
-
get allRefiners() {
|
|
91
|
-
return this.treeBranchForSubType.refiners.map(x => (0, _tree.treeSlugToNamedObject)(x));
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Get all modifiers in the form of {name: ..., slug: ...} for further use in UI
|
|
96
|
-
* @returns {Object.<string, string>[]} - List of modifier objects
|
|
97
|
-
*/
|
|
98
|
-
get allModifiers() {
|
|
99
|
-
return this.treeBranchForSubType.modifiers.map(x => (0, _tree.treeSlugToNamedObject)(x));
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
exports.DFTModel = DFTModel;
|
package/dist/models/factory.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.ModelFactory = void 0;
|
|
7
|
-
var _model = require("../model");
|
|
8
|
-
var _tree = require("../tree");
|
|
9
|
-
var _dft = require("./dft");
|
|
10
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
11
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
12
|
-
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
|
-
class ModelFactory {
|
|
14
|
-
static create(config) {
|
|
15
|
-
switch (config.type) {
|
|
16
|
-
case "dft":
|
|
17
|
-
return new this.DFTModel(config);
|
|
18
|
-
default:
|
|
19
|
-
return new this.Model(config);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
static createFromApplication(config) {
|
|
23
|
-
const {
|
|
24
|
-
application
|
|
25
|
-
} = config;
|
|
26
|
-
const type = application && (0, _tree.getDefaultModelTypeForApplication)(application);
|
|
27
|
-
if (!type) throw new Error(`ModelFactory.createFromApplication: cannot determine model type: ${type}`);
|
|
28
|
-
return this.create({
|
|
29
|
-
...config,
|
|
30
|
-
type
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
exports.ModelFactory = ModelFactory;
|
|
35
|
-
_defineProperty(ModelFactory, "DFTModel", _dft.DFTModel);
|
|
36
|
-
_defineProperty(ModelFactory, "Model", _model.Model);
|
package/dist/tree.js
DELETED
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.treeSlugToNamedObject = exports.getTreeByApplicationNameAndVersion = exports.getPseudopotentialTypesFromTree = exports.getDefaultModelTypeForApplication = exports.getDFTFunctionalsFromTree = exports.getDFTFunctionalsByApproximation = exports.MODEL_TREE = exports.MODEL_NAMES = exports.METHODS = void 0;
|
|
7
|
-
var _utils = require("@mat3ra/code/dist/js/utils");
|
|
8
|
-
var _lodash = _interopRequireDefault(require("lodash"));
|
|
9
|
-
var _underscore = _interopRequireDefault(require("underscore"));
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
// TODO: migrate to use manifest instead
|
|
12
|
-
|
|
13
|
-
const METHODS = exports.METHODS = {
|
|
14
|
-
pseudopotential: "pseudopotential",
|
|
15
|
-
localorbital: "localorbital",
|
|
16
|
-
unknown: "unknown"
|
|
17
|
-
};
|
|
18
|
-
const methods = {
|
|
19
|
-
[METHODS.pseudopotential]: ["paw", "nc", "nc-fr", "us"],
|
|
20
|
-
// TODO: Add additional basis set options, once user choice of specific (i.e 3-21G vs cc-pVDZ) is implemented.
|
|
21
|
-
[METHODS.localorbital]: ["pople"],
|
|
22
|
-
[METHODS.unknown]: ["unknown"]
|
|
23
|
-
};
|
|
24
|
-
const getPseudopotentialTypesFromTree = () => methods[METHODS.pseudopotential];
|
|
25
|
-
|
|
26
|
-
// DFT-specific
|
|
27
|
-
exports.getPseudopotentialTypesFromTree = getPseudopotentialTypesFromTree;
|
|
28
|
-
const DFTModelRefiners = ["hse", "g0w0"];
|
|
29
|
-
const DFTModelModifiers = ["soc", "magn"];
|
|
30
|
-
const DFTModelTree = {
|
|
31
|
-
gga: {
|
|
32
|
-
refiners: DFTModelRefiners,
|
|
33
|
-
modifiers: DFTModelModifiers,
|
|
34
|
-
methods,
|
|
35
|
-
functionals: ["pbe", "pbesol", "pw91", "other"]
|
|
36
|
-
},
|
|
37
|
-
lda: {
|
|
38
|
-
refiners: DFTModelRefiners,
|
|
39
|
-
modifiers: DFTModelModifiers,
|
|
40
|
-
methods,
|
|
41
|
-
functionals: ["pz", "pw", "vwn", "other"]
|
|
42
|
-
},
|
|
43
|
-
hybrid: {
|
|
44
|
-
methods,
|
|
45
|
-
functionals: ["b3lyp", "hse06"]
|
|
46
|
-
},
|
|
47
|
-
other: {
|
|
48
|
-
methods,
|
|
49
|
-
functionals: ["other"]
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
const getDFTFunctionalsFromTree = () => Object.keys(DFTModelTree);
|
|
53
|
-
exports.getDFTFunctionalsFromTree = getDFTFunctionalsFromTree;
|
|
54
|
-
const getDFTFunctionalsByApproximation = approximation => {
|
|
55
|
-
const branch = DFTModelTree[approximation];
|
|
56
|
-
return branch && branch.functionals;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
// GENERAL
|
|
60
|
-
exports.getDFTFunctionalsByApproximation = getDFTFunctionalsByApproximation;
|
|
61
|
-
const MODEL_TREE = exports.MODEL_TREE = {
|
|
62
|
-
dft: DFTModelTree,
|
|
63
|
-
ml: {
|
|
64
|
-
re: {
|
|
65
|
-
methods: {
|
|
66
|
-
linear: ["least_squares", "ridge"],
|
|
67
|
-
kernel_ridge: ["least_squares"]
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
unknown: {
|
|
72
|
-
unknown: {
|
|
73
|
-
methods: {
|
|
74
|
-
unknown: ["unknown"]
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
const MODEL_NAMES = exports.MODEL_NAMES = {
|
|
80
|
-
dft: "density functional theory",
|
|
81
|
-
lda: "local density approximation",
|
|
82
|
-
gga: "generalized gradient approximation",
|
|
83
|
-
hybrid: "hybrid functional",
|
|
84
|
-
ml: "machine learning",
|
|
85
|
-
re: "regression"
|
|
86
|
-
};
|
|
87
|
-
const treeSlugToNamedObject = modelSlug => {
|
|
88
|
-
return {
|
|
89
|
-
slug: modelSlug,
|
|
90
|
-
name: _lodash.default.get(MODEL_NAMES, modelSlug, modelSlug)
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
// TODO: find a better way to handle application-specific model-method combination
|
|
95
|
-
// must be a subset of the MODEL_TREE above
|
|
96
|
-
// demonstrate how tree can be modified
|
|
97
|
-
// VASP_MODELS_TREE.gga.functionals = _.omit(VASP_MODELS_TREE.gga.functionals);
|
|
98
|
-
exports.treeSlugToNamedObject = treeSlugToNamedObject;
|
|
99
|
-
const VASP_MODELS_TREE = (0, _utils.deepClone)(_underscore.default.pick(MODEL_TREE, "dft"));
|
|
100
|
-
const ESPRESSO_MODELS_TREE = (0, _utils.deepClone)(_underscore.default.pick(MODEL_TREE, "dft"));
|
|
101
|
-
const NWCHEM_MODELS_TREE = (0, _utils.deepClone)(_underscore.default.pick(MODEL_TREE, "dft"));
|
|
102
|
-
["gga", "lda"].forEach(approximation => {
|
|
103
|
-
// pick "paw" for vasp
|
|
104
|
-
VASP_MODELS_TREE.dft[approximation].methods.pseudopotential = VASP_MODELS_TREE.dft[approximation].methods.pseudopotential.splice(0, 1);
|
|
105
|
-
|
|
106
|
-
// assert "us" is the first option
|
|
107
|
-
ESPRESSO_MODELS_TREE.dft[approximation].methods.pseudopotential = ESPRESSO_MODELS_TREE.dft[approximation].methods.pseudopotential.reverse();
|
|
108
|
-
});
|
|
109
|
-
const UNKNOWN_MODELS_TREE = _underscore.default.pick(MODEL_TREE, "unknown");
|
|
110
|
-
// const ML_MODELS_TREE = _.pick(MODEL_TREE, "ml");
|
|
111
|
-
|
|
112
|
-
const MODELS_TREE_CONFIGS_BY_APPLICATION_NAME_VERSION = [{
|
|
113
|
-
name: "vasp",
|
|
114
|
-
tree: VASP_MODELS_TREE
|
|
115
|
-
}, {
|
|
116
|
-
name: "espresso",
|
|
117
|
-
tree: ESPRESSO_MODELS_TREE
|
|
118
|
-
}, {
|
|
119
|
-
name: "python",
|
|
120
|
-
tree: UNKNOWN_MODELS_TREE
|
|
121
|
-
}, {
|
|
122
|
-
name: "shell",
|
|
123
|
-
tree: UNKNOWN_MODELS_TREE
|
|
124
|
-
}, {
|
|
125
|
-
name: "jupyterLab",
|
|
126
|
-
tree: UNKNOWN_MODELS_TREE
|
|
127
|
-
}, {
|
|
128
|
-
name: "nwchem",
|
|
129
|
-
tree: NWCHEM_MODELS_TREE
|
|
130
|
-
}, {
|
|
131
|
-
name: "deepmd",
|
|
132
|
-
tree: UNKNOWN_MODELS_TREE
|
|
133
|
-
}];
|
|
134
|
-
const getTreeByApplicationNameAndVersion = ({
|
|
135
|
-
name,
|
|
136
|
-
// eslint-disable-next-line no-unused-vars
|
|
137
|
-
version
|
|
138
|
-
}) => {
|
|
139
|
-
// TODO: add logic to filter by version when necessary
|
|
140
|
-
const cfgs = MODELS_TREE_CONFIGS_BY_APPLICATION_NAME_VERSION.filter(cfg => cfg.name === name).map(x => x.tree);
|
|
141
|
-
return Object.assign({}, ...cfgs);
|
|
142
|
-
};
|
|
143
|
-
exports.getTreeByApplicationNameAndVersion = getTreeByApplicationNameAndVersion;
|
|
144
|
-
const getDefaultModelTypeForApplication = application => {
|
|
145
|
-
return Object.keys(getTreeByApplicationNameAndVersion(application))[0];
|
|
146
|
-
};
|
|
147
|
-
exports.getDefaultModelTypeForApplication = getDefaultModelTypeForApplication;
|
package/src/data/method_list.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
module.exports = {allMethods: [{"units":[{"categories":{"subtype":"us","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Ultra-soft Pseudopotential","path":"/qm/wf/none/psp/us"},{"categories":{"subtype":"nc","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Pseudopotential","path":"/qm/wf/none/psp/nc"},{"categories":{"subtype":"nc-fr","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Fully-relativistic Pseudopotential","path":"/qm/wf/none/psp/nc-fr"},{"categories":{"subtype":"paw","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Projector-augmented wave Pseudopotential","path":"/qm/wf/none/psp/paw"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Any Plane-wave Pseudopotential Method","path":"/qm/wf/none/psp/us::/qm/wf/none/psp/nc::/qm/wf/none/psp/nc-fr::/qm/wf/none/psp/paw::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"least_squares","type":"linear"},"tags":["exabyteML"],"name":"Linear least squares regression","path":"/none/none/none/linear/least_squares"}],"name":"Linear least squares regression","path":"/none/none/none/linear/least_squares"},{"units":[{"categories":{"subtype":"ridge","type":"linear"},"tags":["exabyteML"],"name":"Linear ridge regression","path":"/none/none/none/linear/ridge"}],"name":"Linear ridge regression","path":"/none/none/none/linear/ridge"},{"units":[{"categories":{"type":"kernel_ridge","subtype":"least_squares"},"tags":["exabyteML"],"name":"Kernel Ridge least squares regression","path":"/none/none/none/kernel_ridge/least_squares"}],"name":"Kernel Ridge least squares regression","path":"/none/none/none/kernel_ridge/least_squares"},{"units":[{"parameters":{"basisSlug":"6-31G"},"categories":{"tier1":"qm","tier2":"wf","type":"ao","subtype":"pople"},"tags":["atomic orbital"],"name":"Wave function: LCAO - Pople basis set (6-31G)","path":"/qm/wf/none/ao/pople?basisSlug=6-31G"}],"name":"Wave function: LCAO - Pople basis set (6-31G)","path":"/qm/wf/none/ao/pople?basisSlug=6-31G"},{"units":[{"categories":{"subtype":"gaussian","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Gaussian Smearing","path":"/qm/wf/none/smearing/gaussian"},{"categories":{"tier1":"opt","tier2":"diff","tier3":"ordern","type":"cg"},"tags":["diagonalization"],"name":"Conjugate Gradient Diagonalization","path":"/opt/diff/ordern/cg/none"},{"categories":{"subtype":"us","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Ultra-soft Pseudopotential","path":"/qm/wf/none/psp/us"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Ultra-soft Pseudopotential (Conjugate Gradient Diagonalization, Gaussian Smearing)","path":"/qm/wf/none/smearing/gaussian::/opt/diff/ordern/cg/none::/qm/wf/none/psp/us::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"methfessel-paxton","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Methfessel-Paxton Smearing","path":"/qm/wf/none/smearing/methfessel-paxton"},{"categories":{"tier1":"opt","tier2":"diff","tier3":"ordern","type":"cg"},"tags":["diagonalization"],"name":"Conjugate Gradient Diagonalization","path":"/opt/diff/ordern/cg/none"},{"categories":{"subtype":"us","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Ultra-soft Pseudopotential","path":"/qm/wf/none/psp/us"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Ultra-soft Pseudopotential (Conjugate Gradient Diagonalization, Methfessel-paxton Smearing)","path":"/qm/wf/none/smearing/methfessel-paxton::/opt/diff/ordern/cg/none::/qm/wf/none/psp/us::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"linear","tier1":"qm","tier2":"wf","type":"tetrahedron"},"tags":["occupation number"],"name":"Linear Tetrahedron Method","path":"/qm/wf/none/tetrahedron/linear"},{"categories":{"tier1":"opt","tier2":"diff","tier3":"ordern","type":"cg"},"tags":["diagonalization"],"name":"Conjugate Gradient Diagonalization","path":"/opt/diff/ordern/cg/none"},{"categories":{"subtype":"us","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Ultra-soft Pseudopotential","path":"/qm/wf/none/psp/us"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Ultra-soft Pseudopotential (Conjugate Gradient Diagonalization, Linear Tetrahedron Method)","path":"/qm/wf/none/tetrahedron/linear::/opt/diff/ordern/cg/none::/qm/wf/none/psp/us::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"gaussian","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Gaussian Smearing","path":"/qm/wf/none/smearing/gaussian"},{"categories":{"tier1":"linalg","tier2":"diag","type":"davidson"},"tags":["diagonalization"],"name":"Davidson Diagonalization","path":"/linalg/diag/none/davidson/none"},{"categories":{"subtype":"us","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Ultra-soft Pseudopotential","path":"/qm/wf/none/psp/us"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Ultra-soft Pseudopotential (Davidson Diagonalization, Gaussian Smearing)","path":"/qm/wf/none/smearing/gaussian::/linalg/diag/none/davidson/none::/qm/wf/none/psp/us::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"methfessel-paxton","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Methfessel-Paxton Smearing","path":"/qm/wf/none/smearing/methfessel-paxton"},{"categories":{"tier1":"linalg","tier2":"diag","type":"davidson"},"tags":["diagonalization"],"name":"Davidson Diagonalization","path":"/linalg/diag/none/davidson/none"},{"categories":{"subtype":"us","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Ultra-soft Pseudopotential","path":"/qm/wf/none/psp/us"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Ultra-soft Pseudopotential (Davidson Diagonalization, Methfessel-paxton Smearing)","path":"/qm/wf/none/smearing/methfessel-paxton::/linalg/diag/none/davidson/none::/qm/wf/none/psp/us::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"linear","tier1":"qm","tier2":"wf","type":"tetrahedron"},"tags":["occupation number"],"name":"Linear Tetrahedron Method","path":"/qm/wf/none/tetrahedron/linear"},{"categories":{"tier1":"linalg","tier2":"diag","type":"davidson"},"tags":["diagonalization"],"name":"Davidson Diagonalization","path":"/linalg/diag/none/davidson/none"},{"categories":{"subtype":"us","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Ultra-soft Pseudopotential","path":"/qm/wf/none/psp/us"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Ultra-soft Pseudopotential (Davidson Diagonalization, Linear Tetrahedron Method)","path":"/qm/wf/none/tetrahedron/linear::/linalg/diag/none/davidson/none::/qm/wf/none/psp/us::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"gaussian","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Gaussian Smearing","path":"/qm/wf/none/smearing/gaussian"},{"categories":{"tier1":"opt","tier2":"diff","tier3":"ordern","type":"cg"},"tags":["diagonalization"],"name":"Conjugate Gradient Diagonalization","path":"/opt/diff/ordern/cg/none"},{"categories":{"subtype":"nc","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Pseudopotential","path":"/qm/wf/none/psp/nc"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Norm-conserving Pseudopotential (Conjugate Gradient Diagonalization, Gaussian Smearing)","path":"/qm/wf/none/smearing/gaussian::/opt/diff/ordern/cg/none::/qm/wf/none/psp/nc::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"methfessel-paxton","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Methfessel-Paxton Smearing","path":"/qm/wf/none/smearing/methfessel-paxton"},{"categories":{"tier1":"opt","tier2":"diff","tier3":"ordern","type":"cg"},"tags":["diagonalization"],"name":"Conjugate Gradient Diagonalization","path":"/opt/diff/ordern/cg/none"},{"categories":{"subtype":"nc","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Pseudopotential","path":"/qm/wf/none/psp/nc"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Norm-conserving Pseudopotential (Conjugate Gradient Diagonalization, Methfessel-paxton Smearing)","path":"/qm/wf/none/smearing/methfessel-paxton::/opt/diff/ordern/cg/none::/qm/wf/none/psp/nc::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"linear","tier1":"qm","tier2":"wf","type":"tetrahedron"},"tags":["occupation number"],"name":"Linear Tetrahedron Method","path":"/qm/wf/none/tetrahedron/linear"},{"categories":{"tier1":"opt","tier2":"diff","tier3":"ordern","type":"cg"},"tags":["diagonalization"],"name":"Conjugate Gradient Diagonalization","path":"/opt/diff/ordern/cg/none"},{"categories":{"subtype":"nc","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Pseudopotential","path":"/qm/wf/none/psp/nc"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Norm-conserving Pseudopotential (Conjugate Gradient Diagonalization, Linear Tetrahedron Method)","path":"/qm/wf/none/tetrahedron/linear::/opt/diff/ordern/cg/none::/qm/wf/none/psp/nc::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"gaussian","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Gaussian Smearing","path":"/qm/wf/none/smearing/gaussian"},{"categories":{"tier1":"linalg","tier2":"diag","type":"davidson"},"tags":["diagonalization"],"name":"Davidson Diagonalization","path":"/linalg/diag/none/davidson/none"},{"categories":{"subtype":"nc","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Pseudopotential","path":"/qm/wf/none/psp/nc"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Norm-conserving Pseudopotential (Davidson Diagonalization, Gaussian Smearing)","path":"/qm/wf/none/smearing/gaussian::/linalg/diag/none/davidson/none::/qm/wf/none/psp/nc::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"methfessel-paxton","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Methfessel-Paxton Smearing","path":"/qm/wf/none/smearing/methfessel-paxton"},{"categories":{"tier1":"linalg","tier2":"diag","type":"davidson"},"tags":["diagonalization"],"name":"Davidson Diagonalization","path":"/linalg/diag/none/davidson/none"},{"categories":{"subtype":"nc","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Pseudopotential","path":"/qm/wf/none/psp/nc"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Norm-conserving Pseudopotential (Davidson Diagonalization, Methfessel-paxton Smearing)","path":"/qm/wf/none/smearing/methfessel-paxton::/linalg/diag/none/davidson/none::/qm/wf/none/psp/nc::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"linear","tier1":"qm","tier2":"wf","type":"tetrahedron"},"tags":["occupation number"],"name":"Linear Tetrahedron Method","path":"/qm/wf/none/tetrahedron/linear"},{"categories":{"tier1":"linalg","tier2":"diag","type":"davidson"},"tags":["diagonalization"],"name":"Davidson Diagonalization","path":"/linalg/diag/none/davidson/none"},{"categories":{"subtype":"nc","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Pseudopotential","path":"/qm/wf/none/psp/nc"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Norm-conserving Pseudopotential (Davidson Diagonalization, Linear Tetrahedron Method)","path":"/qm/wf/none/tetrahedron/linear::/linalg/diag/none/davidson/none::/qm/wf/none/psp/nc::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"gaussian","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Gaussian Smearing","path":"/qm/wf/none/smearing/gaussian"},{"categories":{"tier1":"opt","tier2":"diff","tier3":"ordern","type":"cg"},"tags":["diagonalization"],"name":"Conjugate Gradient Diagonalization","path":"/opt/diff/ordern/cg/none"},{"categories":{"subtype":"nc-fr","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Fully-relativistic Pseudopotential","path":"/qm/wf/none/psp/nc-fr"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Norm-conserving Fully-relativistic Pseudopotential (Conjugate Gradient Diagonalization, Gaussian Smearing)","path":"/qm/wf/none/smearing/gaussian::/opt/diff/ordern/cg/none::/qm/wf/none/psp/nc-fr::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"methfessel-paxton","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Methfessel-Paxton Smearing","path":"/qm/wf/none/smearing/methfessel-paxton"},{"categories":{"tier1":"opt","tier2":"diff","tier3":"ordern","type":"cg"},"tags":["diagonalization"],"name":"Conjugate Gradient Diagonalization","path":"/opt/diff/ordern/cg/none"},{"categories":{"subtype":"nc-fr","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Fully-relativistic Pseudopotential","path":"/qm/wf/none/psp/nc-fr"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Norm-conserving Fully-relativistic Pseudopotential (Conjugate Gradient Diagonalization, Methfessel-paxton Smearing)","path":"/qm/wf/none/smearing/methfessel-paxton::/opt/diff/ordern/cg/none::/qm/wf/none/psp/nc-fr::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"linear","tier1":"qm","tier2":"wf","type":"tetrahedron"},"tags":["occupation number"],"name":"Linear Tetrahedron Method","path":"/qm/wf/none/tetrahedron/linear"},{"categories":{"tier1":"opt","tier2":"diff","tier3":"ordern","type":"cg"},"tags":["diagonalization"],"name":"Conjugate Gradient Diagonalization","path":"/opt/diff/ordern/cg/none"},{"categories":{"subtype":"nc-fr","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Fully-relativistic Pseudopotential","path":"/qm/wf/none/psp/nc-fr"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Norm-conserving Fully-relativistic Pseudopotential (Conjugate Gradient Diagonalization, Linear Tetrahedron Method)","path":"/qm/wf/none/tetrahedron/linear::/opt/diff/ordern/cg/none::/qm/wf/none/psp/nc-fr::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"gaussian","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Gaussian Smearing","path":"/qm/wf/none/smearing/gaussian"},{"categories":{"tier1":"linalg","tier2":"diag","type":"davidson"},"tags":["diagonalization"],"name":"Davidson Diagonalization","path":"/linalg/diag/none/davidson/none"},{"categories":{"subtype":"nc-fr","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Fully-relativistic Pseudopotential","path":"/qm/wf/none/psp/nc-fr"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Norm-conserving Fully-relativistic Pseudopotential (Davidson Diagonalization, Gaussian Smearing)","path":"/qm/wf/none/smearing/gaussian::/linalg/diag/none/davidson/none::/qm/wf/none/psp/nc-fr::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"methfessel-paxton","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Methfessel-Paxton Smearing","path":"/qm/wf/none/smearing/methfessel-paxton"},{"categories":{"tier1":"linalg","tier2":"diag","type":"davidson"},"tags":["diagonalization"],"name":"Davidson Diagonalization","path":"/linalg/diag/none/davidson/none"},{"categories":{"subtype":"nc-fr","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Fully-relativistic Pseudopotential","path":"/qm/wf/none/psp/nc-fr"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Norm-conserving Fully-relativistic Pseudopotential (Davidson Diagonalization, Methfessel-paxton Smearing)","path":"/qm/wf/none/smearing/methfessel-paxton::/linalg/diag/none/davidson/none::/qm/wf/none/psp/nc-fr::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"linear","tier1":"qm","tier2":"wf","type":"tetrahedron"},"tags":["occupation number"],"name":"Linear Tetrahedron Method","path":"/qm/wf/none/tetrahedron/linear"},{"categories":{"tier1":"linalg","tier2":"diag","type":"davidson"},"tags":["diagonalization"],"name":"Davidson Diagonalization","path":"/linalg/diag/none/davidson/none"},{"categories":{"subtype":"nc-fr","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Norm-conserving Fully-relativistic Pseudopotential","path":"/qm/wf/none/psp/nc-fr"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Norm-conserving Fully-relativistic Pseudopotential (Davidson Diagonalization, Linear Tetrahedron Method)","path":"/qm/wf/none/tetrahedron/linear::/linalg/diag/none/davidson/none::/qm/wf/none/psp/nc-fr::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"gaussian","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Gaussian Smearing","path":"/qm/wf/none/smearing/gaussian"},{"categories":{"tier1":"opt","tier2":"diff","tier3":"ordern","type":"cg"},"tags":["diagonalization"],"name":"Conjugate Gradient Diagonalization","path":"/opt/diff/ordern/cg/none"},{"categories":{"subtype":"paw","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Projector-augmented wave Pseudopotential","path":"/qm/wf/none/psp/paw"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Projector-augmented Wave Pseudopotential (Conjugate Gradient Diagonalization, Gaussian Smearing)","path":"/qm/wf/none/smearing/gaussian::/opt/diff/ordern/cg/none::/qm/wf/none/psp/paw::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"methfessel-paxton","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Methfessel-Paxton Smearing","path":"/qm/wf/none/smearing/methfessel-paxton"},{"categories":{"tier1":"opt","tier2":"diff","tier3":"ordern","type":"cg"},"tags":["diagonalization"],"name":"Conjugate Gradient Diagonalization","path":"/opt/diff/ordern/cg/none"},{"categories":{"subtype":"paw","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Projector-augmented wave Pseudopotential","path":"/qm/wf/none/psp/paw"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Projector-augmented Wave Pseudopotential (Conjugate Gradient Diagonalization, Methfessel-paxton Smearing)","path":"/qm/wf/none/smearing/methfessel-paxton::/opt/diff/ordern/cg/none::/qm/wf/none/psp/paw::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"linear","tier1":"qm","tier2":"wf","type":"tetrahedron"},"tags":["occupation number"],"name":"Linear Tetrahedron Method","path":"/qm/wf/none/tetrahedron/linear"},{"categories":{"tier1":"opt","tier2":"diff","tier3":"ordern","type":"cg"},"tags":["diagonalization"],"name":"Conjugate Gradient Diagonalization","path":"/opt/diff/ordern/cg/none"},{"categories":{"subtype":"paw","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Projector-augmented wave Pseudopotential","path":"/qm/wf/none/psp/paw"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Projector-augmented Wave Pseudopotential (Conjugate Gradient Diagonalization, Linear Tetrahedron Method)","path":"/qm/wf/none/tetrahedron/linear::/opt/diff/ordern/cg/none::/qm/wf/none/psp/paw::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"gaussian","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Gaussian Smearing","path":"/qm/wf/none/smearing/gaussian"},{"categories":{"tier1":"linalg","tier2":"diag","type":"davidson"},"tags":["diagonalization"],"name":"Davidson Diagonalization","path":"/linalg/diag/none/davidson/none"},{"categories":{"subtype":"paw","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Projector-augmented wave Pseudopotential","path":"/qm/wf/none/psp/paw"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Projector-augmented Wave Pseudopotential (Davidson Diagonalization, Gaussian Smearing)","path":"/qm/wf/none/smearing/gaussian::/linalg/diag/none/davidson/none::/qm/wf/none/psp/paw::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"methfessel-paxton","tier1":"qm","tier2":"wf","type":"smearing"},"tags":["occupation number"],"name":"Methfessel-Paxton Smearing","path":"/qm/wf/none/smearing/methfessel-paxton"},{"categories":{"tier1":"linalg","tier2":"diag","type":"davidson"},"tags":["diagonalization"],"name":"Davidson Diagonalization","path":"/linalg/diag/none/davidson/none"},{"categories":{"subtype":"paw","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Projector-augmented wave Pseudopotential","path":"/qm/wf/none/psp/paw"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Projector-augmented Wave Pseudopotential (Davidson Diagonalization, Methfessel-paxton Smearing)","path":"/qm/wf/none/smearing/methfessel-paxton::/linalg/diag/none/davidson/none::/qm/wf/none/psp/paw::/qm/wf/none/pw/none"},{"units":[{"categories":{"subtype":"linear","tier1":"qm","tier2":"wf","type":"tetrahedron"},"tags":["occupation number"],"name":"Linear Tetrahedron Method","path":"/qm/wf/none/tetrahedron/linear"},{"categories":{"tier1":"linalg","tier2":"diag","type":"davidson"},"tags":["diagonalization"],"name":"Davidson Diagonalization","path":"/linalg/diag/none/davidson/none"},{"categories":{"subtype":"paw","tier1":"qm","tier2":"wf","type":"psp"},"tags":["pseudopotential"],"name":"Projector-augmented wave Pseudopotential","path":"/qm/wf/none/psp/paw"},{"categories":{"tier1":"qm","tier2":"wf","type":"pw"},"tags":["plane wave"],"name":"Wave function: Plane wave","path":"/qm/wf/none/pw/none"}],"name":"Plane-wave Projector-augmented Wave Pseudopotential (Davidson Diagonalization, Linear Tetrahedron Method)","path":"/qm/wf/none/tetrahedron/linear::/linalg/diag/none/davidson/none::/qm/wf/none/psp/paw::/qm/wf/none/pw/none"}]}
|
package/src/data/model_list.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
module.exports = {allModels: [{"parameters":{"spinOrbitCoupling":true,"dispersionCorrection":"dft-d3","functional":"pbe"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBE-D3 (SOC)","path":"/pb/qm/dft/ksdft/gga?spinOrbitCoupling=true&dispersionCorrection=dft-d3&functional=pbe"},{"parameters":{"spinPolarization":"collinear","dispersionCorrection":"dft-d3","functional":"pbe"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBE-D3 (collinear)","path":"/pb/qm/dft/ksdft/gga?spinPolarization=collinear&dispersionCorrection=dft-d3&functional=pbe"},{"parameters":{"dispersionCorrection":"dft-d3","functional":"pbe"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBE-D3","path":"/pb/qm/dft/ksdft/gga?dispersionCorrection=dft-d3&functional=pbe"},{"parameters":{"hubbardType":"u","spinOrbitCoupling":true,"functional":"pbe"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBE+U (SOC)","path":"/pb/qm/dft/ksdft/gga?hubbardType=u&spinOrbitCoupling=true&functional=pbe"},{"parameters":{"spinOrbitCoupling":true,"functional":"pbe"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBE (SOC)","path":"/pb/qm/dft/ksdft/gga?spinOrbitCoupling=true&functional=pbe"},{"parameters":{"spinPolarization":"collinear","hubbardType":"u","functional":"pbe"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBE+U (collinear)","path":"/pb/qm/dft/ksdft/gga?spinPolarization=collinear&hubbardType=u&functional=pbe"},{"parameters":{"hubbardType":"u","functional":"pbe"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBE+U","path":"/pb/qm/dft/ksdft/gga?hubbardType=u&functional=pbe"},{"parameters":{"spinPolarization":"collinear","functional":"pbe"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBE (collinear)","path":"/pb/qm/dft/ksdft/gga?spinPolarization=collinear&functional=pbe"},{"parameters":{"functional":"pbe"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBE","path":"/pb/qm/dft/ksdft/gga?functional=pbe"},{"parameters":{"spinOrbitCoupling":true,"dispersionCorrection":"dft-d3","functional":"pbesol"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBESOL-D3 (SOC)","path":"/pb/qm/dft/ksdft/gga?spinOrbitCoupling=true&dispersionCorrection=dft-d3&functional=pbesol"},{"parameters":{"spinPolarization":"collinear","dispersionCorrection":"dft-d3","functional":"pbesol"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBESOL-D3 (collinear)","path":"/pb/qm/dft/ksdft/gga?spinPolarization=collinear&dispersionCorrection=dft-d3&functional=pbesol"},{"parameters":{"dispersionCorrection":"dft-d3","functional":"pbesol"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBESOL-D3","path":"/pb/qm/dft/ksdft/gga?dispersionCorrection=dft-d3&functional=pbesol"},{"parameters":{"hubbardType":"u","spinOrbitCoupling":true,"functional":"pbesol"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBESOL+U (SOC)","path":"/pb/qm/dft/ksdft/gga?hubbardType=u&spinOrbitCoupling=true&functional=pbesol"},{"parameters":{"spinOrbitCoupling":true,"functional":"pbesol"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBESOL (SOC)","path":"/pb/qm/dft/ksdft/gga?spinOrbitCoupling=true&functional=pbesol"},{"parameters":{"spinPolarization":"collinear","hubbardType":"u","functional":"pbesol"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBESOL+U (collinear)","path":"/pb/qm/dft/ksdft/gga?spinPolarization=collinear&hubbardType=u&functional=pbesol"},{"parameters":{"hubbardType":"u","functional":"pbesol"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBESOL+U","path":"/pb/qm/dft/ksdft/gga?hubbardType=u&functional=pbesol"},{"parameters":{"spinPolarization":"collinear","functional":"pbesol"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBESOL (collinear)","path":"/pb/qm/dft/ksdft/gga?spinPolarization=collinear&functional=pbesol"},{"parameters":{"functional":"pbesol"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"gga"},"tags":["density functional theory"],"name":"DFT GGA PBESOL","path":"/pb/qm/dft/ksdft/gga?functional=pbesol"},{"parameters":{"functional":"pbe","require":"pb/qm/dft/ksdft/gga?functional=pbe"},"categories":{"subtype":"g0w0","tier1":"pb","tier2":"qm","tier3":"abin","type":"gw"},"name":"G0W0@PBE","path":"/pb/qm/abin/gw/g0w0?functional=pbe&require=pb%2Fqm%2Fdft%2Fksdft%2Fgga%3Ffunctional%3Dpbe"},{"parameters":{"functional":"pbesol","require":"pb/qm/dft/ksdft/gga?functional=pbe"},"categories":{"subtype":"g0w0","tier1":"pb","tier2":"qm","tier3":"abin","type":"gw"},"name":"G0W0@pbesol","path":"/pb/qm/abin/gw/g0w0?functional=pbesol&require=pb%2Fqm%2Fdft%2Fksdft%2Fgga%3Ffunctional%3Dpbe"},{"parameters":{"functional":"pbe","require":"pb/qm/dft/ksdft/gga?functional=pbe"},"categories":{"subtype":"evgw0","tier1":"pb","tier2":"qm","tier3":"abin","type":"gw"},"name":"evGW0@PBE","path":"/pb/qm/abin/gw/evgw0?functional=pbe&require=pb%2Fqm%2Fdft%2Fksdft%2Fgga%3Ffunctional%3Dpbe"},{"parameters":{"functional":"pbesol","require":"pb/qm/dft/ksdft/gga?functional=pbe"},"categories":{"subtype":"evgw0","tier1":"pb","tier2":"qm","tier3":"abin","type":"gw"},"name":"evGW0@pbesol","path":"/pb/qm/abin/gw/evgw0?functional=pbesol&require=pb%2Fqm%2Fdft%2Fksdft%2Fgga%3Ffunctional%3Dpbe"},{"parameters":{"functional":"pbe","require":"pb/qm/dft/ksdft/gga?functional=pbe"},"categories":{"subtype":"evgw","tier1":"pb","tier2":"qm","tier3":"abin","type":"gw"},"name":"evGW@PBE","path":"/pb/qm/abin/gw/evgw?functional=pbe&require=pb%2Fqm%2Fdft%2Fksdft%2Fgga%3Ffunctional%3Dpbe"},{"parameters":{"functional":"pbesol","require":"pb/qm/dft/ksdft/gga?functional=pbe"},"categories":{"subtype":"evgw","tier1":"pb","tier2":"qm","tier3":"abin","type":"gw"},"name":"evGW@pbesol","path":"/pb/qm/abin/gw/evgw?functional=pbesol&require=pb%2Fqm%2Fdft%2Fksdft%2Fgga%3Ffunctional%3Dpbe"},{"parameters":{"spinOrbitCoupling":true,"functional":"pbe","require":"pb/qm/dft/ksdft/gga?functional=pbe&spinOrbitCoupling=true"},"categories":{"subtype":"g0w0","tier1":"pb","tier2":"qm","tier3":"abin","type":"gw"},"name":"G0W0@PBE (SOC)","path":"/pb/qm/abin/gw/g0w0?spinOrbitCoupling=true&functional=pbe&require=pb%2Fqm%2Fdft%2Fksdft%2Fgga%3Ffunctional%3Dpbe%26spinOrbitCoupling%3Dtrue"},{"parameters":{"spinOrbitCoupling":true,"functional":"pbesol","require":"pb/qm/dft/ksdft/gga?functional=pbe&spinOrbitCoupling=true"},"categories":{"subtype":"g0w0","tier1":"pb","tier2":"qm","tier3":"abin","type":"gw"},"name":"G0W0@pbesol (SOC)","path":"/pb/qm/abin/gw/g0w0?spinOrbitCoupling=true&functional=pbesol&require=pb%2Fqm%2Fdft%2Fksdft%2Fgga%3Ffunctional%3Dpbe%26spinOrbitCoupling%3Dtrue"},{"parameters":{"spinOrbitCoupling":true,"functional":"pbe","require":"pb/qm/dft/ksdft/gga?functional=pbe&spinOrbitCoupling=true"},"categories":{"subtype":"evgw0","tier1":"pb","tier2":"qm","tier3":"abin","type":"gw"},"name":"evGW0@PBE (SOC)","path":"/pb/qm/abin/gw/evgw0?spinOrbitCoupling=true&functional=pbe&require=pb%2Fqm%2Fdft%2Fksdft%2Fgga%3Ffunctional%3Dpbe%26spinOrbitCoupling%3Dtrue"},{"parameters":{"spinOrbitCoupling":true,"functional":"pbesol","require":"pb/qm/dft/ksdft/gga?functional=pbe&spinOrbitCoupling=true"},"categories":{"subtype":"evgw0","tier1":"pb","tier2":"qm","tier3":"abin","type":"gw"},"name":"evGW0@pbesol (SOC)","path":"/pb/qm/abin/gw/evgw0?spinOrbitCoupling=true&functional=pbesol&require=pb%2Fqm%2Fdft%2Fksdft%2Fgga%3Ffunctional%3Dpbe%26spinOrbitCoupling%3Dtrue"},{"parameters":{"spinOrbitCoupling":true,"functional":"pbe","require":"pb/qm/dft/ksdft/gga?functional=pbe&spinOrbitCoupling=true"},"categories":{"subtype":"evgw","tier1":"pb","tier2":"qm","tier3":"abin","type":"gw"},"name":"evGW@PBE (SOC)","path":"/pb/qm/abin/gw/evgw?spinOrbitCoupling=true&functional=pbe&require=pb%2Fqm%2Fdft%2Fksdft%2Fgga%3Ffunctional%3Dpbe%26spinOrbitCoupling%3Dtrue"},{"parameters":{"spinOrbitCoupling":true,"functional":"pbesol","require":"pb/qm/dft/ksdft/gga?functional=pbe&spinOrbitCoupling=true"},"categories":{"subtype":"evgw","tier1":"pb","tier2":"qm","tier3":"abin","type":"gw"},"name":"evGW@pbesol (SOC)","path":"/pb/qm/abin/gw/evgw?spinOrbitCoupling=true&functional=pbesol&require=pb%2Fqm%2Fdft%2Fksdft%2Fgga%3Ffunctional%3Dpbe%26spinOrbitCoupling%3Dtrue"},{"parameters":{"spinOrbitCoupling":true,"dispersionCorrection":"dft-d3","functional":"hse06"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"hybrid"},"tags":["density functional theory"],"name":"DFT Hybrid HSE-D3 (SOC)","path":"/pb/qm/dft/ksdft/hybrid?spinOrbitCoupling=true&dispersionCorrection=dft-d3&functional=hse06"},{"parameters":{"spinPolarization":"collinear","dispersionCorrection":"dft-d3","functional":"hse06"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"hybrid"},"tags":["density functional theory"],"name":"DFT Hybrid HSE-D3 (collinear)","path":"/pb/qm/dft/ksdft/hybrid?spinPolarization=collinear&dispersionCorrection=dft-d3&functional=hse06"},{"parameters":{"dispersionCorrection":"dft-d3","functional":"hse06"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"hybrid"},"tags":["density functional theory"],"name":"DFT Hybrid HSE-D3","path":"/pb/qm/dft/ksdft/hybrid?dispersionCorrection=dft-d3&functional=hse06"},{"parameters":{"spinOrbitCoupling":true,"functional":"hse06"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"hybrid"},"tags":["density functional theory"],"name":"DFT Hybrid HSE (SOC)","path":"/pb/qm/dft/ksdft/hybrid?spinOrbitCoupling=true&functional=hse06"},{"parameters":{"spinPolarization":"collinear","functional":"hse06"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"hybrid"},"tags":["density functional theory"],"name":"DFT Hybrid HSE (collinear)","path":"/pb/qm/dft/ksdft/hybrid?spinPolarization=collinear&functional=hse06"},{"parameters":{"functional":"hse06"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"hybrid"},"tags":["density functional theory"],"name":"DFT Hybrid HSE","path":"/pb/qm/dft/ksdft/hybrid?functional=hse06"},{"parameters":{"spinOrbitCoupling":true,"dispersionCorrection":"dft-d3","functional":"b3lyp"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"hybrid"},"tags":["density functional theory"],"name":"DFT Hybrid B3LYP-D3 (SOC)","path":"/pb/qm/dft/ksdft/hybrid?spinOrbitCoupling=true&dispersionCorrection=dft-d3&functional=b3lyp"},{"parameters":{"spinPolarization":"collinear","dispersionCorrection":"dft-d3","functional":"b3lyp"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"hybrid"},"tags":["density functional theory"],"name":"DFT Hybrid B3LYP-D3 (collinear)","path":"/pb/qm/dft/ksdft/hybrid?spinPolarization=collinear&dispersionCorrection=dft-d3&functional=b3lyp"},{"parameters":{"dispersionCorrection":"dft-d3","functional":"b3lyp"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"hybrid"},"tags":["density functional theory"],"name":"DFT Hybrid B3LYP-D3","path":"/pb/qm/dft/ksdft/hybrid?dispersionCorrection=dft-d3&functional=b3lyp"},{"parameters":{"spinOrbitCoupling":true,"functional":"b3lyp"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"hybrid"},"tags":["density functional theory"],"name":"DFT Hybrid B3LYP (SOC)","path":"/pb/qm/dft/ksdft/hybrid?spinOrbitCoupling=true&functional=b3lyp"},{"parameters":{"spinPolarization":"collinear","functional":"b3lyp"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"hybrid"},"tags":["density functional theory"],"name":"DFT Hybrid B3LYP (collinear)","path":"/pb/qm/dft/ksdft/hybrid?spinPolarization=collinear&functional=b3lyp"},{"parameters":{"functional":"b3lyp"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"hybrid"},"tags":["density functional theory"],"name":"DFT Hybrid B3LYP","path":"/pb/qm/dft/ksdft/hybrid?functional=b3lyp"},{"parameters":{"spinOrbitCoupling":true,"dispersionCorrection":"dft-d3","functional":"pz"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"lda"},"tags":["density functional theory"],"name":"DFT LDA PZ-D3 (SOC)","path":"/pb/qm/dft/ksdft/lda?spinOrbitCoupling=true&dispersionCorrection=dft-d3&functional=pz"},{"parameters":{"spinPolarization":"collinear","dispersionCorrection":"dft-d3","functional":"pz"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"lda"},"tags":["density functional theory"],"name":"DFT LDA PZ-D3 (collinear)","path":"/pb/qm/dft/ksdft/lda?spinPolarization=collinear&dispersionCorrection=dft-d3&functional=pz"},{"parameters":{"dispersionCorrection":"dft-d3","functional":"pz"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"lda"},"tags":["density functional theory"],"name":"DFT LDA PZ-D3","path":"/pb/qm/dft/ksdft/lda?dispersionCorrection=dft-d3&functional=pz"},{"parameters":{"hubbardType":"u","spinOrbitCoupling":true,"functional":"pz"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"lda"},"tags":["density functional theory"],"name":"DFT LDA PZ+U (SOC)","path":"/pb/qm/dft/ksdft/lda?hubbardType=u&spinOrbitCoupling=true&functional=pz"},{"parameters":{"spinOrbitCoupling":true,"functional":"pz"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"lda"},"tags":["density functional theory"],"name":"DFT LDA PZ (SOC)","path":"/pb/qm/dft/ksdft/lda?spinOrbitCoupling=true&functional=pz"},{"parameters":{"spinPolarization":"collinear","hubbardType":"u","functional":"pz"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"lda"},"tags":["density functional theory"],"name":"DFT LDA PZ+U (collinear)","path":"/pb/qm/dft/ksdft/lda?spinPolarization=collinear&hubbardType=u&functional=pz"},{"parameters":{"hubbardType":"u","functional":"pz"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"lda"},"tags":["density functional theory"],"name":"DFT LDA PZ+U","path":"/pb/qm/dft/ksdft/lda?hubbardType=u&functional=pz"},{"parameters":{"spinPolarization":"collinear","functional":"pz"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"lda"},"tags":["density functional theory"],"name":"DFT LDA PZ (collinear)","path":"/pb/qm/dft/ksdft/lda?spinPolarization=collinear&functional=pz"},{"parameters":{"functional":"pz"},"categories":{"tier1":"pb","tier2":"qm","tier3":"dft","type":"ksdft","subtype":"lda"},"tags":["density functional theory"],"name":"DFT LDA PZ","path":"/pb/qm/dft/ksdft/lda?functional=pz"},{"categories":{"tier1":"st","tier2":"det","tier3":"ml","type":"re"},"parameters":{},"name":"Regression","path":"/st/det/ml/re/none"}]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
module.exports = {"pb":{"qm":{"abin":{"gw":[{"path":"/qm/wf/none/pw/none"},{"regex":"\\/qm\\/wf\\/none\\/psp\\/.*"},{"regex":"\\/qm\\/wf\\/none\\/smearing\\/.*"},{"regex":"\\/qm\\/wf\\/none\\/tetrahedron\\/.*"},{"path":"/opt/diff/ordern/cg/none"},{"path":"/linalg/diag/none/davidson/none"}]},"dft":{"ksdft":{"lda":[{"path":"/qm/wf/none/pw/none"},{"regex":"\\/qm\\/wf\\/none\\/psp\\/.*"},{"regex":"\\/qm\\/wf\\/none\\/smearing\\/.*"},{"regex":"\\/qm\\/wf\\/none\\/tetrahedron\\/.*"},{"path":"/opt/diff/ordern/cg/none"},{"path":"/linalg/diag/none/davidson/none"}],"gga":[{"path":"/qm/wf/none/pw/none"},{"regex":"\\/qm\\/wf\\/none\\/psp\\/.*"},{"regex":"\\/qm\\/wf\\/none\\/smearing\\/.*"},{"regex":"\\/qm\\/wf\\/none\\/tetrahedron\\/.*"},{"path":"/opt/diff/ordern/cg/none"},{"path":"/linalg/diag/none/davidson/none"}],"hybrid":[{"path":"/qm/wf/none/pw/none"},{"regex":"\\/qm\\/wf\\/none\\/psp\\/.*"},{"regex":"\\/qm\\/wf\\/none\\/smearing\\/.*"},{"regex":"\\/qm\\/wf\\/none\\/tetrahedron\\/.*"},{"path":"/opt/diff/ordern/cg/none"},{"path":"/linalg/diag/none/davidson/none"},{"regex":"\\/qm\\/wf\\/none\\/ao\\/pople.*"}]}}}},"st":{"det":{"ml":{"re":[{"path":"/none/none/none/linear/least_squares"},{"path":"/none/none/none/linear/ridge"},{"path":"/none/none/none/kernel_ridge/least_squares"}]}}}}
|
package/src/default_methods.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import lodash from "lodash";
|
|
2
|
-
|
|
3
|
-
import { MODEL_NAMES, MODEL_TREE } from "./tree";
|
|
4
|
-
|
|
5
|
-
export const PseudopotentialMethodConfig = {
|
|
6
|
-
type: "pseudopotential",
|
|
7
|
-
subtype: "us",
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export const LocalOrbitalMethodConfig = {
|
|
11
|
-
type: "localorbital",
|
|
12
|
-
subtype: "pople",
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export const UnknownMethodConfig = {
|
|
16
|
-
type: "unknown",
|
|
17
|
-
subtype: "unknown",
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export function allowedTypes(model) {
|
|
21
|
-
return lodash
|
|
22
|
-
.keys(lodash.get(MODEL_TREE, `${model.type}.${model.subtype}.methods`, []))
|
|
23
|
-
.map((x) => {
|
|
24
|
-
return {
|
|
25
|
-
slug: x,
|
|
26
|
-
name: lodash.get(MODEL_NAMES, x, x),
|
|
27
|
-
};
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export function allowedSubtypes(model, type) {
|
|
32
|
-
return lodash.get(MODEL_TREE, `${model.type}.${model.subtype}.methods.${type}`, []).map((x) => {
|
|
33
|
-
return {
|
|
34
|
-
slug: x,
|
|
35
|
-
name: lodash.get(MODEL_NAMES, x, x),
|
|
36
|
-
};
|
|
37
|
-
});
|
|
38
|
-
}
|