Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 0 additions & 58 deletions src/core/linalg/src/sparse/4C_linalg_projected_precond.cpp

This file was deleted.

201 changes: 0 additions & 201 deletions src/core/linalg/src/sparse/4C_linalg_projected_precond.hpp

This file was deleted.

1 change: 1 addition & 0 deletions src/core/linalg/src/sparse/4C_linalg_sparsematrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include <Epetra_CrsMatrix.h>
#include <Epetra_FECrsMatrix.h>
#include <Thyra_EpetraLinearOp.hpp>


FOUR_C_NAMESPACE_OPEN
Expand Down
1 change: 1 addition & 0 deletions src/core/linalg/src/sparse/4C_linalg_sparseoperator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "4C_utils_shared_ptr_from_ref.hpp"

#include <Epetra_Operator.h>
#include <Thyra_LinearOpBase_decl.hpp>

#include <memory>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ Core::LinearSolver::AmGnxnPreconditioner::AmGnxnPreconditioner(Teuchos::Paramete

/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/

/*
std::shared_ptr<Epetra_Operator> Core::LinearSolver::AmGnxnPreconditioner::prec_operator() const
{
return p_;
}

*/
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ namespace Core::LinearSolver
virtual void setup(std::shared_ptr<Core::LinAlg::BlockSparseMatrixBase> A);

/// linear operator used for preconditioning
std::shared_ptr<Epetra_Operator> prec_operator() const override;
Teuchos::RCP<const Thyra::LinearOpBase<double>> prec_operator() const override
{
FOUR_C_THROW("One should not end up here.");
}


private:
// Private variables
Expand Down
Loading
Loading