Deal deal.II community
In my attempt to simulate the additive manufacturing process, I modified the step-26 program to reproduce the results in which I ran into an error which produces the output as :
$ make run
Consolidate compiler generated dependencies of target step-26
[ 66%] Built target step-26
[100%] Run step-26 with Debug configuration
***Time step 0 at t=0
===========================================
Number of active cells: 1024
Number of degrees of freedom: 99
--------------------------------------------------------
An error occurred in line <367> of file </usr/local/include/deal.II/base/smartpointer.h> in function
T* dealii::SmartPointer<T, P>::operator->() const [with T = const dealii::SparsityPattern; P = dealii::SparseMatrix<double>]
The violated condition was:
t != nullptr
Additional information:
(none)
Stacktrace:
-----------
#0 ./step-26: Step26::HeatEquation<2>::assemble_system()
#1 ./step-26: Step26::HeatEquation<2>::run()
#2 ./step-26: main
--------------------------------------------------------
make[3]: *** [CMakeFiles/run.dir/build.make:71: CMakeFiles/run] Aborted (core dumped)
make[2]: *** [CMakeFiles/Makefile2:116: CMakeFiles/run.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:123: CMakeFiles/run.dir/rule] Error 2
make: *** [Makefile:137: run] Error 2
I tried to debug with gdb but coudnt make track the error. So any help in this regard to debug the code will prove beneficialMoreover,I have attached step-26.cc file which was modified.
Sincerely
Pushkar