Skip to content

Commit

Permalink
ecWAM: add ifdef to pre-expanded yowfield_mod.F90
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab authored and wdeconinck committed Feb 27, 2024
1 parent 80d256b commit 9b8ea07
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/ecwam/yowfield_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ MODULE YOWFIELD_MOD
REAL(KIND=JWRO), DIMENSION(:), POINTER :: NEMOVSTOKES=>NULL()
REAL(KIND=JWRO), DIMENSION(:), POINTER :: NEMOSTRN=>NULL()
REAL(KIND=JWRO), DIMENSION(:), POINTER :: NEMOWSWAVE=>NULL()
#ifdef PARKIND1_SINGLE_NEMO
CLASS(FIELD_2RM), POINTER :: F_NSWH=>NULL()
CLASS(FIELD_2RM), POINTER :: F_NMWP=>NULL()
CLASS(FIELD_2RM), POINTER :: F_NPHIEPS=>NULL()
Expand All @@ -132,6 +133,19 @@ MODULE YOWFIELD_MOD
CLASS(FIELD_2RM), POINTER :: F_NEMOVSTOKES=>NULL()
CLASS(FIELD_2RM), POINTER :: F_NEMOSTRN=>NULL()
CLASS(FIELD_2RM), POINTER :: F_NEMOWSWAVE=>NULL()
#else
CLASS(FIELD_2RD), POINTER :: F_NSWH=>NULL()
CLASS(FIELD_2RD), POINTER :: F_NMWP=>NULL()
CLASS(FIELD_2RD), POINTER :: F_NPHIEPS=>NULL()
CLASS(FIELD_2RD), POINTER :: F_NEMOPHIF=>NULL()
CLASS(FIELD_2RD), POINTER :: F_NTAUOC=>NULL()
CLASS(FIELD_2RD), POINTER :: F_NEMOTAUX=>NULL()
CLASS(FIELD_2RD), POINTER :: F_NEMOTAUY=>NULL()
CLASS(FIELD_2RD), POINTER :: F_NEMOUSTOKES=>NULL()
CLASS(FIELD_2RD), POINTER :: F_NEMOVSTOKES=>NULL()
CLASS(FIELD_2RD), POINTER :: F_NEMOSTRN=>NULL()
CLASS(FIELD_2RD), POINTER :: F_NEMOWSWAVE=>NULL()
#endif
CONTAINS
PROCEDURE :: INIT => WAVE2OCEAN_FIELD_INIT
PROCEDURE :: UPDATE_VIEW => WAVE2OCEAN_UPDATE_VIEW
Expand Down

0 comments on commit 9b8ea07

Please sign in to comment.