Dalton interface
DaltonTheory class:
class DaltonTheory:
def __init__(self, mrccdir=None, filename='mrcc', printlevel=2,
mrccinput=None, numcores=1):
Keyword |
Type |
Default value |
Details |
---|---|---|---|
|
string |
None |
Path to Dalton directory. |
|
string |
None |
Dalton input as a multi-line string |
|
integer |
1 |
Number of CPU cores Dalton will use |
|
string |
'dalton' |
Name of Dalton inputfile |
|
string |
None |
Name of Dalton basis set. |
|
string |
None |
Name of basis set directory |
|
Boolean |
False |
Whether to use polarizable embedding in Dalton. |
|
string |
'' |
Name of potential file for polarizable embedding option. |
|
integer |
2 |
Printlevel |
|
string |
None |
Optional label for object |
Example:
from ash import *
#Add coordinates to fragment
HF_frag=Fragment(xyzfile="hf.xyz", charge=0, mult=1)
#Defining DaltonTheory object
input_string="""
**DALTON
.RUN RESPONSE
.DIRECT
**WAVE FUNCTIONS
.DFT
CAMB3LYP
**RESPONSE
.TDA
*LINEAR
.SINGLE RESIDUE
.ROOTS
5
**END OF
"""
Daltonobject = DaltonTheory(daltondir="/path/to/daltondir",dalton_input=input_string)
#Running single-point job
result=Singlepoint(theory=Daltonobject,fragment=frag)