Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/mixedmode' into time_interp_merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rem1776 authored and rem1776 committed Jul 31, 2023
2 parents 8be0313 + f7b7544 commit 81a9fa9
Show file tree
Hide file tree
Showing 16 changed files with 1,634 additions and 2,535 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ foreach(kind ${kinds})
fms2_io/include
string_utils/include
mpp/include
monin_obukhov/include
sat_vapor_pres/include
horiz_interp/include
random_numbers/include
Expand Down Expand Up @@ -350,6 +351,7 @@ foreach(kind ${kinds})
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/fms>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/fms/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/fms2_io/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/monin_obukhov/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/sat_vapor_pres/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/field_manager/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/horiz_interp/include>
Expand All @@ -360,6 +362,7 @@ foreach(kind ${kinds})
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/field_manager/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/tracer_manager/include>)


target_include_directories(${libTgt} INTERFACE
$<BUILD_INTERFACE:${moduleDir}>
$<INSTALL_INTERFACE:${includeDir}>)
Expand Down
3 changes: 0 additions & 3 deletions axis_utils/include/axis_utils2.inc
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,11 @@
!! lon = 0 1 2 3 4 5 ... 358 359; lon_strt = 3
!! ==> lon = 3 4 5 6 7 8 ... 359 360 361 362; istrt = 4
!!
!! lon = 0 1 2 3 4 5 ... 358 359; lon_strt = 0
!! ==> lon = 0 1 2 3 4 5 ... 358 359; istrt = 0
subroutine TRANLON_(lon, lon_start, istrt)
real(kind=FMS_AU_KIND_), intent(inout), dimension(:) :: lon
real(kind=FMS_AU_KIND_), intent(in) :: lon_start
integer, intent(out) :: istrt
integer :: len, i
real(kind=FMS_AU_KIND_) :: lon_strt, tmp(size(lon(:))-1)
Expand Down
31 changes: 23 additions & 8 deletions monin_obukhov/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,39 @@

# Ed Hartnett 2/22/19

AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/monin_obukhov/include
AM_FCFLAGS = $(FC_MODINC). $(FC_MODOUT)$(MODDIR)

noinst_LTLIBRARIES = libmonin_obukhov.la

libmonin_obukhov_la_SOURCES = \
monin_obukhov.F90 \
monin_obukhov_inter.F90

monin_obukhov_mod.$(FC_MODEXT): monin_obukhov_inter.$(FC_MODEXT)
monin_obukhov.F90 \
monin_obukhov_inter.F90 \
include/monin_obukhov_r4.fh \
include/monin_obukhov_r8.fh \
include/monin_obukhov.inc \
include/monin_obukhov_inter_r4.fh \
include/monin_obukhov_inter_r8.fh \
include/monin_obukhov_inter.inc

monin_obukhov_inter.$(FC_MODEXT): \
include/monin_obukhov_inter_r4.fh \
include/monin_obukhov_inter_r8.fh \
include/monin_obukhov_inter.inc

monin_obukhov_mod.$(FC_MODEXT): \
monin_obukhov_inter.$(FC_MODEXT) \
include/monin_obukhov_r4.fh \
include/monin_obukhov_r8.fh \
include/monin_obukhov.inc

# Mod files are built and then installed as headers.
MODFILES = \
monin_obukhov_inter.$(FC_MODEXT) \
monin_obukhov_mod.$(FC_MODEXT)
monin_obukhov_mod.$(FC_MODEXT) \
monin_obukhov_inter.$(FC_MODEXT)
nodist_include_HEADERS = $(MODFILES)
BUILT_SOURCES = $(MODFILES)

EXTRA_DIST = monin_obukhov.tech.ps

include $(top_srcdir)/mkmods.mk
include $(top_srcdir)/mkmods.mk
Loading

0 comments on commit 81a9fa9

Please sign in to comment.