You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use spline function to create a geometry. The geometry builds on level 0, but when used higher amr levels it fails with ASSERTION error. Refining the base grid did not help. May I ask what could lead to the ASSERTION error when building EB geometry and what are the potential solutions?
this is the error I get
0::Assertion `i < (this->std::vector<T, Allocator>::size())' failed, file "../../amrex/Src/Base/AMReX_Vector.H", line 41 !!!
SIGABRT
and this is the backtrace.
0: amrex::BLBackTrace::print_backtrace_info(__sFILE*) (in incflo3d.gnu.DEBUG.MPI.EB.ex) (AMReX_BLBackTrace.cpp:189)
1: amrex::BLBackTrace::handler(int) (in incflo3d.gnu.DEBUG.MPI.EB.ex) (AMReX_BLBackTrace.cpp:99)
2: amrex::ParallelDescriptor::Abort(int, bool) (in incflo3d.gnu.DEBUG.MPI.EB.ex) (AMReX_ParallelDescriptor.cpp:219)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to use spline function to create a geometry. The geometry builds on level 0, but when used higher amr levels it fails with ASSERTION error. Refining the base grid did not help. May I ask what could lead to the ASSERTION error when building EB geometry and what are the potential solutions?
this is the error I get
0::Assertion `i < (this->std::vector<T, Allocator>::size())' failed, file "../../amrex/Src/Base/AMReX_Vector.H", line 41 !!!
SIGABRT
and this is the backtrace.
0: amrex::BLBackTrace::print_backtrace_info(__sFILE*) (in incflo3d.gnu.DEBUG.MPI.EB.ex) (AMReX_BLBackTrace.cpp:189)
1: amrex::BLBackTrace::handler(int) (in incflo3d.gnu.DEBUG.MPI.EB.ex) (AMReX_BLBackTrace.cpp:99)
2: amrex::ParallelDescriptor::Abort(int, bool) (in incflo3d.gnu.DEBUG.MPI.EB.ex) (AMReX_ParallelDescriptor.cpp:219)
3: amrex::Assert_host(char const*, char const*, int, char const*) (in incflo3d.gnu.DEBUG.MPI.EB.ex) (AMReX.cpp:292)
4: amrex::Vector<amrex::EB2::GShopLevel<amrex::EB2::GeometryShop<amrex::EB2::RotationIFamrex::EB2::SplineIF, int>>, std::allocator<amrex::EB2::GShopLevel<amrex::EB2::GeometryShop<amrex::EB2::RotationIFamrex::EB2::SplineIF, int>>>>::operator[](unsigned long) const (in incflo3d.gnu.DEBUG.MPI.EB.ex) (AMReX_Vector.H:41)
5: amrex::EB2::IndexSpaceImp<amrex::EB2::GeometryShop<amrex::EB2::RotationIFamrex::EB2::SplineIF, int>>::getLevel(amrex::Geometry const&) const (in incflo3d.gnu.DEBUG.MPI.EB.ex) (AMReX_EB2_IndexSpaceI.H:73)
6: amrex::makeEBFabFactory(amrex::Geometry const&, amrex::BoxArray const&, amrex::DistributionMapping const&, amrex::Vector<int, std::allocator> const&, amrex::EBSupport) (in incflo3d.gnu.DEBUG.MPI.EB.ex) (AMReX_EBFabFactory.cpp:125)
7: incflo::MakeNewLevelFromScratch(int, double, amrex::BoxArray const&, amrex::DistributionMapping const&) (in incflo3d.gnu.DEBUG.MPI.EB.ex) (incflo.cpp:204)
8: amrex::AmrMesh::MakeNewGrids(double) (in incflo3d.gnu.DEBUG.MPI.EB.ex) (AMReX_AmrMesh.cpp:931)
9: amrex::AmrCore::InitFromScratch(double) (in incflo3d.gnu.DEBUG.MPI.EB.ex) (AMReX_AmrCore.cpp:83)
10: incflo::InitData() (in incflo3d.gnu.DEBUG.MPI.EB.ex) (incflo.cpp:59)
11: main (in incflo3d.gnu.DEBUG.MPI.EB.ex) (main.cpp:51)
12: start (in dyld) + 2360
thank you!
Beta Was this translation helpful? Give feedback.
All reactions