forked from crcollins/Qmatlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDecompose.m
27 lines (24 loc) · 960 Bytes
/
Decompose.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
classdef Decompose < handle
properties
fullIn % Gaussian object of full molecule (calculation already run)
full % full calc
frags % cell array of the fragments
fragList % cell array, with lists of atoms in each fragment
links % link atoms (currently only 2 supported)
rlinks % array with bond lengths for the link atoms
keywords % string: should eventually pull from full, but user for now
maps % full.orbs(maps{ifrag),:) = full MOs in the AO basis of
% ifrag (but without the link atom present)
nonLink % nonLink{ifrag} = all AO's on ifrag except those on link atom
overlap % overlap{ifrag}(fragMO,fullMO)
end
methods
function obj = Decompose(fullIn,fragList,links,rlinks,keywords)
obj.fullIn = fullIn;
obj.fragList = fragList;
obj.links = links;
obj.rlinks = rlinks;
obj.keywords = keywords;
end
end
end