Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

solvent.h

00001 //
00002 // solvent.h
00003 //
00004 // Copyright (C) 1997 Limit Point Systems, Inc.
00005 //
00006 // Author: Curtis Janssen <cljanss@limitpt.com>
00007 // Maintainer: LPS
00008 //
00009 // This file is part of the SC Toolkit.
00010 //
00011 // The SC Toolkit is free software; you can redistribute it and/or modify
00012 // it under the terms of the GNU Library General Public License as published by
00013 // the Free Software Foundation; either version 2, or (at your option)
00014 // any later version.
00015 //
00016 // The SC Toolkit is distributed in the hope that it will be useful,
00017 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019 // GNU Library General Public License for more details.
00020 //
00021 // You should have received a copy of the GNU Library General Public License
00022 // along with the SC Toolkit; see the file COPYING.LIB.  If not, write to
00023 // the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
00024 //
00025 // The U.S. Government is granted a limited license as per AL 91-7.
00026 //
00027 
00028 #ifndef _chemistry_qc_wfn_solvent_h
00029 #define _chemistry_qc_wfn_solvent_h
00030 
00031 #ifdef __GNUC__
00032 #pragma interface
00033 #endif
00034 
00035 #include <chemistry/solvent/bem.h>
00036 #include <chemistry/qc/wfn/wfn.h>
00037 #include <chemistry/qc/wfn/accum.h>
00038 
00039 class BEMSolventH: public AccumH {
00040   private:
00041     double gamma_;
00042     int onebody_;
00043     int normalize_q_;
00044     int separate_surf_charges_;
00045     int y_equals_j_;
00046     int integrate_nelectron_;
00047 
00048     Ref<Wavefunction> wfn_;
00049     Ref<BEMSolvent> solvent_;
00050 
00051     double **charge_positions_;
00052     double **normals_;
00053     double *efield_dot_normals_;
00054     double *charges_;
00055     double *charges_n_;
00056     double enucsurf_;
00057     double eelecsurf_;
00058     double esurfsurf_;
00059     double escalar_;
00060     double ecavitation_;
00061     double edisprep_;
00062 
00063   public:
00064     BEMSolventH(StateIn&);
00065     BEMSolventH(const Ref<KeyVal>&);
00066     virtual ~BEMSolventH();
00067 
00068     void save_data_state(StateOut&);
00069 
00070     void init(const Ref<Wavefunction>&);
00071     void accum(const RefSymmSCMatrix& h);
00072     void done();
00073     void print_summary();
00074 
00075     double e();
00076 };
00077 
00078 #endif
00079 
00080 // Local Variables:
00081 // mode: c++
00082 // c-file-style: "CLJ"
00083 // End:

Generated at Thu Oct 4 18:08:47 2001 for MPQC 2.0.0 using the documentation package Doxygen 1.2.5.