Skip to content

Commit

Permalink
Minor fix for soot and spray
Browse files Browse the repository at this point in the history
  • Loading branch information
dmontgomeryNREL committed Oct 15, 2024
1 parent 9a9de0a commit 064562d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Source/PeleLMeX.H
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,7 @@ public:
bool m_user_defined_ext_sources;
bool m_ext_sources_SDC;
void getExternalSources(
int is_initIter,
const PeleLM::TimeStamp& a_timestamp_old,
const PeleLM::TimeStamp& a_timestamp_new);

Expand Down
2 changes: 1 addition & 1 deletion Source/PeleLMeX_Advance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ PeleLM::Advance(int is_initIter)
//----------------------------------------------------------------

// External sources (soot, radiation, user defined, etc.)
getExternalSources(AmrOldTime, AmrNewTime);
getExternalSources(is_initIter, AmrOldTime, AmrNewTime);

if (m_incompressible == 0) {
floorSpecies(AmrOldTime);
Expand Down
1 change: 1 addition & 0 deletions Source/PeleLMeX_Forces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ PeleLM::addSpark(const TimeStamp& a_timestamp)
// Calculate additional external sources (soot, radiation, user defined, etc.)
void
PeleLM::getExternalSources(
int is_initIter,

Check warning on line 243 in Source/PeleLMeX_Forces.cpp

View workflow job for this annotation

GitHub Actions / Lint-clang-tidy (EB-ON)

unused parameter 'is_initIter' [-Wunused-parameter]

Check warning on line 243 in Source/PeleLMeX_Forces.cpp

View workflow job for this annotation

GitHub Actions / Lint-clang-tidy (EB-ON)

unused parameter 'is_initIter' [clang-diagnostic-unused-parameter]

Check warning on line 243 in Source/PeleLMeX_Forces.cpp

View workflow job for this annotation

GitHub Actions / CPU-CMake (macos-latest, Release, EB-ON)

unused parameter 'is_initIter' [-Wunused-parameter]
const PeleLM::TimeStamp& a_timestamp_old,
const PeleLM::TimeStamp& a_timestamp_new)
{
Expand Down
2 changes: 1 addition & 1 deletion Source/PeleLMeX_ProblemSpecificFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ set_ode_names(Vector<std::string>& a_ode_names)
#endif
}

static void
void
problem_modify_ext_sources(
Real /*time*/,
Real /*dt*/,
Expand Down

0 comments on commit 064562d

Please sign in to comment.