| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

IEqSolver.h
Go to the documentation of this file.
1 // =============================================================================
2 #ifndef GAUDIGSL_IEQSOLVER_H
3 #define GAUDIGSL_IEQSOLVER_H 1
4 // Include files
5 // from STL
6 #include <vector>
7 #include <string>
8
9 // from Gaudi
10 #include "GaudiKernel/IAlgTool.h"
11
12 // forward declarations
13 namespace Genfun
14 {
15 class AbsFunction;
16 class Argument;
17 }
18
26 class GAUDI_API IEqSolver : virtual public IAlgTool {
27 public:
29 DeclareInterfaceID(IEqSolver,2,0);
30
32 typedef Genfun::AbsFunction GenFunc ;
34 typedef std::vector<const GenFunc*> Equations ;
36 typedef Genfun::Argument Arg ;
37
39
48 virtual StatusCode solver( const Equations& equations ,
49 Arg& solution ) const = 0 ;
50
51 };
52
53 #endif // GAUDIGSL_IEQSOLVER_H
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:14
IEqSolver::Arg
Genfun::Argument Arg
Argument of function "GenFunc" (.
Definition: IEqSolver.h:36
IEqSolver
Interface file for multidimensional root-finding (solving nonlinear system with n equations in n unkn...
Definition: IEqSolver.h:26
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
IAlgTool.h
std::vector< const GenFunc * >
IEqSolver::Equations
std::vector< const GenFunc * > Equations
Vector of the function "GenFunc" which we solver.
Definition: IEqSolver.h:34
IAlgTool
The interface implemented by the AlgTool base class.
Definition: IAlgTool.h:23
Genfun
CLHEP.
Definition: IEqSolver.h:13
IEqSolver::GenFunc
Genfun::AbsFunction GenFunc
Function (.
Definition: IEqSolver.h:32
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107