From 85c0e111649740beead1984b9b09a922b5faf75d Mon Sep 17 00:00:00 2001 From: Alexander Zech Date: Sun, 22 Oct 2023 09:00:03 -0700 Subject: [PATCH 1/2] feat: add magnetization model mixin --- schema/model/mixins/magnetization.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 schema/model/mixins/magnetization.json diff --git a/schema/model/mixins/magnetization.json b/schema/model/mixins/magnetization.json new file mode 100644 index 000000000..65c4feb1b --- /dev/null +++ b/schema/model/mixins/magnetization.json @@ -0,0 +1,11 @@ +{ + "$id": "model/mixins/magnetization", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Magnetization mixin", + "type": "object", + "properties": { + "magnetization": { + "type": "boolean" + } + } +} From dfb2133abe9b1254ced7d60d0660a5452fb6b2ff Mon Sep 17 00:00:00 2001 From: Alexander Zech Date: Sun, 22 Oct 2023 09:00:44 -0700 Subject: [PATCH 2/2] chore: add magnetization to LDA model --- schema/models_directory/lda.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/schema/models_directory/lda.json b/schema/models_directory/lda.json index 86ea9bad2..ac7ebc526 100644 --- a/schema/models_directory/lda.json +++ b/schema/models_directory/lda.json @@ -29,6 +29,9 @@ }, { "$ref": "../model/mixins/hubbard.json" + }, + { + "$ref": "../model/mixins/magnetization.json" } ] }