EcoliSimulator  2.0.1a
histogram3DMultiThreadV2.cpp File Reference
#include "histogram3DMultiThreadV2.hpp"
#include <vector>
#include "Funz_C.h"
#include <fstream>
#include "Colori.h"
#include <cmath>
#include <iostream>
#include <thread>
#include "writeHistToFileMultiT.hpp"
#include "GlobalVariables.h"
#include <system_error>

Macros

#define min_(a, b)   ( ((a) < (b)) ? (a) : (b) )
 

Functions

double histogram_3D_gnuplotV2MultiThreadV2 (double max_x, double max_y, double min_x, double min_y, int n_dx, int n_dy, double dx, double dy, vector< vector< double > > &x, vector< vector< double > > &y, int n_c, int dim_col_t, int n_salti_colonne, Funz_C *f, double &maxC, int risp_Max, int cont_sim, string name_file_info)
 
void writeFunC_andHist (double delta_y_p, double delta_x_p, int dim_col_t, int n_salti_colonne, const int cont_sim, const int n_dx, const int n_dy, const double min_x, const double min_y, const double dx, const double dy, const int n_x_min, const int n_x_max, const int n_y_min, const int n_y_max, double &maxC, const double Dt, Funz_C *f, int n_thread, vector< vector< double > > &x, vector< vector< double > > &y, int n_c, int &max_z, double &maxC_temp)
 write funz and hist to File using all the threads available More...
 

Macro Definition Documentation

#define min_ (   a,
 
)    ( ((a) < (b)) ? (a) : (b) )

Function Documentation

double histogram_3D_gnuplotV2MultiThreadV2 ( double  max_x,
double  max_y,
double  min_x,
double  min_y,
int  n_dx,
int  n_dy,
double  dx,
double  dy,
vector< vector< double > > &  x,
vector< vector< double > > &  y,
int  n_c,
int  dim_col_t,
int  n_salti_colonne,
Funz_C f,
double &  maxC,
int  risp_Max,
int  cont_sim,
string  name_info 
)

Function to plot the data for large_interacting_population: basically is possible duplicate of gnuplot_large_population. it changes how we read the file ... first loop on time or bacteria ??

void writeFunC_andHist ( double  delta_y_p,
double  delta_x_p,
int  dim_col_t,
int  n_salti_colonne,
const int  cont_sim,
const int  n_dx,
const int  n_dy,
const double  min_x,
const double  min_y,
const double  dx,
const double  dy,
const int  n_x_min,
const int  n_x_max,
const int  n_y_min,
const int  n_y_max,
double &  maxC,
const double  Dt,
Funz_C f,
int  n_thread,
vector< vector< double > > &  x,
vector< vector< double > > &  y,
int  n_c,
int &  max_z,
double &  maxC_temp 
)

write funz and hist to File using all the threads available