... | @@ -30,7 +30,7 @@ SLIM uses MPI to run efficiently on several cores. The following command states |
... | @@ -30,7 +30,7 @@ SLIM uses MPI to run efficiently on several cores. The following command states |
|
Partition the mesh and store it
|
|
Partition the mesh and store it
|
|
|
|
|
|
```python
|
|
```python
|
|
mesh_file_name = slimPre.partition_mesh('bahamas.msh', data_dir+"mesh.msh")
|
|
mesh_file_name = slimPre.partition_mesh('bahamas.msh', data_dir+"mesh.msh")
|
|
|
|
|
|
```
|
|
```
|
|
|
|
|
... | @@ -72,12 +72,6 @@ Compute the coriolis parameter $`f=2\Omega \sin \phi`$ (where $`\Omega`$ is the |
... | @@ -72,12 +72,6 @@ Compute the coriolis parameter $`f=2\Omega \sin \phi`$ (where $`\Omega`$ is the |
|
slimPre.write_file(data_dir+'coriolis.nc', region=region_global, time=None, data=[('coriolis', corio)])
|
|
slimPre.write_file(data_dir+'coriolis.nc', region=region_global, time=None, data=[('coriolis', corio)])
|
|
```
|
|
```
|
|
|
|
|
|
Create a file with the gravity (in case of extraterrestrial model)
|
|
|
|
|
|
|
|
```python
|
|
|
|
slimPre.write_file(data_dir+'gravity.nc', region=None, time=None, data=[('gravity', 9.81)])
|
|
|
|
```
|
|
|
|
|
|
|
|
Create simple space independent wind forcing
|
|
Create simple space independent wind forcing
|
|
|
|
|
|
```python
|
|
```python
|
... | | ... | |