--------------------------------------------------------
An error occurred in line <5594> of file </home/rajat/Documents/Code-Libraries/deal/dealii8.3/dealii-8.3.0/include/deal.II/numerics/vector_tools.templates.h> in function
void dealii::VectorTools::compute_nonzero_normal_flux_constraints(const DH<dim, spacedim>&, unsigned int, const std::set<unsigned char>&, typename dealii::FunctionMap<spacedim>::type&, dealii::ConstraintMatrix&, const dealii::Mapping<dim, spacedim>&) [with int dim = 3; DH = dealii::DoFHandler; int spacedim = 3; typename dealii::FunctionMap<spacedim>::type = std::map<unsigned char, const dealii::Function<3, double>*, std::less<unsigned char>, std::allocator<std::pair<const unsigned char, const dealii::Function<3, double>*> > >]
The violated condition was:
cell_to_normals_map.size() == 1
The name and call sequence of the exception was:
ExcInternalError()
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 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 /home/rajat/Documents/Code-Libraries/deal/dealii8.3/installed-dealii/lib/libdeal_II.g.so.8.3.0: void dealii::VectorTools::compute_nonzero_normal_flux_constraints<3, dealii::DoFHandler, 3>(dealii::DoFHandler<3, 3> const&, unsigned int, std::set<unsigned char, std::less<unsigned char>, std::allocator<unsigned char> > const&, dealii::FunctionMap<3, double>::type&, dealii::ConstraintMatrix&, dealii::Mapping<3, 3> const&)
#1 /home/rajat/Documents/Code-Libraries/deal/dealii8.3/installed-dealii/lib/libdeal_II.g.so.8.3.0: void dealii::VectorTools::compute_no_normal_flux_constraints<3, dealii::DoFHandler, 3>(dealii::DoFHandler<3, 3> const&, unsigned int, std::set<unsigned char, std::less<unsigned char>, std::allocator<unsigned char> > const&, dealii::ConstraintMatrix&, dealii::Mapping<3, 3> const&)
#2 ./fdm: BugFinder<3>::BugFinder(int)
#3 ./fdm: main
--------------------------------------------------------