OPALX (Object Oriented Parallel Accelerator Library for Exascale)
MINIorX
OPALX
SolverAlgorithm.h
Go to the documentation of this file.
1
//
2
// Class SolverAlgorithm
3
// Base class for solver algorithms
4
//
5
6
#ifndef IPPL_SOLVER_ALGORITHM_H
7
#define IPPL_SOLVER_ALGORITHM_H
8
9
#include <functional>
10
11
#include "
Utility/ParameterList.h
"
12
13
namespace
ippl
{
14
15
template
<
typename
FieldLHS,
typename
FieldRHS>
16
class
SolverAlgorithm
{
17
public
:
18
using
lhs_type
= FieldLHS;
19
using
rhs_type
= FieldRHS;
20
28
virtual
void
operator()
(
lhs_type
& lhs,
rhs_type
& rhs,
const
ParameterList
& params) = 0;
29
};
30
31
}
// namespace ippl
32
33
#endif
ParameterList.h
ippl
Implementations for FFT constructor/destructor and transforms.
Definition:
Archive.h:20
ippl::SolverAlgorithm
Definition:
SolverAlgorithm.h:16
ippl::SolverAlgorithm::operator()
virtual void operator()(lhs_type &lhs, rhs_type &rhs, const ParameterList ¶ms)=0
ippl::SolverAlgorithm::rhs_type
FieldRHS rhs_type
Definition:
SolverAlgorithm.h:19
ippl::SolverAlgorithm::lhs_type
FieldLHS lhs_type
Definition:
SolverAlgorithm.h:18
ippl::ParameterList
Definition:
ParameterList.h:29
ippl
src
LinearSolvers
SolverAlgorithm.h
Generated on Fri Jan 23 2026 14:40:00 for OPALX (Object Oriented Parallel Accelerator Library for Exascale) by
1.9.3