Implement total_force
This commit is contained in:
parent
c611fa70a2
commit
eb989e0293
@ -105,7 +105,7 @@ arma::vec PenningTrap::total_force_particles(int i)
|
||||
|
||||
arma::vec PenningTrap::total_force(int i)
|
||||
{
|
||||
|
||||
return this->total_force_external(i) - this->total_force_particles(i);
|
||||
}
|
||||
|
||||
void PenningTrap::evolve_RK4(double dt)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user