TeraChem
qcop.adapters.terachem.TeraChemAdapter
¶
Adapter for TeraChem.
supported_calctypes
class-attribute
instance-attribute
¶
supported_calctypes = [energy, gradient, hessian, optimization]
Supported calculation types.
program_version
¶
program_version(stdout: str | None = None) -> str
Get the program version.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
stdout |
str | None
|
The stdout from the program. |
None
|
Returns:
Type | Description |
---|---|
str
|
The program version. |
Source code in src/qcop/adapters/terachem.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
|
compute_data
¶
compute_data(input_data: ProgramInput, update_func: Callable | None = None, update_interval: float | None = None, **kwargs) -> tuple[SinglePointData, str]
Execute TeraChem on the given input.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
input_data |
ProgramInput
|
The qcio ProgramInput object for a computation. |
required |
update_func |
Callable | None
|
A callback function to call as the program executes. |
None
|
update_interval |
float | None
|
The minimum time in seconds between calls to the update_func. |
None
|
Returns:
Type | Description |
---|---|
tuple[SinglePointData, str]
|
A tuple of SinglePointData and the stdout str. |
Source code in src/qcop/adapters/terachem.py
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
|
collect_wfn
¶
collect_wfn() -> dict[str, str | bytes]
Append wavefunction data to the output.
Source code in src/qcop/adapters/terachem.py
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
|
propagate_wfn
¶
propagate_wfn(output: Results, program_input: ProgramInput) -> None
Propagate the wavefunction from the previous calculation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
output |
Results
|
The output from a previous calculation containing wavefunction data. |
required |
program_input |
ProgramInput
|
The ProgramInput object on which to place the wavefunction data. |
required |
Returns:
Type | Description |
---|---|
None
|
None. Modifies the program_input object in place. |
Source code in src/qcop/adapters/terachem.py
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
|
qcop.adapters.terachem_fe.TeraChemFEAdapter
¶
TeraChemFEAdapter()
Adapter for TeraChem's Protocol Buffer Server and Frontend file server.
Source code in src/qcop/adapters/terachem_fe.py
18 19 20 21 22 |
|
supported_calctypes
class-attribute
instance-attribute
¶
supported_calctypes = [energy, gradient]
Supported calculation types.
program_version
¶
program_version(stdout: str | None = None) -> str
Program version is not available via the PB server.
Source code in src/qcop/adapters/terachem_fe.py
38 39 40 |
|
compute_data
¶
compute_data(input_data: ProgramInput, update_func: Callable | None = None, update_interval: float | None = None, **kwargs) -> tuple[SinglePointData, str]
Execute TeraChem on the given input.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
input_data |
ProgramInput
|
The qcio ProgramInput object for a computation. |
required |
update_func |
Callable | None
|
A callback function to call as the program executes. |
None
|
update_interval |
float | None
|
The minimum time in seconds between calls to the update_func. |
None
|
Returns:
Type | Description |
---|---|
tuple[SinglePointData, str]
|
A tuple of SinglePointData and the stdout str. |
Source code in src/qcop/adapters/terachem_fe.py
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
|
qcop.adapters.terachem_pbs.TeraChemPBSAdapter
¶
TeraChemPBSAdapter()
Adapter for TeraChem's Protocol Buffer Server.
Source code in src/qcop/adapters/terachem_pbs.py
9 10 11 12 13 |
|