| 2936 | } |
| 2937 | |
| 2938 | void getFiberData(std::vector<mpco::element::FiberData> &data, |
| 2939 | std::vector<int> &data_mat_id, |
| 2940 | std::vector<int> &sec_id, |
| 2941 | std::vector<int> &gp_id, |
| 2942 | std::vector<bool> &dummy_sec_flags)const { |
| 2943 | data.clear(); |
| 2944 | data_mat_id.clear(); |
| 2945 | sec_id.clear(); |
| 2946 | gp_id.clear(); |
| 2947 | int *temp_gp = 0; |
| 2948 | int *temp_sec = 0; |
| 2949 | bool *temp_dummy = 0; |
| 2950 | appendFiberData(data, data_mat_id, |
| 2951 | sec_id, gp_id, dummy_sec_flags, temp_sec, temp_gp, temp_dummy); |
| 2952 | if (temp_gp) |
| 2953 | delete temp_gp; |
| 2954 | if (temp_sec) |
| 2955 | delete temp_sec; |
| 2956 | if (temp_dummy) |
| 2957 | delete temp_dummy; |
| 2958 | } |
| 2959 | |
| 2960 | mpco::element::OutputDescriptorHeader makeHeader()const { |
| 2961 | mpco::element::OutputDescriptorHeader header; |