20 function models.beam.DynLinTimoshenkoModel.split_RO() {
30 if this.RO_factor_global > 1
32 this.RO_raw(:,4) = this.RO_factor_global;
36 RO_raw_new = zeros(this.RO_factor_global * size(this.RO_raw,1),3);
38 p_new = zeros(size(p,1) + size(this.RO_raw,1)*(this.RO_factor_global-1),3);
43 if this.RO_factor_global <= 1
48 for j=1:size(this.RO_raw,1)
49 if this.RO_raw(j,4) >= 1
50 RO_count_add = RO_count_add + this.RO_raw(j,4) - 1;
57 RO_raw_new = zeros(size(this.RO_raw,1)+RO_count_add,3);
59 p_new = zeros(size(p,1) +RO_count_add,3);
69 p_new(1:size(p,1),:) = p;
74 for i = 1:size(this.RO_raw,1)
76 RO_factor = this.RO_raw(i,4);
77 RO_mat_act = this.RO_raw(i,1);
83 RO_raw_new(RO_count,2) = this.RO_raw(i,2);
84 RO_raw_new(RO_count,3) = this.RO_raw(i,3);
86 RO_raw_new(RO_count,1) = this.RO_raw(i,1);
87 RO_count = RO_count+1;
99 lx = p(this.RO_raw(i,3),1) - p(this.RO_raw(i,2),1);
100 ly = p(this.RO_raw(i,3),2) - p(this.RO_raw(i,2),2);
101 lz = p(this.RO_raw(i,3),3) - p(this.RO_raw(i,2),3);
108 for j = 1:RO_factor-1
112 p_new(size(p,1)+point_count,1) = p(this.RO_raw(i,2),1) + j*dx ;
113 p_new(size(p,1)+point_count,2) = p(this.RO_raw(i,2),2) + j*dy ;
114 p_new(size(p,1)+point_count,3) = p(this.RO_raw(i,2),3) + j*dz ;
120 P_start = this.RO_raw(i,2);
123 P_act = size(p,1)+point_count;
127 point_count = point_count+1;
129 P_end = this.RO_raw(i,3);
133 RO_raw_new(RO_count,2) = P_start;
134 RO_raw_new(RO_count,3) = P_act;
135 RO_raw_new(RO_count,1) = RO_mat_act;
136 RO_count = RO_count+1;
143 RO_raw_new(RO_count,2) = P_old;
144 RO_raw_new(RO_count,3) = P_act;
145 RO_raw_new(RO_count,1) = RO_mat_act;
146 RO_count = RO_count+1;
152 RO_raw_new(RO_count,2) = P_act;
153 RO_raw_new(RO_count,3) = P_end;
154 RO_raw_new(RO_count,1) = RO_mat_act;
155 RO_count = RO_count+1;
193 fprintf(" \nNeue Größen\n ");
194 fprintf(" Size RO_new: %d\n ",size(RO_raw_new,1));
195 fprintf(" Size P_new: %d\n ",size(p_new,1));
197 fprintf(" \nAlte Größen\n ");
198 fprintf(" Size RO: %d\n ",size(this.RO_raw,1));
199 fprintf(" Size P: %d\n ",size(p,1));
202 this.RO_raw= RO_raw_new;