www.mooseframework.org
Classes | Namespaces | Functions
PetscSupport.h File Reference

Go to the source code of this file.

Classes

class  Moose::PetscSupport::PetscOptions
 A struct for storing the various types of petsc options and values. More...
 

Namespaces

 Moose
 
 Moose::PetscSupport
 

Functions

void Moose::PetscSupport::petscSetOptions (FEProblemBase &problem)
 A function for setting the PETSc options in PETSc from the options supplied to MOOSE. More...
 
void Moose::PetscSupport::petscSetDefaults (FEProblemBase &problem)
 Sets the default options for PETSc. More...
 
void Moose::PetscSupport::petscSetupDM (NonlinearSystemBase &nl)
 
PetscErrorCode Moose::PetscSupport::petscSetupOutput (CommandLine *cmd_line)
 
void Moose::PetscSupport::outputNorm (libMesh::Real old_norm, libMesh::Real norm, bool use_color=false)
 Helper function for outputing the norm values with/without color. More...
 
PetscErrorCode Moose::PetscSupport::petscLinearMonitor (KSP, PetscInt its, PetscReal rnorm, void *void_ptr)
 Helper function for displaying the linear residual during PETSC solve. More...
 
void Moose::PetscSupport::storePetscOptions (FEProblemBase &fe_problem, const InputParameters &params)
 Stores the PETSc options supplied from the InputParameters with MOOSE. More...
 
InputParameters Moose::PetscSupport::getPetscValidParams ()
 Returns the PETSc options that are common between Executioners and Preconditioners. More...
 
MultiMooseEnum Moose::PetscSupport::getCommonPetscFlags ()
 A helper function to produce a MultiMooseEnum with commonly used PETSc single options (flags) More...
 
MultiMooseEnum Moose::PetscSupport::getCommonPetscKeys ()
 A helper function to produce a MultiMooseEnum with commonly used PETSc iname options (keys in key-value pairs) More...
 
void Moose::PetscSupport::setSinglePetscOption (const std::string &name, const std::string &value="")
 A wrapper function for dealing with different versions of PetscOptionsSetValue. More...
 
void Moose::PetscSupport::addPetscOptionsFromCommandline ()
 
void Moose::PetscSupport::colorAdjacencyMatrix (PetscScalar *adjacency_matrix, unsigned int size, unsigned int colors, std::vector< unsigned int > &vertex_colors, const char *coloring_algorithm)
 This method takes an adjacency matrix, and a desired number of colors and applies a graph coloring algorithm to produce a coloring. More...