| 163 | } |
| 164 | |
| 165 | std::string getBoundaryMaterialName(const ThreeUserData& userData) { |
| 166 | std::string result; |
| 167 | if (userData.outsideBoundaryCondition() == "Outdoors") { |
| 168 | if ((userData.sunExposure() == "SunExposed") && (userData.windExposure() == "WindExposed")) { |
| 169 | result = "Boundary_Outdoors_SunWind"; |
| 170 | } else if (userData.sunExposure() == "SunExposed") { |
| 171 | result = "Boundary_Outdoors_Sun"; |
| 172 | } else if (userData.windExposure() == "WindExposed") { |
| 173 | result = "Boundary_Outdoors_Wind"; |
| 174 | } else { |
| 175 | result = "Boundary_Outdoors"; |
| 176 | } |
| 177 | } else { |
| 178 | result = "Boundary_" + userData.outsideBoundaryCondition(); |
| 179 | } |
| 180 | return result; |
| 181 | } |
| 182 | |
| 183 | void updateUserData(ThreeUserData& userData, const PlanarSurface& planarSurface, bool includeGeometryDiagnostics) { |
| 184 | std::string name = planarSurface.nameString(); |
no test coverage detected