MADNESS 0.10.1
madness::PCM Class Reference

interface class to the PCMSolver library More...

#include <pcm.h>

Collaboration diagram for madness::PCM:

Public Member Functions

 PCM ()=default
 default ctor
 PCM (World &world, const Molecule &mol, const PCMParameters &param, const bool verbose)
 constructor for the interface to PCM
double compute_pcm_energy () const
 compute the PCM energy based on the most recent call of compute_pcm_potential
real_function_3d compute_pcm_potential (const real_function_3d &coulomb_potential, const bool dynamic=false) const
 compute the potential induced by the surrounding solvent

Private Member Functions

Tensor< double > nuclear_mep (int nr_nuclei, const Tensor< double > &charges, const Tensor< double > &coordinates, const int grid_size, const Tensor< double > &grid) const
 compute the molecular electrostatic potential from the nuclei

Private Attributes

std::string asc_lbl
 file name for the total (nuclear + electronic) apparent surface charge
Tensor< double > charges
 nuclear charges of the molecule, needs to be memory controlled by the PCM class
Tensor< double > coordinates
 molecular coordinates, needs to be memory controlled by the PCM class
std::string mep_lbl
 file name for the total (nuclear + electronic) molecular electronic potential
Tensor< int > symmetry_info
 symmetry info for PCM, needs to be memory controlled by the PCM class

Detailed Description

interface class to the PCMSolver library

PCMSolver, an API for the Polarizable Continuum Model electrostatic problem. Main authors: R. Di Remigio, L. Frediani, K. Mozgawa

Constructor & Destructor Documentation

◆ PCM() [1/2]

madness::PCM::PCM ( )
default

default ctor

References charges, coordinates, madness::grid(), and param.

◆ PCM() [2/2]

madness::PCM::PCM ( World & world,
const Molecule & mol,
const PCMParameters & param,
const bool verbose )

constructor for the interface to PCM

Parameters
[in]worldthe world
[in]molthe molecule (coordinates and charges of the nuclei)
[in]paramthe pcm data group, already reconciled with pcm_data
[in]verboseprint the PCM header and echo the pcm parameter group

References MADNESS_EXCEPTION, and param.

Member Function Documentation

◆ compute_pcm_energy()

double madness::PCM::compute_pcm_energy ( ) const

compute the PCM energy based on the most recent call of compute_pcm_potential

References MADNESS_EXCEPTION.

◆ compute_pcm_potential()

real_function_3d madness::PCM::compute_pcm_potential ( const real_function_3d & coulomb_potential,
const bool dynamic = false ) const

compute the potential induced by the surrounding solvent

Parameters
[in]coulomb_potentialthe (positive) potential caused by the electron density
[in]dynamiccompute the contribution to a response kernel
Returns
the pcm potential with correct sign: J - K + V_nuc + V_pcm

References MADNESS_EXCEPTION.

◆ nuclear_mep()

Tensor< double > madness::PCM::nuclear_mep ( int nr_nuclei,
const Tensor< double > & charges,
const Tensor< double > & coordinates,
const int grid_size,
const Tensor< double > & grid ) const
private

compute the molecular electrostatic potential from the nuclei

References charges, coordinates, madness::grid(), and MADNESS_EXCEPTION.

Member Data Documentation

◆ asc_lbl

std::string madness::PCM::asc_lbl
private

file name for the total (nuclear + electronic) apparent surface charge

◆ charges

Tensor<double> madness::PCM::charges
private

nuclear charges of the molecule, needs to be memory controlled by the PCM class

Referenced by PCM(), and nuclear_mep().

◆ coordinates

Tensor<double> madness::PCM::coordinates
private

molecular coordinates, needs to be memory controlled by the PCM class

Referenced by PCM(), and nuclear_mep().

◆ mep_lbl

std::string madness::PCM::mep_lbl
private

file name for the total (nuclear + electronic) molecular electronic potential

◆ symmetry_info

Tensor<int> madness::PCM::symmetry_info
private

symmetry info for PCM, needs to be memory controlled by the PCM class


The documentation for this class was generated from the following files: