Some changes

This commit is contained in:
2023-10-13 16:53:17 +02:00
parent 11757e5e28
commit 69491d1c02
3 changed files with 50 additions and 16 deletions

View File

@@ -36,8 +36,8 @@ 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[4];
std::function<vec_3d(int, double)> r_funcs[4];
std::function<vec_3d(int, double)>* v_funcs;
std::function<vec_3d(int, double)>* r_funcs;
public:
/** @brief Set B_0, V_0 and d.