Skip to content

Commit

Permalink
remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
lucafedeli88 committed Feb 18, 2025
1 parent 18578b9 commit 84455e2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions Source/BoundaryConditions/PML.H
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,6 @@ private:
// Factory for field data
std::unique_ptr<amrex::FabFactory<amrex::FArrayBox> > pml_field_factory;

[[nodiscard]] amrex::FabFactory<amrex::FArrayBox> const& fieldFactory () const noexcept
{
return *pml_field_factory;
}

#ifdef AMREX_USE_EB
[[nodiscard]] amrex::EBFArrayBoxFactory const& fieldEBFactory () const noexcept {
return static_cast<amrex::EBFArrayBoxFactory const&>(*pml_field_factory);
Expand Down
6 changes: 0 additions & 6 deletions Source/WarpX.H
Original file line number Diff line number Diff line change
Expand Up @@ -1542,12 +1542,6 @@ private:
// Factory for field data
amrex::Vector<std::unique_ptr<amrex::FabFactory<amrex::FArrayBox> > > m_field_factory;

[[nodiscard]]
amrex::FabFactory<amrex::FArrayBox> const& fieldFactory (int lev) const noexcept
{
return *m_field_factory[lev];
}

/** Stop the simulation at the end of the current step due to a received Unix signal?
*/
bool m_exit_loop_due_to_interrupt_signal = false;
Expand Down

0 comments on commit 84455e2

Please sign in to comment.