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

WarpX and PML headers: remove unused fieldFactory() methods #5679

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
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: 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
Loading