Skip to content

Commit 5a77a4a

Browse files
committed
Fixes for flang
1 parent f5ae5cf commit 5a77a4a

1 file changed

Lines changed: 48 additions & 48 deletions

File tree

src/ALE/MOM_remapping.F90

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,22 @@ module MOM_remapping
1919
use MOM_hybgen_remap, only : hybgen_plm_coefs, hybgen_ppm_coefs, hybgen_weno_coefs
2020

2121
use Recon1d_type, only : Recon1d
22-
use Recon1d_PCM, only : PCM
23-
use Recon1d_PLM_CW, only : PLM_CW
24-
use Recon1d_PLM_hybgen, only : PLM_hybgen
25-
use Recon1d_PLM_CWK, only : PLM_CWK
26-
use Recon1d_MPLM_CWK, only : MPLM_CWK
27-
use Recon1d_EMPLM_CWK, only : EMPLM_CWK
28-
use Recon1d_MPLM_WA, only : MPLM_WA
29-
use Recon1d_EMPLM_WA, only : EMPLM_WA
30-
use Recon1d_MPLM_WA_poly, only : MPLM_WA_poly
31-
use Recon1d_EMPLM_WA_poly, only : EMPLM_WA_poly
32-
use Recon1d_PPM_CW, only : PPM_CW
33-
use Recon1d_PPM_hybgen, only : PPM_hybgen
34-
use Recon1d_PPM_CWK, only : PPM_CWK
35-
use Recon1d_EPPM_CWK, only : EPPM_CWK
36-
use Recon1d_PPM_H4_2019, only : PPM_H4_2019
37-
use Recon1d_PPM_H4_2018, only : PPM_H4_2018
22+
use Recon1d_PCM, only : PCM_t => PCM
23+
use Recon1d_PLM_CW, only : PLM_CW_t => PLM_CW
24+
use Recon1d_PLM_hybgen, only : PLM_hybgen_t => PLM_hybgen
25+
use Recon1d_PLM_CWK, only : PLM_CWK_t => PLM_CWK
26+
use Recon1d_MPLM_CWK, only : MPLM_CWK_t => MPLM_CWK
27+
use Recon1d_EMPLM_CWK, only : EMPLM_CWK_t => EMPLM_CWK
28+
use Recon1d_MPLM_WA, only : MPLM_WA_t => MPLM_WA
29+
use Recon1d_EMPLM_WA, only : EMPLM_WA_t => EMPLM_WA
30+
use Recon1d_MPLM_WA_poly, only : MPLM_WA_poly_t => MPLM_WA_poly
31+
use Recon1d_EMPLM_WA_poly, only : EMPLM_WA_poly_t => EMPLM_WA_poly
32+
use Recon1d_PPM_CW, only : PPM_CW_t => PPM_CW
33+
use Recon1d_PPM_hybgen, only : PPM_hybgen_t => PPM_hybgen
34+
use Recon1d_PPM_CWK, only : PPM_CWK_t => PPM_CWK
35+
use Recon1d_EPPM_CWK, only : EPPM_CWK_t => EPPM_CWK
36+
use Recon1d_PPM_H4_2019, only : PPM_H4_2019_t => PPM_H4_2019
37+
use Recon1d_PPM_H4_2018, only : PPM_H4_2018_t => PPM_H4_2018
3838

3939
implicit none ; private
4040

