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
4
namespace
chi_math
5
{
6
7
template
<
class
PCType,
class
VecType>
8
struct
PreconditionerContext
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
chi_math
Definition:
chi_runtime.h:42
chi_math::PreconditionerContext
Definition:
preconditioner_context.h:9
chi_math::PreconditionerContext::~PreconditionerContext
virtual ~PreconditionerContext()=default
chi_math::PreconditionerContext::PCApply
virtual int PCApply(PCType &pc, VecType &vector, VecType &action)
Definition:
preconditioner_context.h:10
framework
math
LinearSolver
preconditioner_context.h
Generated by
1.9.3