We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0339173 commit 7fa03caCopy full SHA for 7fa03ca
source/module_io/read_input_item_output.cpp
@@ -141,6 +141,12 @@ void ReadInput::item_output()
141
Input_Item item("out_mul");
142
item.annotation = "mulliken charge or not";
143
read_sync_bool(input.out_mul);
144
+ item.check_value = [](const Input_Item& item, const Parameter& para) {
145
+ if (para.input.basis_type == "pw" && para.input.out_mul)
146
+ {
147
+ ModuleBase::WARNING_QUIT("ReadInput", "out_mul is only for lcao");
148
+ }
149
+ };
150
this->add_item(item);
151
}
152
{
0 commit comments