Hello everyone,
I got a question about Opensees framework.
when I define my parameters for my own object,
how do I output my defined parameter
It is easy in Matlab. I just need to declare a global variable.
But I don't know how to realize it in Opensees.
For example:
I have a variable fp (it's a vector length 2) defined for the object.
Then in my file MyObject.cpp, I have everything declared and the following:
const Vector&
MyObject::getfpvector(void)
{
x...........x // all the code to calculate vector fp
return fp;
}
My object in each loop gives a 1x2 vector;
After all the analysis, I expect to have a matrix of fp nx2.
Then, what I need to do if I want to output fp to a file in TCLeditor?
what do I need to record?
Hope my question make sense.
Thank you!
Need Help again
Moderators: silvia, selimgunay, Moderators