Change lambda to method
This commit is contained in:
@@ -36,8 +36,9 @@ private:
|
||||
std::vector<Particle> particles; ///< The particles in the Penning trap
|
||||
sim_arr k_v;
|
||||
sim_arr k_r;
|
||||
std::function<vec_3d(int, double)>* v_funcs;
|
||||
std::function<vec_3d(int, double)>* r_funcs;
|
||||
|
||||
vec_3d v_func(int, int, double);
|
||||
vec_3d r_func(int, int, double);
|
||||
|
||||
public:
|
||||
/** @brief Set B_0, V_0 and d.
|
||||
|
||||
Reference in New Issue
Block a user