/usr/include/BALL/SOLVATION/pierottiCavFreeEnergyProcessor.h is in libball1.4-dev 1.4.3~beta1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | // -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: pierottiCavFreeEnergyProcessor.h,v 1.17 2005/12/23 17:02:00 amoll Exp $
//
#ifndef BALL_SOLVATION_PIEROTTICAVFREEENERGYPROCESSOR_H
#define BALL_SOLVATION_PIEROTTICAVFREEENERGYPROCESSOR_H
#ifndef BALL_COMMON_H
# include <BALL/common.h>
#endif
#ifndef BALL_ENERGY_ENERGYPROCESSOR_H
# include <BALL/ENERGY/energyProcessor.h>
#endif
#ifndef BALL_DATATYPE_OPTIONS_H
# include <BALL/DATATYPE/options.h>
#endif
namespace BALL
{
/** Processor for the computation of the cavitation free energy.
This processor is using the SPT theory approach by Pierotti,
Chem. Rev. 76(6):717--726, 1976 with the modification for
non-spherical solutes by Huron/Claverie, J. Phys. Chem.
76(15):2123-2133, 1972. \par
Energy returned in units of kJ/mol. \par
\ingroup Solvation
*/
class BALL_EXPORT PierottiCavFreeEnergyProcessor
: public EnergyProcessor
{
public:
/** Symbolic names for option keys.
This struct contains a symbolic name for each recognized key in
PierottiCavFreeEnergyProcessor::options.
*/
struct Option
{
/** The verbosity level.
Use integer values with this option.
@see Default::VERBOSITY
@param verbosity integer
*/
static const char* VERBOSITY;
/** The number density of the solvent.
This option defines the number density of the surrounding solvent. Use
float values of unit $ A^{-3} $ with this option.
@see Default::SOLVENT_NUMBER_DENSITY
@param solvent_number_density float
*/
static const char* SOLVENT_NUMBER_DENSITY;
/** The pressure.
With this option it is possible to define the pressure under which
the solvation takes place. Use float values of unit Pa with this
option.
@see Default::PRESSURE
@param pressure float
*/
static const char* PRESSURE;
/** The temperature.
This option defines the absolute temperature at which the solvation
takes place. Use float values of unit K with this option.
@see Default::ABSOLUTE_TEMPERATURE
@param absolute_temperature float;
*/
static const char* ABSOLUTE_TEMPERATURE;
/** The probe radius.
This option defines the hard sphere solvent radius needed for the
calculation of the cavitation free energy according to the scaled
particle theory. Use float values of unit $ A $ with this option.
@see Default::PROBE_RADIUS
@param probe_radius float;
*/
static const char* PROBE_RADIUS;
};
/** Default values for cavitation free anergy calculations.
These values represent the default settings for the calculations of the
cavitation free energy.
*/
struct Default
{
/** Default verbosity level.
@see Option::VERBOSITY
*/
static const int VERBOSITY;
/** Default number density.
This default value is the number density of water at 300 K and
standard pressure (3.33253e-2 $ A^{-3} $).
@see Option::SOLVENT_NUMBER_DENSITY;
*/
static const float SOLVENT_NUMBER_DENSITY;
/** Default pressure.
This default value is the standard pressure (1.01325e5 Pa).
@see Option::PRESSURE
*/
static const float PRESSURE;
/** Default temperature.
We use a standard temperature of 298 K (25 degrees Celsius).
@see Option::ABSOLUTE_TEMPERATURE
*/
static const float ABSOLUTE_TEMPERATURE;
/** Default probe radius.
This probe radius is the one suggested by Pierotti et al. in their
paper (1.385 $ A $).
@see Option::PROBE_RADIUS
*/
static const float PROBE_RADIUS;
};
/** @name Constructors and Destructors
*/
//@{
/** Default constructor
*/
PierottiCavFreeEnergyProcessor();
/** Copy constructor
*/
PierottiCavFreeEnergyProcessor(const PierottiCavFreeEnergyProcessor& proc);
/** Destructor
*/
virtual ~PierottiCavFreeEnergyProcessor();
//@}
/** @name Assignment
*/
//@{
/** Assignment operator
*/
const PierottiCavFreeEnergyProcessor& operator = (const PierottiCavFreeEnergyProcessor& proc);
/** Clear function
*/
virtual void clear();
//@}
/** @name Predicates
*/
//@{
/** Equality operator
*/
bool operator == (const PierottiCavFreeEnergyProcessor& proc) const;
//@}
/** @name processor functions
*/
//@{
/** This is where the actual computation takes place.
*/
virtual bool finish();
//@}
/** @name Options
*/
//@{
/** Options for the calculation of the caviation free energy
*/
Options options;
//@}
private:
void setDefaultOptions();
};
}
#endif // BALL_SOLVATION_PIEROTTICAVFREEENERGYPROCESSOR_H
|