PABLO
0.1
PArallel Balanced Linear Octree
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Pages
include
Class_Log.hpp
1
/*
2
* ClassLog.hpp
3
*
4
* Created on: 3 dec 2014
5
* Author: marco
6
*/
7
8
#ifndef INCLUDE_CLASS_LOG_HPP_
9
#define INCLUDE_CLASS_LOG_HPP_
10
11
#if NOMPI==0
12
#include <mpi.h>
13
#endif
14
#include <vector>
15
#include <string>
16
#include <fstream>
17
#include <sstream>
18
using namespace
std
;
19
20
class
Class_Log
{
21
22
string
filename;
23
#if NOMPI==0
24
MPI_Comm comm;
25
#endif
26
27
public
:
28
#if NOMPI==0
29
Class_Log
(
string
filename_,MPI_Comm comm_ = MPI_COMM_WORLD);
30
#else
31
Class_Log
(
string
filename_);
32
#endif
33
~
Class_Log
();
34
35
void
writeLog(
string
msg);
36
37
};
38
39
#endif
/* INCLUDE_CLASS_LOG_HPP_ */
std
Class_Log
Definition:
Class_Log.hpp:20
Generated on Mon Oct 5 2015 15:12:11 for PABLO by
1.8.8