Page 1 of 1

Structured variables

Posted: 16 Jul 2014, 07:51
by PetrS
size=150Structured variables/size

ubGeneral structured variable:/b/u
Structured variable is a container of multiple values. Structured variables can be nested and create tree-like structure of nodes, subnodes and value leafs.
uConstructors:/u
list
*new Structure() - Initialize emtpy structured variable/*:m
*new Structure(string Key1, object Value1, ... string KeyN, object ValueN) - Initialize structure with given properties. Properties names are defined with Keys, properties values are defined by Values./*:m/list:u


ubMaterialDiagram:/b/u
MaterialDiagram is array of structured variables { eps, sig } defining material diagram.
uConstructor:/u
list
*new MaterialDiagram(double eps1, double sig1, ... , double epsN, double sigN) - initialize array of structured variables eps, sig with given values./*:m/list:u

ubDiagramPoint/b/u
DiagramPoint is structured variable { eps, sig } defining one point of material diagram.
uConstructor:/u
list
*new DiagramPoint(double eps, double sig) - initialize structured variable {eps, sig} with given values./*:m/list:u

ubReinfBar structure/b/u
ReinfBar structure is used to define position and diameter of reinforcement bar. Structure contains properties X, Y, D.
uConstructor:/u
list
*new ReinfBar(double X, double Y, double D)/*:m/list:u

See attached examples for more info.