GEOS
Public Types | Static Public Member Functions | List of all members
geos::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.
 

Static Public Member Functions

static void initialize ()
 Initializes the Trilinos library.
 
static void finalize ()
 Finalizes the Trilinos library.
 
static std::unique_ptr< LinearSolverBase< TrilinosInterface > > createSolver (LinearSolverParameters params)
 Create a petsc-based solver object. More...
 
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 37 of file TrilinosInterface.hpp.

Member Function Documentation

◆ createPreconditioner() [1/2]

static std::unique_ptr< PreconditionerBase< TrilinosInterface > > geos::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 > > geos::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

◆ createSolver()

static std::unique_ptr< LinearSolverBase< TrilinosInterface > > geos::TrilinosInterface::createSolver ( LinearSolverParameters  params)
static

Create a petsc-based solver object.

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

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