Chi-Tech
preconditioner_context.h
Go to the documentation of this file.
1#ifndef CHITECH_PRECONDITIONER_CONTEXT_H
2#define CHITECH_PRECONDITIONER_CONTEXT_H
3
4namespace chi_math
5{
6
7template<class PCType, class VecType>
9{
10 virtual int PCApply(PCType& pc, VecType& vector, VecType& action)
11 {return 0;}
12
13 virtual ~PreconditionerContext() = default;
14};
15
16}//namespace chi_math
17
18#endif //CHITECH_PRECONDITIONER_CONTEXT_H
virtual ~PreconditionerContext()=default
virtual int PCApply(PCType &pc, VecType &vector, VecType &action)