Moertel Development
Loading...
Searching...
No Matches
MOERTEL::Solver Class Reference

A class to solve mortar constraint problems. More...

#include <mrtr_solver.H>

Public Member Functions

 Solver (Epetra_Comm &comm, int outlevel)
virtual ~Solver ()
 Destroys an instance of this class.
Epetra_Comm & Comm () const
 Returns the Epetra_Comm object associated with this class.
int OutLevel ()
 Returns the Level of output (0 - 10) the user specified in the constructor.
void SetParameters (Teuchos::ParameterList *params)
 Set solver parameters.
void SetSystem (Teuchos::RCP< Epetra_CrsMatrix > matrix, Teuchos::RCP< Epetra_Vector > x, Teuchos::RCP< Epetra_Vector > b)
 Set linear system.
bool Solve (Teuchos::RCP< Teuchos::ParameterList > params, Teuchos::RCP< Epetra_CrsMatrix > matrix, Teuchos::RCP< Epetra_Vector > x, Teuchos::RCP< Epetra_Vector > b, MOERTEL::Manager &manager)
 Solve system.

Detailed Description

A class to solve mortar constraint problems.

The solver interface to Amesos, ML and Aztec

Date
Last update do Doxygen: 20-March-06
Author
Glen Hansen (gahan.nosp@m.se@s.nosp@m.andia.nosp@m..gov)

Constructor & Destructor Documentation

◆ ~Solver()

MOERTEL::Solver::~Solver ( )
virtual

Destroys an instance of this class.

Destructor

Member Function Documentation

◆ SetParameters()

void MOERTEL::Solver::SetParameters ( Teuchos::ParameterList * params)
inline

Set solver parameters.

Referenced by Solve().

◆ SetSystem()

void MOERTEL::Solver::SetSystem ( Teuchos::RCP< Epetra_CrsMatrix > matrix,
Teuchos::RCP< Epetra_Vector > x,
Teuchos::RCP< Epetra_Vector > b )

Set linear system.

Referenced by Solve().

◆ Solve()

bool MOERTEL::Solver::Solve ( Teuchos::RCP< Teuchos::ParameterList > params,
Teuchos::RCP< Epetra_CrsMatrix > matrix,
Teuchos::RCP< Epetra_Vector > x,
Teuchos::RCP< Epetra_Vector > b,
MOERTEL::Manager & manager )

Solve system.

References SetParameters(), SetSystem(), and Solve().

Referenced by Solve().


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