... | ... | @@ -42,7 +42,7 @@ tracker = slimPost.Particle_tracker(mesh, "output", path_bathy, 50, 118 ,1, 3600 |
|
|
Set the open boundaries
|
|
|
|
|
|
```python
|
|
|
tracker.set_open_boundary_condition(["mexico","atlantic"])
|
|
|
tracker.set_open_boundary_condition(["mexico","atlantic_east","atlantic_north"])
|
|
|
```
|
|
|
|
|
|
Add particle at one point of the domain with the following arguments
|
... | ... | @@ -55,10 +55,11 @@ Add particle at one point of the domain with the following arguments |
|
|
- Identification of the particle (default: each particle is identified depending on the source)
|
|
|
|
|
|
```python
|
|
|
tracker.add_particle_at_point(655957,3.14555e6, 200, 0, 1, 0, 1)
|
|
|
tracker.add_particle_at_point(598275, 2.69158e6, 200, 0, 1, 0, 1)
|
|
|
tracker.add_particle_at_point(904648,2.66827e6, 200, 0, 2, 0, 2)
|
|
|
for i in range(100):
|
|
|
tracker.add_particle_at_point(718758,2.50247e6, 50,i,1, 0, i+2)
|
|
|
tracker.add_particle_at_point(598275, 2.69158e6, 1, i, 1, 0, 1)
|
|
|
tracker.add_particle_at_point(623320, 3.01958e6, 50,i,1, 0, i+2)
|
|
|
```
|
|
|
|
|
|
Launch the simulation
|
... | ... | |