diff options
Diffstat (limited to 'Source/WarpX.H')
-rw-r--r-- | Source/WarpX.H | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/WarpX.H b/Source/WarpX.H index 4ee7fe47e..450d3a40e 100644 --- a/Source/WarpX.H +++ b/Source/WarpX.H @@ -258,14 +258,7 @@ public: /** get low-high-low-high-... vector for each direction indicating if mother grid PMLs are enabled */ std::vector<bool> getPMLdirections() const; - static amrex::LayoutData<amrex::Real>* getCosts (int lev) { - if (m_instance) { - return m_instance->costs[lev].get(); - } else - { - return nullptr; - } - } + static amrex::LayoutData<amrex::Real>* getCosts (int lev); static amrex::IntVect filter_npass_each_dir; BilinearFilter bilinear_filter; |