------------------------------------------------------------------------------
| 891 | |
| 892 | //------------------------------------------------------------------------------ |
| 893 | void vtkAMRResampleFilter::GetDomainParameters(vtkOverlappingAMR* amr, double domainMin[3], |
| 894 | double domainMax[3], double h[3], int dims[3], double& rf) |
| 895 | { |
| 896 | assert("pre: AMR dataset is nullptr!" && (amr != nullptr)); |
| 897 | |
| 898 | rf = amr->GetRefinementRatio(1); |
| 899 | amr->GetAMRBox(0, 0).GetNumberOfNodes(dims); |
| 900 | amr->GetMin(domainMin); |
| 901 | amr->GetMax(domainMax); |
| 902 | |
| 903 | amr->GetSpacing(0, h); |
| 904 | } |
| 905 | |
| 906 | //------------------------------------------------------------------------------ |
| 907 | void vtkAMRResampleFilter::SnapBounds(const double* vtkNotUsed(h0[3]), const double domainMin[3], |
no test coverage detected