Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Mareframe
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[mareframe] Diff of /trunk/gadget/stochasticdata.cc
[mareframe] / trunk / gadget / stochasticdata.cc Repository:
ViewVC logotype

Diff of /trunk/gadget/stochasticdata.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1, Mon Feb 10 17:09:07 2014 UTC revision 2, Wed Apr 29 12:55:30 2015 UTC
# Line 4  Line 4 
4  #include "gadget.h"  #include "gadget.h"
5  #include "global.h"  #include "global.h"
6    
7    
8    
9  StochasticData::StochasticData(const char* const filename) {  StochasticData::StochasticData(const char* const filename) {
10    netrun = 0;    netrun = 0;
11    readInfo = new InitialInputFile(filename);    readInfo = new InitialInputFile(filename);
# Line 46  Line 48 
48  #endif  #endif
49  }  }
50    
51    
52    StochasticData::StochasticData() {
53      netrun = 1;
54      readInfo = NULL;
55    #ifdef GADGET_NETWORK
56      slave = new SlaveCommunication();
57      getdata = 0;
58      dataFromMaster = NULL;
59      this->readFromNetwork();
60    #endif
61    }
62    
63  StochasticData::~StochasticData() {  StochasticData::~StochasticData() {
64    if (netrun) {    if (netrun) {
65  #ifdef GADGET_NETWORK  #ifdef GADGET_NETWORK

Legend:
Removed from v.1  
changed lines
  Added in v.2

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge