Classes | Namespaces | Functions | Variables
hypre_solver.h File Reference

Go to the source code of this file.

Classes

class  oomph::HypreInterface
 An interface class to the suite of Hypre solvers and preconditioners to allow use of: More...
 
class  oomph::HypreSolver
 ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// More...
 
class  oomph::HyprePreconditioner
 ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// More...
 

Namespaces

 oomph
 //////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
 
 oomph::HypreHelpers
 /////////////////////////////////////////////////////////////////////
 
 oomph::Hypre_default_settings
 ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
 

Functions

int oomph::HypreHelpers::check_HYPRE_error_flag (std::ostringstream &message)
 Helper function to check the Hypre error flag, return the message associated with any error, and reset the global error flag to zero. This function also returns the error value. More...
 
void oomph::HypreHelpers::create_HYPRE_Vector (const DoubleVector &oomph_vec, const LinearAlgebraDistribution *dist_pt, HYPRE_IJVector &hypre_ij_vector, HYPRE_ParVector &hypre_par_vector)
 Helper function to create a HYPRE_IJVector and HYPRE_ParVector. More...
 
void oomph::HypreHelpers::create_HYPRE_Vector (const LinearAlgebraDistribution *dist_pt, HYPRE_IJVector &hypre_ij_vector, HYPRE_ParVector &hypre_par_vector)
 Helper function to create a HYPRE_IJVector and HYPRE_ParVector. More...
 
void oomph::HypreHelpers::create_HYPRE_Matrix (CRDoubleMatrix *oomph_matrix, HYPRE_IJMatrix &hypre_ij_matrix, HYPRE_ParCSRMatrix &hypre_par_matrix, LinearAlgebraDistribution *dist_pt)
 Helper function to create a serial HYPRE_IJMatrix and HYPRE_ParCSRMatrix from a CRDoubleMatrix NOTE: dist_pt is rebuilt to match the distribution of the hypre solver which is not necassarily the same as the oomph lib matrix. More...
 
void oomph::HypreHelpers::euclid_settings_helper (const bool &use_block_jacobi, const bool &use_row_scaling, const bool &use_ilut, const int &level, const double &drop_tol, const int &print_level, HYPRE_Solver &euclid_object)
 Helper function to set Euclid options using a command line like array. More...
 
void oomph::Hypre_default_settings::set_defaults_for_navier_stokes_momentum_block (HyprePreconditioner *hypre_preconditioner_pt)
 Set default parameters for use as preconditioner in for momentum block in Navier-Stokes problem. More...
 
void oomph::Hypre_default_settings::set_defaults_for_2D_poisson_problem (HyprePreconditioner *hypre_preconditioner_pt)
 Set default parameters for use as preconditioner in 2D Poisson-type problem. More...
 
void oomph::Hypre_default_settings::set_defaults_for_3D_poisson_problem (HyprePreconditioner *hypre_preconditioner_pt)
 Set default parameters for use as preconditioner in 3D Poisson-type problem. More...
 

Variables

int hypre__global_error
 

Variable Documentation

◆ hypre__global_error

int hypre__global_error
extern