JDFTx  1.7.0
Solvation models


file  NonlinearPCM.h
file  PCM_internal.h


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 [37] 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 > ScalarFieldMuEps
 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();
bool isHead() const
whether this is the root process (makes code more readable)
Definition: MPIUtil.h:51
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
MPIUtil * mpiWorld
MPI across all processes.
#define logPrintf(...)
printf() for log files
Definition: Util.h:131

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