how can i make a "for loop" which is like in Matl
Moderators: silvia, selimgunay, Moderators
how can i make a "for loop" which is like in Matl
i have a distribute lateral load apply on a column, and i have a fomular for this load which is related to H(the height of the column), my problem is how i can define the load and then apply it on the column, like how can i define the variable H, how can i make the loop?
Many thanks!
Many thanks!
um...i have a column, i divided it into 9 elements (10 nodes),this column is subjected to a random lateral distribute load, which is related to h (height of the node) and a (a variable whose value is 1, 2, 3, 4 respectively). Eventually, i want to get the drift of those 9 elements.
so when a=1, i will get one set of drift results of those 9 elements, and also when a=2, i will get another one set of results.
so my question is how i can tell opensees where to store these results for different a.
i use "for loop" for the h. and "foreach loop" for the a, but when i run the code, there is an error "extra characters after close-brace", so i thought maybe there is somthing wrong with the record.
Thank you very much!!!
so when a=1, i will get one set of drift results of those 9 elements, and also when a=2, i will get another one set of results.
so my question is how i can tell opensees where to store these results for different a.
i use "for loop" for the h. and "foreach loop" for the a, but when i run the code, there is an error "extra characters after close-brace", so i thought maybe there is somthing wrong with the record.
Thank you very much!!!
how can i make a "for loop" which is like in Matl
Can anyone explain, how to use this function for my filteringselect dojo form element
Here my element:
keyword = new Zend_Dojo_Form_Element_FilteringSelectq;
keyword->setAutoCompletefalse
->setStoreIdkeywordId
->setStoreTypedojox.data.QueryReadStore
->setStoreParamsarrayurl=>/autocomplete/keywords
->setAttribsearchAttr, id
->setAttribhasDownArrow, false
->setAttribstyle, width:200px
->setAttriblabelType,html
Here my element:
keyword = new Zend_Dojo_Form_Element_FilteringSelectq;
keyword->setAutoCompletefalse
->setStoreIdkeywordId
->setStoreTypedojox.data.QueryReadStore
->setStoreParamsarrayurl=>/autocomplete/keywords
->setAttribsearchAttr, id
->setAttribhasDownArrow, false
->setAttribstyle, width:200px
->setAttriblabelType,html