File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828from opendrift .elements import LagrangianArray
2929from opendrift .models .basemodel import OpenDriftSimulation
3030from opendrift .config import CONFIG_LEVEL_BASIC , CONFIG_LEVEL_ESSENTIAL
31- from opendrift .models .physics_methods import PhysicsMethods
3231from scipy .integrate import solve_ivp
3332import numpy as np
3433
@@ -438,7 +437,6 @@ def advect_iceberg(self):
438437
439438 T = self .environment .sea_water_temperature
440439 S = self .environment .sea_water_salinity
441- rho_water = PhysicsMethods .sea_water_density (T , S )
442440 sea_slope_x = self .environment .sea_surface_x_slope
443441 sea_slope_y = self .environment .sea_surface_y_slope
444442 sea_surface_height = self .environment .sea_surface_height
@@ -586,7 +584,6 @@ def roll_over(self):
586584 return
587585 T = self .environment .sea_water_temperature
588586 S = self .environment .sea_water_salinity
589- rho_water = PhysicsMethods .sea_water_density (T , S )
590587 L = self .elements .length
591588 W = self .elements .width
592589 H = self .elements .draft + self .elements .sail
You can’t perform that action at this time.
0 commit comments