Skip to content

Commit e0c17e7

Browse files
authored
WarpX header: remove unused GetDistanceToEB function (#5589)
This PR removes a WarpX member function that is no longer used in WarpX.
1 parent 6e4def5 commit e0c17e7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Source/WarpX.H

+1-6
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,7 @@ public:
162162
HybridPICModel& GetHybridPICModel () { return *m_hybrid_pic_model; }
163163
[[nodiscard]] HybridPICModel * get_pointer_HybridPICModel () const { return m_hybrid_pic_model.get(); }
164164
MultiDiagnostics& GetMultiDiags () {return *multi_diags;}
165-
#ifdef AMREX_USE_EB
166-
ablastr::fields::MultiLevelScalarField GetDistanceToEB () {
167-
using warpx::fields::FieldType;
168-
return m_fields.get_mr_levels(FieldType::distance_to_eb, finestLevel());
169-
}
170-
#endif
165+
171166
ParticleBoundaryBuffer& GetParticleBoundaryBuffer () { return *m_particle_boundary_buffer; }
172167
amrex::Vector<std::array< std::unique_ptr<amrex::iMultiFab>,3 > >& GetEBUpdateEFlag() { return m_eb_update_E; }
173168

0 commit comments

Comments
 (0)