JDFTx  1.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Solvation models


file  NonlinearPCM.h
file  PCM_internal.h


 Helper classes for NonlinearPCM.
 Original shape function from [24], [15] and [12].
 Shape function in CANDLE [31].
 Shape function for [34].
 Shape function for the soft-sphere model [7].
 Shape function for SCCS models [1].


class  LinearPCM
 Linear solvation models: shared electrostatics implementation. More...
class  NonlinearPCM
 Nonlinear solvation models: shared electrostatic part implementation. More...
class  PCM
 Base class for all PCMs. More...
class  SaLSA
 Nonlocal SaLSA [36] solvation model implementation (electrostatic part) More...


#define FLUID_DUMP(object, suffix)
 Convenient macro for dumping scalar fields in dumpDensities() or dumpDebug() More...


typedef ScalarFieldMultiplet
< ScalarFieldData, 5 > 
 ion chemical potentials and effective local electric field

Detailed Description

Macro Definition Documentation

#define FLUID_DUMP (   object,
filename = filenamePattern; \
filename.replace(filename.find("%s"), 2, suffix); \
logPrintf("Dumping '%s'... ", filename.c_str()); logFlush(); \
if(mpiWorld->isHead()) saveRawBinary(object, filename.c_str()); \
logPrintf("done.\n"); logFlush();
MPIUtil * mpiWorld
MPI across all processes.
bool isHead() const
whether this is the root process (makes code more readable)
Definition: MPIUtil.h:51
#define logPrintf(...)
printf() for log files
Definition: Util.h:131
void saveRawBinary(const Tptr &X, FILE *fp)
Save the data in raw binary format to stream.
Definition: ScalarFieldIO.h:35
#define logFlush()
fflush() for log files
Definition: Util.h:132

Convenient macro for dumping scalar fields in dumpDensities() or dumpDebug()