11 template<
int W ,
template<
class T>
class _Allocator >
15 typedef typename Base::Body Body;
16 typedef typename Base::Sys Sys;
17 typedef _Allocator<Body> BodyAllocator;
18 typedef _Allocator<Sys> SysAllocator;
20 typedef boost::shared_ptr<Body> PBody;
21 typedef boost::shared_ptr<Sys> PSys;
25 return cloneTo<EnsembleAlloc>();
37 template<
class Other >
45 template<
class Other >
54 EnsembleAlloc(
const int&
nbod,
const int&
nsys, PBody b, PSys s):
55 Base(nbod,nsys,b.get(),s.get())