| 2072 | //---------------------------------------------------------------------------- |
| 2073 | template <class StructuredDataSetT> |
| 2074 | void InitializeBlocksForStructuredData( |
| 2075 | diy::Master& master, std::vector<StructuredDataSetT*>& inputs) |
| 2076 | { |
| 2077 | using BlockType = typename ::DataSetTypeToBlockTypeConverter<StructuredDataSetT>::BlockType; |
| 2078 | for (int localId = 0; localId < static_cast<int>(inputs.size()); ++localId) |
| 2079 | { |
| 2080 | StructuredDataSetT* input = inputs[localId]; |
| 2081 | auto& info = master.block<BlockType>(localId)->Information; |
| 2082 | info.Input = input; |
| 2083 | const int* extent = input->GetExtent(); |
| 2084 | info.InputExtent = { extent[0], extent[1], extent[2], extent[3], extent[4], extent[5] }; |
| 2085 | } |
| 2086 | } |
| 2087 | |
| 2088 | //---------------------------------------------------------------------------- |
| 2089 | template <class PointSetT> |
no test coverage detected