IBAMR  IBAMR version 0.19.
Namespaces | Functions
solver_utilities.h File Reference
#include <ibtk/config.h>
#include "petscksp.h"
#include "petscsnes.h"
#include "HYPRE_sstruct_ls.h"
#include "HYPRE_sstruct_mv.h"
#include "HYPRE_struct_ls.h"
#include "HYPRE_struct_mv.h"
#include "CellData.h"
#include "SideData.h"
#include <array>
#include <vector>

Namespaces

 IBTK
 

Functions

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...
 
std::array< HYPRE_Int, NDIM > IBTK::hypre_array (const SAMRAI::hier::Index< NDIM > &index)
 Helper function to convert SAMRAI indices to Hypre integers. 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...