Add particle_interaction parameter
This commit is contained in:
@@ -84,13 +84,18 @@ public:
|
||||
|
||||
/** @brief Go forward one timestep using the RK4 method
|
||||
* */
|
||||
void evolve_RK4(double dt);
|
||||
void evolve_RK4(double dt, bool particle_interaction = true);
|
||||
|
||||
/** @brief Go forward one timestep using the forward Euler method
|
||||
* */
|
||||
void evolve_forward_euler(double dt);
|
||||
void evolve_forward_euler(double dt, bool particle_interaction = true);
|
||||
|
||||
sim_arr simulate(double time, int steps, std::string method = "rk4");
|
||||
sim_arr simulate(double time, int steps, std::string method = "rk4",
|
||||
bool particle_interaction = true);
|
||||
|
||||
void write_simulation_to_dir(std::string path, double time, int steps,
|
||||
std::string method = "rk4",
|
||||
bool particle_interaction = true);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user