OpenCAP
Electronic structure of metastable states
molcas_interface.h
Go to the documentation of this file.
1 /*Copyright (c) 2021 James Gayvert
2 
3 Permission is hereby granted, free of charge, to any person obtaining a copy
4 of this software and associated documentation files (the "Software"), to deal
5 in the Software without restriction, including without limitation the rights
6 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 copies of the Software, and to permit persons to whom the Software is
8 furnished to do so, subject to the following conditions:
9 
10 The above copyright notice and this permission notice shall be included in all
11 copies or substantial portions of the Software.
12 
13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 SOFTWARE.
20 */
21 
26 #include <Eigen/Dense>
27 #include "BasisSet.h"
28 
29 #ifndef MOLCAS_INTERFACE_H_
30 #define MOLCAS_INTERFACE_H_
31 
39 void read_rassi_tdms(std::vector<std::vector<Eigen::MatrixXd>> &alpha_opdms,
40  std::vector<std::vector<Eigen::MatrixXd>> &beta_opdms,
41  std::string dmat_filename, BasisSet bs,size_t nstates);
47 Eigen::MatrixXd read_rassi_overlap(std::string filename, BasisSet bs);
54 Eigen::MatrixXd read_mscaspt2_heff(size_t nstates, std::string filename, Eigen::MatrixXd &rotation_matrix);
60 BasisSet read_basis_from_rassi(std::string filename,std::vector<Atom> atoms);
65 std::vector<Atom> read_geometry_from_rassi(std::string filename);
72 Eigen::MatrixXd read_nevpt2_heff(size_t nstates, std::string filename, std::string method);
73 #endif /* MOLCAS_INTERFACE_H_ */
std::vector< Atom > read_geometry_from_rassi(std::string filename)
Eigen::MatrixXd read_mscaspt2_heff(size_t nstates, std::string filename, Eigen::MatrixXd &rotation_matrix)
BasisSet read_basis_from_rassi(std::string filename, std::vector< Atom > atoms)
Eigen::MatrixXd read_nevpt2_heff(size_t nstates, std::string filename, std::string method)
Classes and structs for storing basis set data.
void read_rassi_tdms(std::vector< std::vector< Eigen::MatrixXd >> &alpha_opdms, std::vector< std::vector< Eigen::MatrixXd >> &beta_opdms, std::string dmat_filename, BasisSet bs, size_t nstates)
Object for storing basis set information.
Definition: BasisSet.h:86
Eigen::MatrixXd read_rassi_overlap(std::string filename, BasisSet bs)