Hello everyone,
Where are the system variables stored when we are using Opensees?
System variables are variables like:
Material tag;
strain(n);
strain(n+1);
...
etc.
Thank you so much.
Where are the system variables?
Moderators: silvia, selimgunay, Moderators
thank you fmk
Thank you FMK,
Thank you for pointing it out to me.
I got my code working now.
Zhan
Thank you for pointing it out to me.
I got my code working now.
Zhan
ADD one more question:
Now when I define my parameters for my own object,
how do I output my defined parameter?
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 out fp to a file in TCLeditor?
what do I need to record?
Hope my question make sense.
Thank you!
how do I output my defined parameter?
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 out fp to a file in TCLeditor?
what do I need to record?
Hope my question make sense.
Thank you!
Maybe should be a seperate topic
I will bring up another this issue as a new topic.