Skip to content

Commit

Permalink
Do not include MOM_memory.h in EoS modules
Browse files Browse the repository at this point in the history
  Removed unused and unnecessary #include <MOM_memory.h> statements from 5
equation of state modules.  All answers are bitwise identical.
  • Loading branch information
Hallberg-NOAA authored and marshallward committed Apr 23, 2023
1 parent 7f164da commit 3731c27
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/equation_of_state/MOM_EOS.F90
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ module MOM_EOS

implicit none ; private

#include <MOM_memory.h>

public EOS_domain
public EOS_init
public EOS_manual_init
Expand Down
2 changes: 0 additions & 2 deletions src/equation_of_state/MOM_EOS_Wright.F90
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ module MOM_EOS_Wright

implicit none ; private

#include <MOM_memory.h>

public calculate_compress_wright, calculate_density_wright, calculate_spec_vol_wright
public calculate_density_derivs_wright, calculate_specvol_derivs_wright
public calculate_density_second_derivs_wright, calc_density_second_derivs_wright_buggy
Expand Down
2 changes: 0 additions & 2 deletions src/equation_of_state/MOM_EOS_Wright_full.F90
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ module MOM_EOS_Wright_full

implicit none ; private

#include <MOM_memory.h>

public calculate_compress_wright_full, calculate_density_wright_full, calculate_spec_vol_wright_full
public calculate_density_derivs_wright_full, calculate_specvol_derivs_wright_full
public calculate_density_second_derivs_wright_full, EoS_fit_range_Wright_full
Expand Down
2 changes: 0 additions & 2 deletions src/equation_of_state/MOM_EOS_Wright_red.F90
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ module MOM_EOS_Wright_red

implicit none ; private

#include <MOM_memory.h>

public calculate_compress_wright_red, calculate_density_wright_red, calculate_spec_vol_wright_red
public calculate_density_derivs_wright_red, calculate_specvol_derivs_wright_red
public calculate_density_second_derivs_wright_red, EoS_fit_range_Wright_red
Expand Down
2 changes: 0 additions & 2 deletions src/equation_of_state/MOM_EOS_linear.F90
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ module MOM_EOS_linear

implicit none ; private

#include <MOM_memory.h>

public calculate_compress_linear, calculate_density_linear, calculate_spec_vol_linear
public calculate_density_derivs_linear, calculate_density_derivs_scalar_linear
public calculate_specvol_derivs_linear
Expand Down

0 comments on commit 3731c27

Please sign in to comment.