Skip to content

Commit 71186dc

Browse files
committed
wrap interface with PMC_USE_TCHEM
1 parent 19ce8f9 commit 71186dc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/tchem_interface.F90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module pmc_tchem_interface
2424
real(kind=dp), parameter :: PPM_TO_PPB = 1000.0d0
2525
integer, parameter :: DEFAULT_BATCH_INDEX = 0
2626

27+
#ifdef PMC_USE_TCHEM
2728
interface
2829
subroutine tchem_c_initialize(arg_chemfile, arg_aerofile, &
2930
arg_numericsfile, n_batch) &
@@ -111,6 +112,7 @@ subroutine TChem_doTimestep(del_t) bind(c, name="TChem_doTimestep")
111112
real(kind=c_double), intent(in) :: del_t
112113
end subroutine
113114
end interface
115+
#endif
114116

115117
contains
116118

0 commit comments

Comments
 (0)