Hello,
Is there any way to create an array of some size using cppudm module and print in in FLAC?
I tried adding
Double test_[5];
in Header file &
Modelexample::Modelexample() : bulk_(0.0), shear_(0.0), cohesion_(0.0), friction_(0.0), dilation_(0.0), tension_(0.0),test_(0.0),
e1_(0.0), e2_(0.0), g2_(0.0), nph_(0.0), csn_(0.0), sc1_(0.0), sc2_(0.0), sc3_(0.0),
bisc_(0.0), e21_(0.0), rnps_(0.0)
{
// Initialize new array
for (int i = 0; i < 5; ++i) {
test_[i] = 0.0;
}
}
in main cpp file,
But it doesn’t seem to work or else I couldn’t understand how to print it?
Please convey what needs to be done
Thanking You