|
| void | IBTK::reportPETScKSPConvergedReason (const std::string &object_name, const KSPConvergedReason &reason, std::ostream &os) |
| | Report the KSPConvergedReason. More...
|
| |
| void | IBTK::reportPETScSNESConvergedReason (const std::string &object_name, const SNESConvergedReason &reason, std::ostream &os) |
| | Report the SNESConvergedReason. More...
|
| |
| void | IBTK::set_fixed_iteration_ksp_defaults (GeneralSolver *solver, const SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > &solver_db) |
| | Make solver apply a fixed number of Richardson iterations with no convergence test if it is a PETScLevelSolver and solver_db does not select a KSP type. More...
|
| |
| void | IBTK::initialize_hypre () |
| | Initialize Hypre if it is not already initialized, and then finalize it when PETSc is finalized. More...
|
| |
| std::array< HYPRE_Int, NDIM > | IBTK::hypre_array (const SAMRAI::hier::Index< NDIM > &index) |
| | Helper function to convert SAMRAI indices to Hypre integers. More...
|
| |
| int | IBTK::get_hypre_periodic_shift (const SAMRAI::hier::PatchLevel< NDIM > &level, const std::string &object_name, unsigned int d, bool require_periodic_images) |
| | Return the periodic shift to give hypre in direction d for the grid of level: the periodic shift of the domain if the level has cells at both ends of the domain in that direction, and zero otherwise. If require_periodic_images, throw an error naming object_name unless those cells are periodic images of each other, as the side-centered solvers require: hypre does not store the faces at the upper end of a periodic grid. More...
|
| |
| void | IBTK::copyFromHypre (SAMRAI::pdat::CellData< NDIM, double > &dst_data, const std::vector< HYPRE_StructVector > &vectors, const SAMRAI::hier::Box< NDIM > &box) |
| | Copy data from a vector of Hypre vectors to SAMRAI cell centered data with depth equal to number of Hypre vectors. More...
|
| |
| void | IBTK::copyFromHypre (SAMRAI::pdat::SideData< NDIM, double > &dst_data, HYPRE_SStructVector vector, const SAMRAI::hier::Box< NDIM > &box) |
| | Copy data from a Hypre vector to SAMRAI side centered data. More...
|
| |
| void | IBTK::copyToHypre (const std::vector< HYPRE_StructVector > &vectors, SAMRAI::pdat::CellData< NDIM, double > &src_data, const SAMRAI::hier::Box< NDIM > &box) |
| | Copy data from SAMRAI cell centered data to Hypre vectors. More...
|
| |
| void | IBTK::copyToHypre (HYPRE_SStructVector &vector, SAMRAI::pdat::SideData< NDIM, double > &src_data, const SAMRAI::hier::Box< NDIM > &box) |
| | Copy data from SAMRAI side centered data to a Hypre vector. More...
|
| |
| void | IBTK::clearOffLevelMatrixEntries (SAMRAI::pdat::CellData< NDIM, double > &matrix_coefficients, const SAMRAI::hier::PatchLevel< NDIM > &level, const std::vector< SAMRAI::hier::Index< NDIM >> &stencil) |
| | Set to zero the entries of a cell-centered matrix that couple a cell of a patch to a cell of the physical domain outside the patch level. More...
|
| |
| void | IBTK::clearOffLevelMatrixEntries (SAMRAI::pdat::SideData< NDIM, double > &matrix_coefficients, const SAMRAI::hier::PatchLevel< NDIM > &level, const std::vector< SAMRAI::hier::Index< NDIM >> &stencil) |
| | Set to zero the entries of a side-centered matrix that couple a side of a patch to a side of the same component in the physical domain outside the patch level. More...
|
| |