Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
#include "gmxpre.h"
#include "logging.h"
#include <memory>
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/utility/binaryinformation.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/programcontext.h"
#include "gromacs/utility/smalloc.h"
+ Include dependency graph for logging.cpp:

Description

Implements the MD log file handling routines.

Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Functions

static void gmx::prepareLogFile (BinaryInformationSettings settings, FILE *fplog)
 Implements aspects of logfile handling common to opening either for writing or appending.
 
LogFilePtr gmx::openLogFile (const char *lognm, bool appendFiles)
 Open the log file for writing/appending. More...
 
void gmx::prepareLogAppending (FILE *fplog)
 Prepare to use the open log file when appending. More...
 
void gmx::closeLogFile (t_fileio *logfio)
 Close the log file.