External Hamiltonian modifier parameters


keyword: calculation.hExternalModifier.isIncluded

possible values: 1, true, 0, false

default value: false

description: If it is true or 1, the external Hamiltonian modifier defined in calculation.hExternalModifier.calculator will be used.

an example:

calculation.hExternalModifier.isIncluded = true


keyword: calculation.hExternalModifier.calculator

possible values: a structure with two fields of class and parameter

default value: no default value, must be input when hExternalModifier.isIncluded is true.

description: This input parameter defines a plug-in calculator, where the field class clarifies the name of the calculator, and the field parameter gives its construction parameter. The constructor of the plug-in calculator will be called in the following manner: calculator = constructor([cp]) where [cp] = calculation.hExternalModifier.calculator.parameter

Only used when hExternalModifier.isIncluded is true.

For information about how to replace this plug-in calculator, type nanodcal -help plug-in and nanodcal -api.

an example:

calculation.hExternalModifier.calculator.class ...
= cHModifierByB
calculation.hExternalModifier.calculator.parameter.B ...
= [0 0 10] Tesla