esp.h

00001 //
00002 // esp.h
00003 //
00004 // Copyright (C) 2006 Toon Verstraelen.
00005 //
00006 // Author: Toon Verstraelen
00007 //
00008 // This file is free software; you can redistribute it and/or modify
00009 // it under the terms of the GNU General Public License as published by
00010 // the Free Software Foundation; either version 2, or (at your option)
00011 // any later version.
00012 //
00013 // This file is distributed in the hope that it will be useful,
00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 // GNU General Public License for more details.
00017 //
00018 // You should have received a copy of the GNU General Public License
00019 // along with the MPQC; see the file COPYING.  If not, write to
00020 // the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
00021 //
00022 
00023 #ifndef _chemistry_qc_wfn_esp_h
00024 #define _chemistry_qc_wfn_esp_h
00025 
00026 #ifdef __GNUC__
00027 #pragma interface
00028 #endif
00029 
00030 #include <chemistry/qc/wfn/wfn.h>
00031 #include <chemistry/molecule/molecule.h>
00032 #include <math/mmisc/grid.h>
00033 
00034 namespace sc {
00035 
00038 class WriteElectrostaticPotential: public WriteGrid {
00039   protected:
00040     Ref<Wavefunction> wfn_;
00041     Ref<SymmSCMatrix> ao_density_;
00042     Ref<SymmSCMatrix> pc_mat_;
00043     bool electronic_;
00044     bool nuclear_;
00045 
00046     void initialize();
00047     void label(char* buffer);
00048     Ref<Molecule> get_molecule();
00049     double calculate_value(SCVector3 point);
00050   public:
00065     WriteElectrostaticPotential(const Ref<KeyVal> &);
00066 };
00067 
00068 }
00069 
00070 #endif
00071 
00072 // Local Variables:
00073 // mode: c++
00074 // c-file-style: "CLJ"
00075 // End:

Generated at Wed Sep 5 14:02:29 2007 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.5.2.
These pages are hosted on SourceForge.net