Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused Fortran problem radiation source hook #2626

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.