| 926 | } |
| 927 | |
| 928 | int vtkAMReXGridReaderInternal::GetBlockIndexWithinLevel(int blockIdx, int level) |
| 929 | { |
| 930 | if (this->headersAreRead) |
| 931 | { |
| 932 | int blockIndexWithinLevel = blockIdx; |
| 933 | for (int i = 0; i < level; ++i) |
| 934 | { |
| 935 | blockIndexWithinLevel -= this->Header->levelSize[i]; |
| 936 | } |
| 937 | return blockIndexWithinLevel; |
| 938 | } |
| 939 | return (-1); |
| 940 | } |
| 941 | |
| 942 | void vtkAMReXGridReaderInternal::GetBlockAttribute( |
| 943 | const char* attribute, int blockIdx, vtkDataSet* pDataSet) |
no outgoing calls
no test coverage detected