hypre_solver.cc File Reference
#include "hypre_solver.h"
#include "problem.h"

Namespaces

 oomph
 DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).
 
 oomph::Hypre_default_settings
 Default settings for various uses of the HYPRE solver.
 
 oomph::HypreHelpers
 Helper functions for use with the Hypre library.
 

Functions

void oomph::Hypre_default_settings::set_defaults_for_2D_poisson_problem (HyprePreconditioner *hypre_preconditioner_pt)
 
void oomph::Hypre_default_settings::set_defaults_for_3D_poisson_problem (HyprePreconditioner *hypre_preconditioner_pt)
 
void oomph::Hypre_default_settings::set_defaults_for_navier_stokes_momentum_block (HyprePreconditioner *hypre_preconditioner_pt)
 
int oomph::HypreHelpers::check_HYPRE_error_flag (std::ostringstream &message)
 
void oomph::HypreHelpers::create_HYPRE_Vector (const DoubleVector &oomph_vec, const LinearAlgebraDistribution *dist_pt, HYPRE_IJVector &hypre_ij_vector, HYPRE_ParVector &hypre_par_vector)
 
void oomph::HypreHelpers::create_HYPRE_Vector (const LinearAlgebraDistribution *dist_pt, HYPRE_IJVector &hypre_ij_vector, HYPRE_ParVector &hypre_par_vector)
 
void oomph::HypreHelpers::create_HYPRE_Matrix (CRDoubleMatrix *oomph_matrix, HYPRE_IJMatrix &hypre_ij_matrix, HYPRE_ParCSRMatrix &hypre_par_matrix, LinearAlgebraDistribution *dist_pt)
 
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)
 

Variables

double oomph::HypreHelpers::AMG_strength = 0.25
 
unsigned oomph::HypreHelpers::AMG_coarsening = 6
 
double oomph::HypreHelpers::AMG_truncation = 0.0
 AMG interpolation truncation factor. More...