Skip to content

Commit

Permalink
Remove unused Fortran problem radiation source hook (AMReX-Astro#2626)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpkatz authored Oct 10, 2023
1 parent a14174b commit 19e6805
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 56 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# 23.11

* The ca_rad_source hook in Fortran has been removed. The existing
problem_rad_source() hook in C++ can be used instead. (#2626)

* The compile option USE_AUX_UPDATE has been removed. If you want to
manually update the auxiliary parameters, you can use an external
source term or you can use the problem post-timestep hook. (#2614)
Expand Down
2 changes: 0 additions & 2 deletions Source/radiation/Make.package
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,3 @@ CEXE_sources += RadDerive.cpp
CEXE_headers += RadDerive.H
CEXE_headers += rad_util.H
CEXE_headers += blackbody.H

ca_F90EXE_sources += rad_source.F90
10 changes: 0 additions & 10 deletions Source/radiation/RAD_F.H
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,6 @@ extern "C" {
}
#endif

extern "C"
{
void ca_rad_source
(const int* lo, const int* hi,
BL_FORT_FAB_ARG_3D(rhs),
const amrex::Real* dx, amrex::Real dt,
amrex::Real time, int igroup);

}

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
5 changes: 0 additions & 5 deletions Source/radiation/RadSolve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1102,11 +1102,6 @@ void RadSolve::levelRhs(int level, MultiFab& rhs, const MultiFab& jg,

problem_rad_source(i, j, k, rhs_arr, geomdata, time, delta_t, igroup);
});

ca_rad_source(AMREX_INT_ANYD(bx.loVect()), AMREX_INT_ANYD(bx.hiVect()),
BL_TO_FORTRAN_ANYD(rhs[ri]),
AMREX_REAL_ANYD(dx), delta_t, time, igroup);

}
}

Expand Down
39 changes: 0 additions & 39 deletions Source/radiation/rad_source.F90

This file was deleted.

0 comments on commit 19e6805

Please sign in to comment.