00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
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 namespace sc {
00040
00048 class BEMSolventH: public AccumH {
00049 private:
00050 double gamma_;
00051 int onebody_;
00052 int normalize_q_;
00053 int separate_surf_charges_;
00054 int y_equals_j_;
00055 int integrate_nelectron_;
00056
00057 Ref<Wavefunction> wfn_;
00058 Ref<BEMSolvent> solvent_;
00059
00060 double **charge_positions_;
00061 double **normals_;
00062 double *efield_dot_normals_;
00063 double *charges_;
00064 double *charges_n_;
00065 double enucsurf_;
00066 double eelecsurf_;
00067 double esurfsurf_;
00068 double escalar_;
00069 double ecavitation_;
00070 double edisprep_;
00071
00072 public:
00073 BEMSolventH(StateIn&);
00074 BEMSolventH(const Ref<KeyVal>&);
00075 virtual ~BEMSolventH();
00076
00077 void save_data_state(StateOut&);
00078
00079 void init(const Ref<Wavefunction>&);
00080 void accum(const RefSymmSCMatrix& h);
00081 void done();
00082 void print_summary();
00083
00084 double e();
00085 };
00086
00087 }
00088
00089 #endif
00090
00091
00092
00093
00094