[mareframe] View of /trunk/paramin-beta/netdata.cc
View of /trunk/paramin-beta/netdata.cc
Parent Directory
| Revision Log
Revision 1 -
( download)
( annotate)
Mon Feb 10 17:09:07 2014 UTC
(10 years, 5 months ago)
by agomez
File size: 395 byte(s)
Initial version based on Gadget 2.2.00
#include "netdata.h"
#include "gadget.h"
NetDataVariables::NetDataVariables(int numVar) {
tag = -1;
x_id = -1;
if (numVar < 1) {
cerr << "Error in netdata - number of variables must be positive\n";
exit(EXIT_FAILURE);
}
x = new double[numVar];
}
NetDataVariables::~NetDataVariables() {
delete[] x;
}
NetDataResult::NetDataResult() {
}
NetDataResult::~NetDataResult() {
}
|