| 136 | } // reportPETScSNESConvergedReason |
| 137 | |
| 138 | std::array<HYPRE_Int, NDIM> |
| 139 | hypre_array(const SAMRAI::hier::Index<NDIM>& index) |
| 140 | { |
| 141 | std::array<HYPRE_Int, NDIM> result; |
| 142 | for (unsigned int d = 0; d < NDIM; ++d) result[d] = index[d]; |
| 143 | return result; |
| 144 | } |
| 145 | |
| 146 | void |
| 147 | copyFromHypre(SAMRAI::pdat::CellData<NDIM, double>& dst_data, |
no outgoing calls
no test coverage detected