EcoliSimulator  2.0.1a
writeHistToFileMultiT.hpp
Go to the documentation of this file.
1 //
2 // writeHistToFileMultiT.hpp
3 // Ecoli_4.1.5
4 //
5 // Created by Stefano Belloni on 21/05/16.
6 // Copyright © 2016 Stefano Belloni. All rights reserved.
7 //
8 
9 #ifndef writeHistToFileMultiT_hpp
10 #define writeHistToFileMultiT_hpp
11 
12 #include <stdio.h>
13 #include <vector>
14 
15 #include "Funz_C.h"
16 
17 //***********************
18 // HISTOGRAM
19 //***********************
20 
21 void writeHistToFileMultiT(double delta_y_p, double delta_x_p, int dim_col_t, int n_salti_colonne,
22  const int& cont_sim, const int& n_dx, const int& n_dy, const int& n_c,
23  const double& min_x, const double& min_y,
24  const double& dx, const double& dy,
25  std::vector<std::vector<double> >& x,std::vector<std::vector<double> >& y,
26  const int& n_x_min, const int& n_x_max,
27  const int& n_y_min, const int& n_y_max,
28  int &max_z, int n_thread = 0);
29 
30 
31 void startThred_writeHist(const int start_for, const int end_for, const int update_for,
32  const int cont_sim, const int n_c, const int n_dx, const int n_dy,
33  const double dx, const double dy,
34  const int n_x_min, const int n_x_max,
35  const int n_y_min, const int n_y_max,
36  const double min_x, const double min_y,
37  double delta_y_p, double delta_x_p,
38  const double delta_y_p_init,
39  const double delta_x_p_init,
40  std::vector<std::vector<double> >& x,std::vector<std::vector<double> >& y,
41  int& max_z_local, bool display = false);
42 
43 
44 //***********************
45 // FUNZIONE C
46 //***********************
47 
48 
49 void writeFunzCToFileMultiT(double delta_y_p, double delta_x_p, int dim_col_t, int n_salti_colonn,
50  const int cont_sim, const int n_dx, const int n_dy,
51  const double min_x, const double min_y,
52  const double dx, const double dy,
53  const int n_x_min, const int n_x_max,
54  const int n_y_min, const int n_y_max,
55  double& maxC,
56  const double Dt,
57  Funz_C *f,
58  int n_thread);
59 
60 void startThred_writeFunC(const int start_for, const int end_for, const int update_for,
61  const int cont_sim,
62  const double dx, const double dy,
63  const int n_x_min, const int n_x_max,
64  const int n_y_min, const int n_y_max,
65  const double min_x, const double min_y,
66  double delta_y_p, double delta_x_p,
67  const double delta_y_p_init,
68  const double delta_x_p_init,
69  double Dt, Funz_C* f, double& maxC);
70 
71 
72 #endif /* writeHistToFileMultiT_hpp */
void writeFunzCToFileMultiT(double delta_y_p, double delta_x_p, int dim_col_t, int n_salti_colonn, 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)
it writes the histogram of the function c to file: multithread.
Definition: writeHistToFileMultiT.cpp:247
void writeHistToFileMultiT(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 int &n_c, const double &min_x, const double &min_y, const double &dx, const double &dy, std::vector< std::vector< double > > &x, std::vector< std::vector< double > > &y, const int &n_x_min, const int &n_x_max, const int &n_y_min, const int &n_y_max, int &max_z, int n_thread=0)
void startThred_writeHist(const int start_for, const int end_for, const int update_for, const int cont_sim, const int n_c, const int n_dx, const int n_dy, 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, const double min_x, const double min_y, double delta_y_p, double delta_x_p, const double delta_y_p_init, const double delta_x_p_init, std::vector< std::vector< double > > &x, std::vector< std::vector< double > > &y, int &max_z_local, bool display=false)
Base class for the function describing the ligand concentration.
Definition: Funz_C.h:76
void startThred_writeFunC(const int start_for, const int end_for, const int update_for, const int cont_sim, 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, const double min_x, const double min_y, double delta_y_p, double delta_x_p, const double delta_y_p_init, const double delta_x_p_init, double Dt, Funz_C *f, double &maxC)
implements the loop over time for the given thred
Definition: writeHistToFileMultiT.cpp:327