-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimulation.hpp
More file actions
39 lines (36 loc) · 1.02 KB
/
simulation.hpp
File metadata and controls
39 lines (36 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef SIMULATION_
#define SIMULATION_
#include <iostream>
#include <fstream>
#include <random>
#include <algorithm>
#include <math.h>
#include <ctime>
#include <string>
#include <vector>
#include "omp.h"
#include <mpi.h>
#include <iomanip>
#include <chrono>
#include "membrane_mc.hpp"
#include "analyzers.hpp"
#include "saruprng.hpp"
#include "output_system.hpp"
#include "mc_moves.hpp"
#include "utilities.hpp"
using namespace std;
class Simulation {
public:
Simulation(double, double, int, int);
~Simulation();
void CheckerboardMCSweep(bool, MembraneMC&, NeighborList&);
void NextStepSerial(MembraneMC&, NeighborList&);
void NextStepParallel(bool, MembraneMC&, NeighborList&);
void Equilibriate(int, MembraneMC&, NeighborList&, chrono::steady_clock::time_point&);
void Simulate(int, MembraneMC&, NeighborList&, Analyzers&, chrono::steady_clock::time_point&);
// Helper classes
MCMoves mc_mover;
OutputSystem output;
Utilities util;
};
#endif