GEOSX
Public Types | Static Public Member Functions | List of all members
geosx::TrilinosInterface Class Reference

This class holds aliases based on the Trilinos library. More...

#include <TrilinosInterface.hpp>

Public Types

using ParallelMatrix = EpetraMatrix
 Alias for EpetraMatrix.
 
using ParallelVector = EpetraVector
 Alias for EpetraVector.
 
using LinearSolver = TrilinosSolver
 Alias for TrilinosSolver.
 

Static Public Member Functions

static void initialize (int &argc, char **&argv)
 Initializes the MPI environment for the Trilinos library. More...
 
static void finalize ()
 Finalizes the MPI environment for the Trilinos library.
 
static std::unique_ptr< PreconditionerBase< TrilinosInterface > > createPreconditioner (LinearSolverParameters params)
 Create a Trilinos-based preconditioner object. More...
 
static std::unique_ptr< PreconditionerBase< TrilinosInterface > > createPreconditioner (LinearSolverParameters params, array1d< EpetraVector > const &nearNullKernel)
 Create a Trilinos-based preconditioner object. More...
 

Detailed Description

This class holds aliases based on the Trilinos library.

Definition at line 36 of file TrilinosInterface.hpp.

Member Function Documentation

◆ createPreconditioner() [1/2]

static std::unique_ptr< PreconditionerBase< TrilinosInterface > > geosx::TrilinosInterface::createPreconditioner ( LinearSolverParameters  params)
static

Create a Trilinos-based preconditioner object.

Parameters
paramsthe preconditioner parameters
Returns
an owning pointer to the newly created preconditioner

◆ createPreconditioner() [2/2]

static std::unique_ptr< PreconditionerBase< TrilinosInterface > > geosx::TrilinosInterface::createPreconditioner ( LinearSolverParameters  params,
array1d< EpetraVector > const &  nearNullKernel 
)
static

Create a Trilinos-based preconditioner object.

Parameters
paramsthe preconditioner parameters
nearNullKernelthe user-provided near null kernel
Returns
an owning pointer to the newly created preconditioner

◆ initialize()

static void geosx::TrilinosInterface::initialize ( int &  argc,
char **&  argv 
)
static

Initializes the MPI environment for the Trilinos library.

Parameters
[in]argcstandard argc as in any C main
[in]argvstandard argv as in any C main

The documentation for this class was generated from the following file: