26#ifndef dftefeLinearSolverFunction_h
27#define dftefeLinearSolverFunction_h
39 namespace linearAlgebra
63 template <
typename ValueTypeOperator,
64 typename ValueTypeOperand,
66 class LinearSolverFunction
76 blasLapack::scalar_type<ValueTypeOperator, ValueTypeOperand>;
79 virtual ~LinearSolverFunction() =
default;
81 virtual const OperatorContext<ValueTypeOperator,
84 getAxContext()
const = 0;
86 virtual const OperatorContext<ValueTypeOperator,
89 getPCContext()
const = 0;
92 setSolution(
const MultiVector<ValueTypeOperand, memorySpace> &x) = 0;
96 linearAlgebra::MultiVector<ValueType, memorySpace> &solution) = 0;
98 virtual const MultiVector<ValueTypeOperand, memorySpace> &
101 virtual const MultiVector<ValueType, memorySpace> &
102 getInitialGuess()
const = 0;
104 virtual const utils::mpi::MPIComm &
105 getMPIComm()
const = 0;
MemorySpace
Definition: MemorySpaceType.h:37
dealii includes
Definition: AtomFieldDataSpherical.cpp:31