Variable
Moderators: silvia, selimgunay, Moderators
Variable
Is there a way to acces the variable (the values of) used to construct the model used in OS? We have the source code, and there are variable used inside of it to compute the data we use. How can we see the value of these (is this possible?).
-
- Posts: 913
- Joined: Mon Sep 09, 2013 8:50 pm
- Location: University of California, Berkeley
Re: Variable
Which variable do you mean? Can you give an example? You can see the values of any variable that you use within the tcl file with the puts command.
Re: Variable
https://searchcode.com/codesearch/view/38711595/
This pages show the code for a material. There are variable in that code. These variable are used during the analysis. Can we see their value?
This pages show the code for a material. There are variable in that code. These variable are used during the analysis. Can we see their value?
-
- Posts: 913
- Joined: Mon Sep 09, 2013 8:50 pm
- Location: University of California, Berkeley
Re: Variable
You can see them if you change the code and add commends to write the variables in a file or print them on screen. You would need to compile OpenSees with your changes.