--------------------------------------------------------
An error occurred in line <1216> of file </mnt/beegfs/app/dealii/sources/dealii-9.0.0/include/deal.II/lac/petsc_vector_base.h> in function
void dealii::PETScWrappers::VectorBase::extract_subvector_to(ForwardIterator, ForwardIterator, OutputIterator) const [with ForwardIterator = const unsigned int*; OutputIterator = double*]
The violated condition was:
index>=static_cast<unsigned int>(begin) && index<static_cast<unsigned int>(end)
Additional information:
This exception -- which is used in many places in the library -- usually indicates that some condition which the author of the code thought must be satisfied at a certain point in an algorithm, is not fulfilled. An example would be that the first part of an algorithm sorts elements of an array in ascending order, and a second part of the algorithm later encounters an element that is not larger than the previous one.
There is usually not very much you can do if you encounter such an exception since it indicates an error in deal.II, not in your own program. Try to come up with the smallest possible program that still demonstrates the error and contact the deal.II mailing lists with it to obtain help.
Stacktrace:
-----------
#0 /mnt/beegfs/app/dealii/9.0.0/lib/libdeal_II.g.so.9.0.0: void dealii::PETScWrappers::VectorBase::extract_subvector_to<unsigned int const*, double*>(unsigned int const*, unsigned int const*, double*) const
#1 /mnt/beegfs/app/dealii/9.0.0/lib/libdeal_II.g.so.9.0.0: void dealii::DoFCellAccessor<dealii::DoFHandler<2, 2>, false>::get_dof_values<dealii::PETScWrappers::MPI::Vector, double*>(dealii::PETScWrappers::MPI::Vector const&, double*, double*) const
#2 /mnt/beegfs/app/dealii/9.0.0/lib/libdeal_II.g.so.9.0.0: void dealii::DoFCellAccessor<dealii::DoFHandler<2, 2>, false>::get_interpolated_dof_values<dealii::PETScWrappers::MPI::Vector, double>(dealii::PETScWrappers::MPI::Vector const&, dealii::Vector<double>&, unsigned int) const
#3 /mnt/beegfs/app/dealii/9.0.0/lib/libdeal_II.g.so.9.0.0: dealii::FEValuesBase<2, 2>::CellIterator<dealii::TriaIterator<dealii::DoFCellAccessor<dealii::DoFHandler<2, 2>, false> > >::get_interpolated_dof_values(dealii::PETScWrappers::MPI::Vector const&, dealii::Vector<double>&) const
#4 /mnt/beegfs/app/dealii/9.0.0/lib/libdeal_II.g.so.9.0.0: void dealii::FEValuesBase<2, 2>::get_function_gradients<dealii::PETScWrappers::MPI::Vector>(dealii::PETScWrappers::MPI::Vector const&, std::vector<std::vector<dealii::Tensor<1, 2, dealii::PETScWrappers::MPI::Vector::value_type>, std::allocator<dealii::Tensor<1, 2, dealii::PETScWrappers::MPI::Vector::value_type> > >, std::allocator<std::vector<dealii::Tensor<1, 2, dealii::PETScWrappers::MPI::Vector::value_type>, std::allocator<dealii::Tensor<1, 2, dealii::PETScWrappers::MPI::Vector::value_type> > > > >&) const
#5 /mnt/beegfs/app/dealii/9.0.0/lib/libdeal_II.g.so.9.0.0:
#6 /mnt/beegfs/app/dealii/9.0.0/lib/libdeal_II.g.so.9.0.0:
#7 /mnt/beegfs/app/dealii/9.0.0/lib/libdeal_II.g.so.9.0.0:
#8 /mnt/beegfs/app/dealii/9.0.0/lib/libdeal_II.g.so.9.0.0: void dealii::KellyErrorEstimator<2, 2>::estimate<dealii::PETScWrappers::MPI::Vector, dealii::DoFHandler<2, 2> >(dealii::Mapping<2, 2> const&, dealii::DoFHandler<2, 2> const&, dealii::hp::QCollection<1> const&, dealii::FunctionMap<2, dealii::PETScWrappers::MPI::Vector::value_type>::type const&, std::vector<dealii::PETScWrappers::MPI::Vector const*, std::allocator<dealii::PETScWrappers::MPI::Vector const*> > const&, std::vector<dealii::Vector<float>*, std::allocator<dealii::Vector<float>*> >&, dealii::ComponentMask const&, dealii::Function<2, double> const*, unsigned int, unsigned int, unsigned int, dealii::KellyErrorEstimator<2, 2>::Strategy)
#9 /mnt/beegfs/app/dealii/9.0.0/lib/libdeal_II.g.so.9.0.0: void dealii::KellyErrorEstimator<2, 2>::estimate<dealii::PETScWrappers::MPI::Vector, dealii::DoFHandler<2, 2> >(dealii::Mapping<2, 2> const&, dealii::DoFHandler<2, 2> const&, dealii::Quadrature<1> const&, dealii::FunctionMap<2, dealii::PETScWrappers::MPI::Vector::value_type>::type const&, std::vector<dealii::PETScWrappers::MPI::Vector const*, std::allocator<dealii::PETScWrappers::MPI::Vector const*> > const&, std::vector<dealii::Vector<float>*, std::allocator<dealii::Vector<float>*> >&, dealii::ComponentMask const&, dealii::Function<2, double> const*, unsigned int, unsigned int, unsigned int, dealii::KellyErrorEstimator<2, 2>::Strategy)
#10 /mnt/beegfs/app/dealii/9.0.0/lib/libdeal_II.g.so.9.0.0: void dealii::KellyErrorEstimator<2, 2>::estimate<dealii::PETScWrappers::MPI::Vector, dealii::DoFHandler<2, 2> >(dealii::Mapping<2, 2> const&, dealii::DoFHandler<2, 2> const&, dealii::Quadrature<1> const&, dealii::FunctionMap<2, dealii::PETScWrappers::MPI::Vector::value_type>::type const&, dealii::PETScWrappers::MPI::Vector const&, dealii::Vector<float>&, dealii::ComponentMask const&, dealii::Function<2, double> const*, unsigned int, unsigned int, unsigned int, dealii::KellyErrorEstimator<2, 2>::Strategy)
#11 /mnt/beegfs/app/dealii/9.0.0/lib/libdeal_II.g.so.9.0.0: void dealii::KellyErrorEstimator<2, 2>::estimate<dealii::PETScWrappers::MPI::Vector, dealii::DoFHandler<2, 2> >(dealii::DoFHandler<2, 2> const&, dealii::Quadrature<1> const&, dealii::FunctionMap<2, dealii::PETScWrappers::MPI::Vector::value_type>::type const&, dealii::PETScWrappers::MPI::Vector const&, dealii::Vector<float>&, dealii::ComponentMask const&, dealii::Function<2, double> const*, unsigned int, unsigned int, unsigned int, dealii::KellyErrorEstimator<2, 2>::Strategy)
#12 ./PoroMinWorking: DistributedElasticity::ElasticProblem<2>::refine_grid()
#13 ./PoroMinWorking: DistributedElasticity::ElasticProblem<2>::run()
#14 ./PoroMinWorking: main
--------------------------------------------------------