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 some old comments about Fortran #3022

Merged
merged 1 commit into from
Jan 17, 2025
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
5 changes: 2 additions & 3 deletions Source/driver/Castro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ Castro::initData ()
BL_PROFILE("Castro::initData()");

//
// Loop over grids, call FORTRAN function to init with data.
// Loop over grids, call initialization functions
//
#if AMREX_SPACEDIM > 1
const Real* dx = geom.CellSize();
Expand Down Expand Up @@ -3716,8 +3716,7 @@ Castro::extern_init ()
std::cout << "reading extern runtime parameters ..." << std::endl;
}

// grab them from Fortran to C++; then read any C++ parameters directly
// from inputs (via ParmParse)
// read any runtime parameters directly from inputs (via ParmParse)
init_extern_parameters();

}
Expand Down
3 changes: 1 addition & 2 deletions Source/driver/Castro_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -975,8 +975,7 @@ Castro::variableSetUp ()
//
// We want a derived type that corresponds to the number of particles
// in each cell. We only intend to use it in plotfiles for debugging
// purposes. We'll just use the DERNULL since don't do anything in
// fortran for now. We'll actually set the values in writePlotFile().
// purposes. We'll actually set the values in writePlotFile().
//
derive_lst.add("particle_count",IndexType::TheCellType(),1,ca_dernull,the_same_box);
derive_lst.addComponent("particle_count",desc_lst,State_Type,URHO,1);
Expand Down
3 changes: 0 additions & 3 deletions Source/driver/Derive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ extern "C"
{
#endif

// Note that in the following routines, we are NOT passing
// several variables to Fortran that would be unused.

// These routines are called in an MFIter loop, so we do not
// need to explicitly synchronize after GPU kernels.

Expand Down
4 changes: 1 addition & 3 deletions Source/rotation/rotation_sources.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,7 @@ Castro::corrrsrc(const Box& bx,

// Corrector step for the rotation source terms. This is applied
// after the hydrodynamics update to fix the time-level n
// prediction and add the time-level n+1 data. This subroutine
// exists outside of the Fortran module above because it needs to
// be called directly from C++.
// prediction and add the time-level n+1 data.

// uold and unew are the old and new time state data

Expand Down
Loading