46#ifndef MUELU_EPETRAOPERATOR_HPP
47#define MUELU_EPETRAOPERATOR_HPP
51#include <Epetra_Operator.h>
52#include "MueLu_Hierarchy.hpp"
55#if defined(HAVE_MUELU_SERIAL) and defined(HAVE_MUELU_EPETRA)
67 typedef Xpetra::EpetraNode NO;
69 typedef Xpetra::Matrix<SC,LO,GO,NO> Matrix;
79 EpetraOperator(
const RCP<Hierarchy>& H) : Hierarchy_(H) { }
82 virtual ~EpetraOperator() { }
86 int SetUseTranspose(
bool ) {
return -1; }
122 double NormInf()
const {
return 0; }
129 const char * Label()
const {
return "MueLu::Hierarchy"; }
132 bool UseTranspose()
const {
return false; }
135 bool HasNormInf()
const {
return 0; }
152 RCP<Hierarchy> GetHierarchy()
const {
return Hierarchy_; }
159 RCP<Hierarchy> Hierarchy_;
Provides methods to build a multigrid hierarchy and apply multigrid cycles.
Namespace for MueLu classes and methods.