| 44 | const float sharpAngleCos = std::cos( sharpAngle ); |
| 45 | |
| 46 | struct Data |
| 47 | { |
| 48 | double sumDblArea = 0; |
| 49 | double sumSharpDblArea = 0; |
| 50 | Data operator + ( const Data & b ) const |
| 51 | { |
| 52 | return { sumDblArea + b.sumDblArea, sumSharpDblArea + b.sumSharpDblArea }; |
| 53 | } |
| 54 | }; |
| 55 | |
| 56 | auto total = parallel_deterministic_reduce( |
| 57 | tbb::blocked_range( 0_ue, UndirectedEdgeId{ mesh.topology.undirectedEdgeSize() } ), |