PAPRECA hybrid off-lattice kMC/MD simulator  2.0.0 (17 September 2024)
PAPRECA::Log Class Reference

Child class of File, manages papreca.log files. More...

#include <export_files.h>

Inheritance diagram for PAPRECA::Log:
Collaboration diagram for PAPRECA::Log:

Public Member Functions

 Log ()
 
 ~Log ()
 
void init ()
 
void append (const int &KMC_loopid, const double &time, const char *event_type)
 
- Public Member Functions inherited from PAPRECA::File
 File ()
 
 File (const int &print_freq_in)
 
virtual ~File ()
 
virtual void close ()
 
void setActive ()
 
void setIncative ()
 
const bool isActive () const
 
void setPrintFreq (const int &print_freq_in)
 
const int getPrintFreq () const
 

Friends

class PaprecaConfig
 

Additional Inherited Members

- Protected Attributes inherited from PAPRECA::File
std::ofstream file
 
bool is_active = false
 
int print_freq = 0
 

Detailed Description

Child class of File, manages papreca.log files.

Constructor & Destructor Documentation

◆ Log()

PAPRECA::Log::Log ( )

◆ ~Log()

PAPRECA::Log::~Log ( )

Member Function Documentation

◆ append()

void PAPRECA::Log::append ( const int &  KMC_loopid,
const double &  time,
const char *  event_type 
)

◆ init()

void PAPRECA::Log::init ( )

Friends And Related Function Documentation

◆ PaprecaConfig

friend class PaprecaConfig
friend

The documentation for this class was generated from the following files: