IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
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
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< FEMVector< T >, FEMVector< T > >::rhs_type
FEMVector< T > rhs_type
Definition
SolverAlgorithm.h:19
ippl::SolverAlgorithm< FEMVector< T >, FEMVector< T > >::lhs_type
FEMVector< T > lhs_type
Definition
SolverAlgorithm.h:18
ippl::ParameterList
Definition
ParameterList.h:29