| 1170 | } |
| 1171 | |
| 1172 | void |
| 1173 | FiberSectionWarping3d::Print(OPS_Stream &s, int flag) |
| 1174 | { |
| 1175 | if (flag == 2) { |
| 1176 | for (int i = 0; i < numFibers; i++) { |
| 1177 | s << -matData[4*i] << " " << matData[4*i+1] << " " << matData[4*i+2] << " " ; |
| 1178 | s << theMaterials[i]->getStress() << " " << theMaterials[i]->getStrain() << endln; |
| 1179 | } |
| 1180 | } else { |
| 1181 | s << "\nFiberSectionWarping3d, tag: " << this->getTag() << endln; |
| 1182 | s << "\tSection code: " << code; |
| 1183 | s << "\tNumber of Fibers: " << numFibers << endln; |
| 1184 | s << "\tCentroid: (" << -yBar << ", " << zBar << ')' << endln; |
| 1185 | |
| 1186 | if (flag == 1) { |
| 1187 | for (int i = 0; i < numFibers; i++) { |
| 1188 | s << "\nLocation (y, z) = (" << -matData[4*i] << ", " << matData[4*i+1] << ")"; |
| 1189 | s << "\nArea = " << matData[4*i+2] << endln; |
| 1190 | theMaterials[i]->Print(s, flag); |
| 1191 | } |
| 1192 | } |
| 1193 | } |
| 1194 | } |
| 1195 | |
| 1196 | Response* |
| 1197 | FiberSectionWarping3d::setResponse(const char **argv, int argc, OPS_Stream &output) |