20 #ifndef JDFTX_FLUID_MOLECULE_H 21 #define JDFTX_FLUID_MOLECULE_H 23 #include <electronic/RadialFunction.h> 49 Site(
string name,
int atomicNumber=0);
52 explicit operator bool()
const {
return initialized; }
60 std::vector< std::shared_ptr<Site> > sites;
66 explicit operator bool()
const {
return initialized; }
75 std::map<double,int>
getBonds()
const;
82 #endif // JDFTX_FLUID_MOLECULE_H double checkCharge()
check total charge on molecule and modify kernels if small non-neutral charge
int atomicNumber
necessary for vdW parameters
Definition: Molecule.h:38
double deltaS
G=0 correction potential due to electron-fluid and fluid-fluid charge kernel mismatch.
Definition: Molecule.h:42
Simulation grid descriptor.
Definition: GridInfo.h:45
STL strings and streams with case insensitive comparison.
void setModelMonoatomic(string name, double Q, double Rhs)
set to a simple monoatomic model (useful for debugging, not for actual solvation) ...
double Zsite
site charge in electrons
Definition: Molecule.h:41
bool isMonoatomic() const
whether it is a monoatomic molecule
Definition: Molecule.h:35
string name
site name
Definition: Molecule.h:36
Multi-site molecule model.
Definition: Molecule.h:31
double aPol
isotropic polarizability and corresponding cuspless-exponential width
Definition: Molecule.h:45
double Rhs
hard sphere radius
Definition: Molecule.h:37
string name
Molecule name.
Definition: Molecule.h:33
double sigmaNuc
magnitude of the nuclear charge (positive) and corresponding gaussian width
Definition: Molecule.h:39
Real and complex scalar fields in real and reciprocal space.
RadialFunctionG polKernel
Electron density, net charge density and polarizability kernels for the sites.
Definition: Molecule.h:55
vector3 getDipole() const
total dipole moment on molecule
double getAlphaTot() const
total polarizability
std::vector< vector3<> > positions
Positions w.r.t molecular origin in the reference orientation.
Definition: Molecule.h:47
RadialFunctionG mfKernel
Mean field interaction kernel (with minimum Coulomb self energy while preserving intermolecular inter...
Definition: Molecule.h:61
RadialFunctionG w2m
Hard sphere weight functions.
Definition: Molecule.h:54
double rcElec
width and location of peak in electron charge distribution
Definition: Molecule.h:43
G-space radial function stored on a uniform grid (of |G|)
Definition: RadialFunction.h:28
std::map< double, int > getBonds() const
get the harmonic sum of radii for spheres in contact, with the multiplicities for each such pair ...
double aElec
magnitude of electron charge (positive) and corresponding cuspless-exponential width ...
Definition: Molecule.h:40
double getCharge() const
total charge on molecule
double getVhs() const
total exclusion volume
void setup(const GridInfo &gInfo)
initialize the radial functions from the properties specified above
string elecFilenameG
include electron charge density from real- or G- space radial ASCII file
Definition: Molecule.h:44