24 #ifndef ASLNUMMETHOD_H
25 #define ASLNUMMETHOD_H
27 #include <acl/aclStdIncludes.h>
40 virtual void init() = 0;
47 template <
class T>
inline void initAll(std::vector<T*> &v);
50 template <
class T>
inline void executeAll(std::vector<T*> &v);
55 template <
class T>
void executeAll(std::vector<T*> &v)
57 for (
unsigned int i(0); i < v.size(); ++i)
63 for (
unsigned int i(0); i < v.size(); ++i)
67 template <
class T>
void initAll(std::vector<T*> &v)
69 for (
unsigned int i(0); i < v.size(); ++i)
75 for (
unsigned int i(0); i < v.size(); ++i)
82 #endif //ASLNUMMETHOD_H
Advanced Simulation Library.
std::shared_ptr< NumMethod > SPNumMethod
void initAll(std::vector< T * > &v)
virtual void init()=0
Builds the necesery internal data and kernels.
void executeAll(std::vector< T * > &v)
virtual void execute()=0
Executes the numerical procedure.