24 #ifndef ASLNUMMETHOD_H
25 #define ASLNUMMETHOD_H
27 #include <acl/aclStdIncludes.h>
47 template <
class T>
inline void initAll(std::vector<T*> &v);
48 template <
class T>
inline void initAll(std::vector<std::shared_ptr<T> > & v);
50 template <
class T>
inline void executeAll(std::vector<T*> &v);
51 template <
class T>
inline void executeAll(std::vector<std::shared_ptr<T> > & v);
55 template <
class T>
void executeAll(std::vector<T*> &v)
57 for (
unsigned int i(0); i < v.size(); ++i)
61 template <
class T>
void executeAll(std::vector<std::shared_ptr<T> > &v)
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)
73 template <
class T>
void initAll(std::vector<std::shared_ptr<T> > &v)
75 for (
unsigned int i(0); i < v.size(); ++i)
virtual void init()=0
Builds the necesery internal data and kernels.
virtual void execute()=0
Executes the numerical procedure.
Advanced Simulation Library.
void initAll(std::vector< T * > &v)
std::shared_ptr< NumMethod > SPNumMethod
void executeAll(std::vector< T * > &v)