Provides centralized creation of quantum chemistry method instances. The factory pattern encapsulates method instantiation and configuration, making it easy to add new methods without modifying calling code. Convenience function
Factory for creating quantum chemistry method instances
| procedure, public :: create => factory_create |
Convenience function to create a method without instantiating factory
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(method_config_t), | intent(in) | :: | config |
Create a quantum chemistry method instance from configuration
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(method_factory_t), | intent(in) | :: | this | |||
| type(method_config_t), | intent(in) | :: | config |
Configure a DFT method instance from config%scf (shared) and config%dft (DFT-specific)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(qc_method_t), | intent(inout) | :: | method | |||
| type(method_config_t), | intent(in) | :: | config |
Configure a Hartree-Fock method instance from config%scf (shared SCF settings)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(qc_method_t), | intent(inout) | :: | method | |||
| type(method_config_t), | intent(in) | :: | config |
Configure a MCSCF method instance from config%mcscf
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(qc_method_t), | intent(inout) | :: | method | |||
| type(method_config_t), | intent(in) | :: | config |
Configure an XTB method instance from config%xtb
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(qc_method_t), | intent(inout) | :: | method | |||
| type(method_config_t), | intent(in) | :: | config |