Commit Graph

40 Commits

Author SHA1 Message Date
9cacf7bbc2 Make some changes 2023-10-23 21:43:09 +02:00
f1ca42fcf5 Rearrange implementations to match definitions 2023-10-23 12:53:10 +02:00
0dfb102cef Update versions and some other things
- Update version number for Doxygen
- Use vec3 instead of vec_3d
2023-10-23 12:41:03 +02:00
79da936956 Update formatting 2023-10-23 10:52:38 +02:00
8f315a0955 Change Particle
- Give Particle default values for mass and charge
- Modify PenningTrap to use the new Particle constructor
- Modify main.cpp to use the new Particle constructor
- Modify test_suite.cpp to use the new Particle constructor
2023-10-23 09:54:13 +02:00
8fc0bf8c13 Refactor
- Change PenningTrap so that perturbation is its own field
- Add Calcium mass and charge to constants
2023-10-23 09:45:08 +02:00
bd9600b6d1 Fix dumb mistake 2023-10-22 17:44:08 +02:00
eb2a985b3b Bunch of stuff
- Add reinitialize to reuse PenningTrap instance and its particles
- Reformatting
- Refactor fraction_of_particles_left to not use simulate
2023-10-22 03:47:23 +02:00
335907d435 Formatting 2023-10-20 11:20:57 +02:00
7269429a37 Optimizations 2023-10-19 22:36:54 +02:00
1741b107f7 Cleanup 2023-10-19 13:17:45 +02:00
4f38357db7 Stuff 2023-10-18 13:34:23 +02:00
d7246b05b1 Fix last update of RK4 2023-10-17 17:31:56 +02:00
5ed7cedfae Stuff 2023-10-17 17:01:50 +02:00
95432102ea Small fix 2023-10-16 13:33:00 +02:00
0fc1ec1e33 Fix signature 2023-10-16 13:01:21 +02:00
58c9212e5c Update documentation 2023-10-14 03:12:23 +02:00
c4aa6f2179 Change lambda to method 2023-10-13 20:32:32 +02:00
69491d1c02 Some changes 2023-10-13 16:53:17 +02:00
ae7b437ac3 Fix compiler warnings 2023-10-13 15:36:52 +02:00
720f1815d2 Implement methods to simulate and write to file 2023-10-13 00:52:30 +02:00
8df35f90f5 Add particle_interaction parameter 2023-10-08 20:29:41 +02:00
2fd0ab9875 Remove redundant methods 2023-10-08 17:26:46 +02:00
0b52008d4d Overload constructor and format 2023-10-08 17:25:43 +02:00
5173a9e6f8 Implement simulate method 2023-10-08 17:14:46 +02:00
b5acec572f Implement RK4 method 2023-10-08 00:35:52 +02:00
8a2100a334 Format file 2023-10-07 21:59:37 +02:00
21b94acbd8 Make small changes 2023-10-04 12:58:16 +02:00
5509efc301 Fix v X B 2023-10-02 21:49:35 +02:00
b26137ea33 Correct total_force_external 2023-09-30 13:35:17 +02:00
8d193cf469 Correct external_B_field 2023-09-30 13:26:39 +02:00
eb989e0293 Implement total_force 2023-09-29 14:48:32 +02:00
c611fa70a2 Implement total_force_particles 2023-09-29 14:47:01 +02:00
ad10bf1948 Implement total_force_external 2023-09-29 14:41:04 +02:00
8e9f3db316 Implement force_on_particle 2023-09-29 14:36:53 +02:00
f2e9004f96 Implement external_B_field 2023-09-29 14:07:27 +02:00
f1f1eecf07 Implement external_E_field 2023-09-29 14:07:00 +02:00
bd53af7829 Implement add_particle 2023-09-29 13:57:44 +02:00
b856834adc Implement constructor 2023-09-29 13:57:05 +02:00
85a12f2e08 Initial source 2023-09-28 16:07:46 +02:00