JDFTx  1.7.0
Solvation models

Files

file  NonlinearPCM.h
 
file  PCM_internal.h
 

Classes

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...
 

Macros

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

Detailed Description

Macro Definition Documentation

◆ FLUID_DUMP

#define FLUID_DUMP (   object,
  suffix 
)
Value:
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()