@@ -1745,52 +1745,52 @@ subroutine setReconstructionType(string,CS)
17451745
CS%remapping_scheme = REMAPPING_PQM_IH6IH5
17461746
degree = 4
17471747
case ("C_PCM")
1748-
allocate( PCM :: CS%reconstruction )
1748+
allocate( PCM_t :: CS%reconstruction )
17491749
CS%remapping_scheme = REMAPPING_VIA_CLASS
17501750
case ("C_PLM_CW")
1751-
allocate( PLM_CW :: CS%reconstruction )
1751+
allocate( PLM_CW_t :: CS%reconstruction )
17521752
CS%remapping_scheme = REMAPPING_VIA_CLASS
17531753
case ("C_PLM_HYBGEN")
1754-
allocate( PLM_hybgen :: CS%reconstruction )
1754+
allocate( PLM_hybgen_t :: CS%reconstruction )
17551755
CS%remapping_scheme = REMAPPING_VIA_CLASS
17561756
case ("C_MPLM_WA")
1757-
allocate( MPLM_WA :: CS%reconstruction )
1757+
allocate( MPLM_WA_t :: CS%reconstruction )
17581758
CS%remapping_scheme = REMAPPING_VIA_CLASS
17591759
case ("C_EMPLM_WA")
1760-
allocate( EMPLM_WA :: CS%reconstruction )
1760+
allocate( EMPLM_WA_t :: CS%reconstruction )
17611761
CS%remapping_scheme = REMAPPING_VIA_CLASS
17621762
case ("C_MPLM_WA_POLY")
1763-
allocate( MPLM_WA_poly :: CS%reconstruction )
1763+
allocate( MPLM_WA_poly_t :: CS%reconstruction )
17641764
CS%remapping_scheme = REMAPPING_VIA_CLASS
17651765
case ("C_EMPLM_WA_POLY")
1766-
allocate( EMPLM_WA_poly :: CS%reconstruction )
1766+
allocate( EMPLM_WA_poly_t :: CS%reconstruction )
17671767
CS%remapping_scheme = REMAPPING_VIA_CLASS
17681768
case ("C_PLM_CWK")
1769-
allocate( PLM_CWK :: CS%reconstruction )
1769+
allocate( PLM_CWK_t :: CS%reconstruction )
17701770
CS%remapping_scheme = REMAPPING_VIA_CLASS
17711771
case ("C_MPLM_CWK")
1772-
allocate( MPLM_CWK :: CS%reconstruction )
1772+
allocate( MPLM_CWK_t :: CS%reconstruction )
17731773
CS%remapping_scheme = REMAPPING_VIA_CLASS
17741774
case ("C_EMPLM_CWK")
1775-
allocate( EMPLM_CWK :: CS%reconstruction )
1775+
allocate( EMPLM_CWK_t :: CS%reconstruction )
17761776
CS%remapping_scheme = REMAPPING_VIA_CLASS
17771777
case ("C_PPM_CW")
1778-
allocate( PPM_CW :: CS%reconstruction )
1778+
allocate( PPM_CW_t :: CS%reconstruction )
17791779
CS%remapping_scheme = REMAPPING_VIA_CLASS
17801780
case ("C_PPM_HYBGEN")
1781-
allocate( PPM_hybgen :: CS%reconstruction )
1781+
allocate( PPM_hybgen_t :: CS%reconstruction )
17821782
CS%remapping_scheme = REMAPPING_VIA_CLASS
17831783
case ("C_PPM_CWK")
1784-
allocate( PPM_CWK :: CS%reconstruction )
1784+
allocate( PPM_CWK_t :: CS%reconstruction )
17851785
CS%remapping_scheme = REMAPPING_VIA_CLASS
17861786
case ("C_EPPM_CWK")
1787-
allocate( EPPM_CWK :: CS%reconstruction )
1787+
allocate( EPPM_CWK_t :: CS%reconstruction )
17881788
CS%remapping_scheme = REMAPPING_VIA_CLASS
17891789
case ("C_PPM_H4_2019")
1790-
allocate( PPM_H4_2019 :: CS%reconstruction )
1790+
allocate( PPM_H4_2019_t :: CS%reconstruction )
17911791
CS%remapping_scheme = REMAPPING_VIA_CLASS
17921792
case ("C_PPM_H4_2018")
1793-
allocate( PPM_H4_2018 :: CS%reconstruction )
1793+
allocate( PPM_H4_2018_t :: CS%reconstruction )
17941794
CS%remapping_scheme = REMAPPING_VIA_CLASS
17951795
case default
17961796
call MOM_error(FATAL, "setReconstructionType: "//&
@@ -2095,22 +2095,22 @@ logical function remapping_unit_tests(verbose, num_comp_samp)
20952095
integer :: om4 ! Loop parameter, 0 or 1
20962096
integer :: ntests ! Number of iterations when brute force testing
20972097
character(len=4) :: om4_tag ! Generated label
2098-
type(PCM) :: PCM
2099-
type(PLM_CW) :: PLM_CW
2100-
type(PLM_hybgen) :: PLM_hybgen
2101-
type(MPLM_WA) :: MPLM_WA
2102-
type(EMPLM_WA) :: EMPLM_WA
2103-
type(MPLM_WA_poly) :: MPLM_WA_poly
2104-
type(EMPLM_WA_poly) :: EMPLM_WA_poly
2105-
type(PLM_CWK) :: PLM_CWK
2106-
type(MPLM_CWK) :: MPLM_CWK
2107-
type(EMPLM_CWK) :: EMPLM_CWK
2108-
type(PPM_H4_2019) :: PPM_H4_2019
2109-
type(PPM_H4_2018) :: PPM_H4_2018
2110-
type(PPM_CW) :: PPM_CW
2111-
type(PPM_hybgen) :: PPM_hybgen
2112-
type(PPM_CWK) :: PPM_CWK
2113-
type(EPPM_CWK) :: EPPM_CWK
2098+
type(PCM_t) :: PCM
2099+
type(PLM_CW_t) :: PLM_CW
2100+
type(PLM_hybgen_t) :: PLM_hybgen
2101+
type(MPLM_WA_t) :: MPLM_WA
2102+
type(EMPLM_WA_t) :: EMPLM_WA
2103+
type(MPLM_WA_poly_t) :: MPLM_WA_poly
2104+
type(EMPLM_WA_poly_t) :: EMPLM_WA_poly
2105+
type(PLM_CWK_t) :: PLM_CWK
2106+
type(MPLM_CWK_t) :: MPLM_CWK
2107+
type(EMPLM_CWK_t) :: EMPLM_CWK
2108+
type(PPM_H4_2019_t) :: PPM_H4_2019
2109+
type(PPM_H4_2018_t) :: PPM_H4_2018
2110+
type(PPM_CW_t) :: PPM_CW
2111+
type(PPM_hybgen_t) :: PPM_hybgen
2112+
type(PPM_CWK_t) :: PPM_CWK
2113+
type(EPPM_CWK_t) :: EPPM_CWK
21142114

21152115
call test%set( verbose=verbose ) ! Sets the verbosity flag in test
21162116
! call test%set( stop_instantly=.true. ) ! While debugging

0 commit comments

Comments
 (0)