Error in Compilation

31 views
Skip to first unread message

pushkar...@gmail.com

unread,
Dec 4, 2020, 4:56:16 AM12/4/20
to deal.II User Group
Dear deal.II community,

I ran into error while compilation which I am not able to decipher in which case I look forward to your help . The output I encountered on executing "make all" :

15:24:23 **** Build of project step-26-Debug@step-26 ****
/usr/bin/make all
/snap/cmake/715/bin/cmake -S/home/pushkar/examples/step-26 -B/home/pushkar/examples/step-26 --check-build-system CMakeFiles/Makefile.cmake 0
/snap/cmake/715/bin/cmake -E cmake_progress_start /home/pushkar/examples/step-26/CMakeFiles /home/pushkar/examples/step-26//CMakeFiles/progress.marks
/usr/bin/make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/pushkar/examples/step-26'
/usr/bin/make  -f CMakeFiles/step-26.dir/build.make CMakeFiles/step-26.dir/depend
make[2]: Entering directory '/home/pushkar/examples/step-26'
cd /home/pushkar/examples/step-26 && /snap/cmake/715/bin/cmake -E cmake_depends "Unix Makefiles" /home/pushkar/examples/step-26 /home/pushkar/examples/step-26 /home/pushkar/examples/step-26 /home/pushkar/examples/step-26 /home/pushkar/examples/step-26/CMakeFiles/step-26.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/pushkar/examples/step-26'
/usr/bin/make  -f CMakeFiles/step-26.dir/build.make CMakeFiles/step-26.dir/build
make[2]: Entering directory '/home/pushkar/examples/step-26'
[ 50%] Linking CXX executable step-26
/snap/cmake/715/bin/cmake -E cmake_link_script CMakeFiles/step-26.dir/link.txt --verbose=1
/usr/bin/c++ -rdynamic  -rdynamic -fuse-ld=gold -pthread -ggdb CMakeFiles/step-26.dir/step-26.cc.o -o step-26  -Wl,-rpath,/usr/local/lib /usr/local/lib/libdeal_II.g.so.9.0.0 -lpthread -lm -ldl -lopenblas -lgfortran -lquadmath -lm -lc -lgcc_s -lgcc -ldl -lz -lrt
/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o:function _start: error: undefined reference to 'main'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/step-26.dir/build.make:106: step-26] Error 1
make[1]: *** [CMakeFiles/Makefile2:183: CMakeFiles/step-26.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
make[2]: Leaving directory '/home/pushkar/examples/step-26'
make[1]: Leaving directory '/home/pushkar/examples/step-26'
"/usr/bin/make all" terminated with exit code 2. Build might be incomplete.

15:24:23 Build Failed. 3 errors, 0 warnings. (took 615ms)

Any help in this regard will be beneficial

Regards
Pushkar

pushkar...@gmail.com

unread,
Dec 4, 2020, 5:16:15 AM12/4/20
to deal.II User Group
Well that was not a problem it was my silly mistake that I for some reason commented out the main() function in hurry and raninto such an error but now I encountered other errors while compilation as :

[ 50%] Building CXX object CMakeFiles/step-26.dir/step-26.cc.o
In file included from /home/pushkar/examples/step-26/point_comparison_operator.h:8,
                 from /home/pushkar/examples/step-26/step-26.cc:52:
/usr/local/include/deal.II/base/tensor_base.h:3:2: warning: #warning This file is deprecated. Use <deal.II/base/tensor.h> instead. [-Wcpp]
    3 | #warning This file is deprecated. Use <deal.II/base/tensor.h> instead.
      |  ^~~~~~~
/home/pushkar/examples/step-26/step-26.cc: In instantiation of ‘Step26::HeatEquation<dim>::HeatEquation() [with int dim = 2]’:
/home/pushkar/examples/step-26/step-26.cc:1023:23:   required from here
/home/pushkar/examples/step-26/step-26.cc:108:23: warning: ‘Step26::HeatEquation<2>::quadrature_collection’ will be initialized after [-Wreorder]
  108 |     Quadrature<dim>   quadrature_collection;
      |                       ^~~~~~~~~~~~~~~~~~~~~
/home/pushkar/examples/step-26/step-26.cc:107:26: warning:   ‘dealii::hp::DoFHandler<2, 2> Step26::HeatEquation<2>::dof_handler’ [-Wreorder]
  107 |     hp::DoFHandler<dim>  dof_handler;
      |                          ^~~~~~~~~~~
/home/pushkar/examples/step-26/step-26.cc:201:3: warning:   when initialized here [-Wreorder]
  201 |   HeatEquation<dim>::HeatEquation ()
      |   ^~~~~~~~~~~~~~~~~
/home/pushkar/examples/step-26/step-26.cc:132:20: warning: ‘Step26::HeatEquation<2>::heat_conductivity’ will be initialized after [-Wreorder]
  132 |     const double   heat_conductivity;
      |                    ^~~~~~~~~~~~~~~~~
/home/pushkar/examples/step-26/step-26.cc:109:26: warning:   ‘dealii::Quadrature<1> Step26::HeatEquation<2>::face_quadrature_collection’ [-Wreorder]
  109 |     Quadrature<dim-1>    face_quadrature_collection;
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pushkar/examples/step-26/step-26.cc:201:3: warning:   when initialized here [-Wreorder]
  201 |   HeatEquation<dim>::HeatEquation ()
      |   ^~~~~~~~~~~~~~~~~
/home/pushkar/examples/step-26/step-26.cc:201:3: error: uninitialized const member in ‘const double’ [-fpermissive]
/home/pushkar/examples/step-26/step-26.cc:135:21: note: ‘const double Step26::HeatEquation<2>::part_height’ should be initialized
  135 |     const double    part_height;
      |                     ^~~~~~~~~~~
/home/pushkar/examples/step-26/step-26.cc: In instantiation of ‘void Step26::HeatEquation<dim>::run() [with int dim = 2]’:
/home/pushkar/examples/step-26/step-26.cc:1024:32:   required from here
/home/pushkar/examples/step-26/step-26.cc:796:24: error: no matching function for call to ‘project(dealii::hp::DoFHandler<2, 2>&, dealii::ConstraintMatrix&, dealii::Quadrature<2>&, Step26::InitialCondition<2>&, dealii::Vector<double>&, bool, dealii::Quadrature<1>&)’
  796 |    VectorTools::project(dof_handler,
      |    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  797 |                constraints,
      |                ~~~~~~~~~~~~
  798 |          quadrature_collection,
      |          ~~~~~~~~~~~~~~~~~~~~~~
  799 |          initial_condition,
      |          ~~~~~~~~~~~~~~~~~~
  800 |          old_solution,
      |          ~~~~~~~~~~~~~  
  801 |          false,
      |          ~~~~~~         
  802 |          face_quadrature_collection);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pushkar/examples/step-26/step-26.cc:44:
/usr/local/include/deal.II/numerics/vector_tools.h:813:8: note: candidate: ‘template<int dim, class VectorType, int spacedim> void dealii::VectorTools::project(const dealii::Mapping<dim, spacedim>&, const dealii::DoFHandler<dim, spacedim>&, const dealii::ConstraintMatrix&, const dealii::Quadrature<dim>&, const dealii::Function<spacedim, typename VectorType::value_type>&, VectorType&, bool, const dealii::Quadrature<(dim - 1)>&, bool)’
  813 |   void project (const Mapping<dim, spacedim>    &mapping,
      |        ^~~~~~~
/usr/local/include/deal.II/numerics/vector_tools.h:813:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:796:24: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::Mapping<dim, spacedim>’
  796 |    VectorTools::project(dof_handler,
      |    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  797 |                constraints,
      |                ~~~~~~~~~~~~
  798 |          quadrature_collection,
      |          ~~~~~~~~~~~~~~~~~~~~~~
  799 |          initial_condition,
      |          ~~~~~~~~~~~~~~~~~~
  800 |          old_solution,
      |          ~~~~~~~~~~~~~  
  801 |          false,
      |          ~~~~~~         
  802 |          face_quadrature_collection);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pushkar/examples/step-26/step-26.cc:44:
/usr/local/include/deal.II/numerics/vector_tools.h:830:8: note: candidate: ‘template<int dim, class VectorType, int spacedim> void dealii::VectorTools::project(const dealii::DoFHandler<dim, spacedim>&, const dealii::ConstraintMatrix&, const dealii::Quadrature<dim>&, const dealii::Function<spacedim, typename VectorType::value_type>&, VectorType&, bool, const dealii::Quadrature<(dim - 1)>&, bool)’
  830 |   void project (const DoFHandler<dim,spacedim>  &dof,
      |        ^~~~~~~
/usr/local/include/deal.II/numerics/vector_tools.h:830:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:796:24: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::DoFHandler<dim, spacedim>’
  796 |    VectorTools::project(dof_handler,
      |    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  797 |                constraints,
      |                ~~~~~~~~~~~~
  798 |          quadrature_collection,
      |          ~~~~~~~~~~~~~~~~~~~~~~
  799 |          initial_condition,
      |          ~~~~~~~~~~~~~~~~~~
  800 |          old_solution,
      |          ~~~~~~~~~~~~~  
  801 |          false,
      |          ~~~~~~         
  802 |          face_quadrature_collection);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pushkar/examples/step-26/step-26.cc:44:
/usr/local/include/deal.II/numerics/vector_tools.h:846:8: note: candidate: ‘template<int dim, class VectorType, int spacedim> void dealii::VectorTools::project(const dealii::hp::MappingCollection<dim, spacedim>&, const dealii::hp::DoFHandler<dim, spacedim>&, const dealii::ConstraintMatrix&, const dealii::hp::QCollection<dim>&, const dealii::Function<spacedim, typename VectorType::value_type>&, VectorType&, bool, const dealii::hp::QCollection<(dim - 1)>&, bool)’
  846 |   void project (const hp::MappingCollection<dim, spacedim> &mapping,
      |        ^~~~~~~
/usr/local/include/deal.II/numerics/vector_tools.h:846:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:796:24: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::hp::MappingCollection<dim, spacedim>’
  796 |    VectorTools::project(dof_handler,
      |    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  797 |                constraints,
      |                ~~~~~~~~~~~~
  798 |          quadrature_collection,
      |          ~~~~~~~~~~~~~~~~~~~~~~
  799 |          initial_condition,
      |          ~~~~~~~~~~~~~~~~~~
  800 |          old_solution,
      |          ~~~~~~~~~~~~~  
  801 |          false,
      |          ~~~~~~         
  802 |          face_quadrature_collection);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pushkar/examples/step-26/step-26.cc:44:
/usr/local/include/deal.II/numerics/vector_tools.h:863:8: note: candidate: ‘template<int dim, class VectorType, int spacedim> void dealii::VectorTools::project(const dealii::hp::DoFHandler<dim, spacedim>&, const dealii::ConstraintMatrix&, const dealii::hp::QCollection<dim>&, const dealii::Function<spacedim, typename VectorType::value_type>&, VectorType&, bool, const dealii::hp::QCollection<(dim - 1)>&, bool)’
  863 |   void project (const hp::DoFHandler<dim,spacedim> &dof,
      |        ^~~~~~~
/usr/local/include/deal.II/numerics/vector_tools.h:863:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:796:24: note:   ‘dealii::Quadrature<2>’ is not derived from ‘const dealii::hp::QCollection<dim>’
  796 |    VectorTools::project(dof_handler,
      |    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  797 |                constraints,
      |                ~~~~~~~~~~~~
  798 |          quadrature_collection,
      |          ~~~~~~~~~~~~~~~~~~~~~~
  799 |          initial_condition,
      |          ~~~~~~~~~~~~~~~~~~
  800 |          old_solution,
      |          ~~~~~~~~~~~~~  
  801 |          false,
      |          ~~~~~~         
  802 |          face_quadrature_collection);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pushkar/examples/step-26/step-26.cc:44:
/usr/local/include/deal.II/numerics/vector_tools.h:896:8: note: candidate: ‘template<int dim, class VectorType, int spacedim> void dealii::VectorTools::project(const dealii::Mapping<dim, spacedim>&, const dealii::DoFHandler<dim, spacedim>&, const dealii::ConstraintMatrix&, const dealii::Quadrature<dim>&, const std::function<typename VectorType::value_type(const typename dealii::DoFHandler<dim, spacedim>::active_cell_iterator&, unsigned int)>&, VectorType&)’
  896 |   void project (const Mapping<dim, spacedim>   &mapping,
      |        ^~~~~~~
/usr/local/include/deal.II/numerics/vector_tools.h:896:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:796:24: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::Mapping<dim, spacedim>’
  796 |    VectorTools::project(dof_handler,
      |    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  797 |                constraints,
      |                ~~~~~~~~~~~~
  798 |          quadrature_collection,
      |          ~~~~~~~~~~~~~~~~~~~~~~
  799 |          initial_condition,
      |          ~~~~~~~~~~~~~~~~~~
  800 |          old_solution,
      |          ~~~~~~~~~~~~~  
  801 |          false,
      |          ~~~~~~         
  802 |          face_quadrature_collection);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pushkar/examples/step-26/step-26.cc:44:
/usr/local/include/deal.II/numerics/vector_tools.h:928:8: note: candidate: ‘template<int dim, class VectorType> void dealii::VectorTools::project(std::shared_ptr<const dealii::MatrixFree<dim, typename VectorType::value_type> >, const dealii::ConstraintMatrix&, unsigned int, const std::function<dealii::VectorizedArray<typename VectorType::value_type>(unsigned int, unsigned int)>&, VectorType&, unsigned int)’
  928 |   void project (std::shared_ptr<const MatrixFree<dim,typename VectorType::value_type> > data,
      |        ^~~~~~~
/usr/local/include/deal.II/numerics/vector_tools.h:928:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:796:24: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘std::shared_ptr<const dealii::MatrixFree<dim, typename VectorType::value_type> >’
  796 |    VectorTools::project(dof_handler,
      |    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  797 |                constraints,
      |                ~~~~~~~~~~~~
  798 |          quadrature_collection,
      |          ~~~~~~~~~~~~~~~~~~~~~~
  799 |          initial_condition,
      |          ~~~~~~~~~~~~~~~~~~
  800 |          old_solution,
      |          ~~~~~~~~~~~~~  
  801 |          false,
      |          ~~~~~~         
  802 |          face_quadrature_collection);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pushkar/examples/step-26/step-26.cc:44:
/usr/local/include/deal.II/numerics/vector_tools.h:939:8: note: candidate: ‘template<int dim, class VectorType> void dealii::VectorTools::project(std::shared_ptr<const dealii::MatrixFree<dim, typename VectorType::value_type> >, const dealii::ConstraintMatrix&, const std::function<dealii::VectorizedArray<typename VectorType::value_type>(unsigned int, unsigned int)>&, VectorType&, unsigned int)’
  939 |   void project (std::shared_ptr<const MatrixFree<dim,typename VectorType::value_type> > data,
      |        ^~~~~~~
/usr/local/include/deal.II/numerics/vector_tools.h:939:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:796:24: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘std::shared_ptr<const dealii::MatrixFree<dim, typename VectorType::value_type> >’
  796 |    VectorTools::project(dof_handler,
      |    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  797 |                constraints,
      |                ~~~~~~~~~~~~
  798 |          quadrature_collection,
      |          ~~~~~~~~~~~~~~~~~~~~~~
  799 |          initial_condition,
      |          ~~~~~~~~~~~~~~~~~~
  800 |          old_solution,
      |          ~~~~~~~~~~~~~  
  801 |          false,
      |          ~~~~~~         
  802 |          face_quadrature_collection);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/deal.II/dofs/dof_handler.h:32,
                 from /home/pushkar/examples/step-26/step-26.cc:38:
/usr/local/include/deal.II/hp/fe_collection.h: In instantiation of ‘dealii::hp::FECollection<dim, spacedim>::FECollection(const FETypes& ...) [with FETypes = {int}; int dim = 2; int spacedim = 2]’:
/home/pushkar/examples/step-26/step-26.cc:217:10:   required from ‘Step26::HeatEquation<dim>::HeatEquation() [with int dim = 2]’
/home/pushkar/examples/step-26/step-26.cc:1023:23:   required from here
/usr/local/include/deal.II/hp/fe_collection.h:469:77: error: static assertion failed: Not all of the input arguments of this function are derived from FiniteElement<dim,spacedim>!
  469 | rt(is_base_of_all<FiniteElement<dim, spacedim>, FETypes...>::value,
      |                                                              ^~~~~

/usr/local/include/deal.II/hp/fe_collection.h:478:7: error: cannot convert ‘const int’ to ‘const dealii::FiniteElement<2, 2>&’
  478 |       push_back (*p);
      |       ^~~~~~~~~
/usr/local/include/deal.II/hp/fe_collection.h:124:56: note:   initializing argument 1 of ‘void dealii::hp::FECollection<dim, spacedim>::push_back(const dealii::FiniteElement<dim, spacedim>&) [with int dim = 2; int spacedim = 2]’
  124 |     void push_back (const FiniteElement<dim,spacedim> &new_fe);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/home/pushkar/examples/step-26/step-26.cc: In instantiation of ‘void Step26::HeatEquation<dim>::setup_system() [with int dim = 2]’:
/home/pushkar/examples/step-26/step-26.cc:787:4:   required from ‘void Step26::HeatEquation<dim>::run() [with int dim = 2]’
/home/pushkar/examples/step-26/step-26.cc:1024:32:   required from here
/home/pushkar/examples/step-26/step-26.cc:269:36: error: no matching function for call to ‘create_mass_matrix(dealii::hp::DoFHandler<2, 2>&, dealii::Quadrature<2>&, dealii::SparseMatrix<double>&, const dealii::Function<2, double>*, dealii::ConstraintMatrix&)’
  269 |   MatrixCreator::create_mass_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  270 |                        quadrature_collection,
      |                        ~~~~~~~~~~~~~~~~~~~~~~
  271 |          mass_matrix,
      |          ~~~~~~~~~~~~               
  272 |          (const Function<dim> *)0,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~  
  273 |          constraints);
      |          ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:239:8: note: candidate: ‘template<int dim, int spacedim, class number> void dealii::MatrixCreator::create_mass_matrix(const dealii::Mapping<dim, spacedim>&, const dealii::DoFHandler<dim, spacedim>&, const dealii::Quadrature<dim>&, dealii::SparseMatrix<number>&, const dealii::Function<spacedim, number>*, const dealii::ConstraintMatrix&)’
  239 |   void create_mass_matrix (const Mapping<dim, spacedim>       &mapping,
      |        ^~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:239:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:269:36: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::Mapping<dim, spacedim>’
  269 |   MatrixCreator::create_mass_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  270 |                        quadrature_collection,
      |                        ~~~~~~~~~~~~~~~~~~~~~~
  271 |          mass_matrix,
      |          ~~~~~~~~~~~~               
  272 |          (const Function<dim> *)0,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~  
  273 |          constraints);
      |          ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:251:8: note: candidate: ‘template<int dim, int spacedim, class number> void dealii::MatrixCreator::create_mass_matrix(const dealii::DoFHandler<dim, spacedim>&, const dealii::Quadrature<dim>&, dealii::SparseMatrix<number>&, const dealii::Function<spacedim, number>*, const dealii::ConstraintMatrix&)’
  251 |   void create_mass_matrix (const DoFHandler<dim,spacedim>    &dof,
      |        ^~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:251:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:269:36: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::DoFHandler<dim, spacedim>’
  269 |   MatrixCreator::create_mass_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  270 |                        quadrature_collection,
      |                        ~~~~~~~~~~~~~~~~~~~~~~
  271 |          mass_matrix,
      |          ~~~~~~~~~~~~               
  272 |          (const Function<dim> *)0,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~  
  273 |          constraints);
      |          ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:277:8: note: candidate: ‘template<int dim, int spacedim, class number> void dealii::MatrixCreator::create_mass_matrix(const dealii::Mapping<dim, spacedim>&, const dealii::DoFHandler<dim, spacedim>&, const dealii::Quadrature<dim>&, dealii::SparseMatrix<typename dealii::numbers::NumberTraits<Number>::real_type>&, const dealii::Function<spacedim, number>&, dealii::Vector<number>&, const dealii::Function<spacedim, typename dealii::numbers::NumberTraits<Number>::real_type>*, const dealii::ConstraintMatrix&)’
  277 |   void create_mass_matrix (const Mapping<dim, spacedim>   &mapping,
      |        ^~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:277:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:269:36: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::Mapping<dim, spacedim>’
  269 |   MatrixCreator::create_mass_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  270 |                        quadrature_collection,
      |                        ~~~~~~~~~~~~~~~~~~~~~~
  271 |          mass_matrix,
      |          ~~~~~~~~~~~~               
  272 |          (const Function<dim> *)0,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~  
  273 |          constraints);
      |          ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:291:8: note: candidate: ‘template<int dim, int spacedim, class number> void dealii::MatrixCreator::create_mass_matrix(const dealii::DoFHandler<dim, spacedim>&, const dealii::Quadrature<dim>&, dealii::SparseMatrix<typename dealii::numbers::NumberTraits<Number>::real_type>&, const dealii::Function<spacedim, number>&, dealii::Vector<number>&, const dealii::Function<spacedim, typename dealii::numbers::NumberTraits<Number>::real_type>*, const dealii::ConstraintMatrix&)’
  291 |   void create_mass_matrix (const DoFHandler<dim,spacedim> &dof,
      |        ^~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:291:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:269:36: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::DoFHandler<dim, spacedim>’
  269 |   MatrixCreator::create_mass_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  270 |                        quadrature_collection,
      |                        ~~~~~~~~~~~~~~~~~~~~~~
  271 |          mass_matrix,
      |          ~~~~~~~~~~~~               
  272 |          (const Function<dim> *)0,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~  
  273 |          constraints);
      |          ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:303:8: note: candidate: ‘template<int dim, int spacedim, class number> void dealii::MatrixCreator::create_mass_matrix(const dealii::hp::MappingCollection<dim, spacedim>&, const dealii::hp::DoFHandler<dim, spacedim>&, const dealii::hp::QCollection<dim>&, dealii::SparseMatrix<number>&, const dealii::Function<spacedim, number>*, const dealii::ConstraintMatrix&)’
  303 |   void create_mass_matrix (const hp::MappingCollection<dim,spacedim>       &mapping,
      |        ^~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:303:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:269:36: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::hp::MappingCollection<dim, spacedim>’
  269 |   MatrixCreator::create_mass_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  270 |                        quadrature_collection,
      |                        ~~~~~~~~~~~~~~~~~~~~~~
  271 |          mass_matrix,
      |          ~~~~~~~~~~~~               
  272 |          (const Function<dim> *)0,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~  
  273 |          constraints);
      |          ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:314:8: note: candidate: ‘template<int dim, int spacedim, class number> void dealii::MatrixCreator::create_mass_matrix(const dealii::hp::DoFHandler<dim, spacedim>&, const dealii::hp::QCollection<dim>&, dealii::SparseMatrix<number>&, const dealii::Function<spacedim, number>*, const dealii::ConstraintMatrix&)’
  314 |   void create_mass_matrix (const hp::DoFHandler<dim,spacedim>    &dof,
      |        ^~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:314:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:269:36: note:   ‘dealii::Quadrature<2>’ is not derived from ‘const dealii::hp::QCollection<dim>’
  269 |   MatrixCreator::create_mass_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  270 |                        quadrature_collection,
      |                        ~~~~~~~~~~~~~~~~~~~~~~
  271 |          mass_matrix,
      |          ~~~~~~~~~~~~               
  272 |          (const Function<dim> *)0,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~  
  273 |          constraints);
      |          ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:324:8: note: candidate: ‘template<int dim, int spacedim, class number> void dealii::MatrixCreator::create_mass_matrix(const dealii::hp::MappingCollection<dim, spacedim>&, const dealii::hp::DoFHandler<dim, spacedim>&, const dealii::hp::QCollection<dim>&, dealii::SparseMatrix<typename dealii::numbers::NumberTraits<Number>::real_type>&, const dealii::Function<spacedim, number>&, dealii::Vector<number>&, const dealii::Function<spacedim, typename dealii::numbers::NumberTraits<Number>::real_type>*, const dealii::ConstraintMatrix&)’
  324 |   void create_mass_matrix (const hp::MappingCollection<dim,spacedim> &mapping,
      |        ^~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:324:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:269:36: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::hp::MappingCollection<dim, spacedim>’
  269 |   MatrixCreator::create_mass_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  270 |                        quadrature_collection,
      |                        ~~~~~~~~~~~~~~~~~~~~~~
  271 |          mass_matrix,
      |          ~~~~~~~~~~~~               
  272 |          (const Function<dim> *)0,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~  
  273 |          constraints);
      |          ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:337:8: note: candidate: ‘template<int dim, int spacedim, class number> void dealii::MatrixCreator::create_mass_matrix(const dealii::hp::DoFHandler<dim, spacedim>&, const dealii::hp::QCollection<dim>&, dealii::SparseMatrix<typename dealii::numbers::NumberTraits<Number>::real_type>&, const dealii::Function<spacedim, number>&, dealii::Vector<number>&, const dealii::Function<spacedim, typename dealii::numbers::NumberTraits<Number>::real_type>*, const dealii::ConstraintMatrix&)’
  337 |   void create_mass_matrix (const hp::DoFHandler<dim,spacedim> &dof,
      |        ^~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:337:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:269:36: note:   ‘dealii::Quadrature<2>’ is not derived from ‘const dealii::hp::QCollection<dim>’
  269 |   MatrixCreator::create_mass_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  270 |                        quadrature_collection,
      |                        ~~~~~~~~~~~~~~~~~~~~~~
  271 |          mass_matrix,
      |          ~~~~~~~~~~~~               
  272 |          (const Function<dim> *)0,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~  
  273 |          constraints);
      |          ~~~~~~~~~~~~               
/home/pushkar/examples/step-26/step-26.cc:276:39: error: no matching function for call to ‘create_laplace_matrix(dealii::hp::DoFHandler<2, 2>&, dealii::Quadrature<2>&, dealii::SparseMatrix<double>&, const dealii::Function<2, double>*, dealii::ConstraintMatrix&)’
  276 |   MatrixCreator::create_laplace_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  277 |                           quadrature_collection,
      |                           ~~~~~~~~~~~~~~~~~~~~~~
  278 |             laplace_matrix,
      |             ~~~~~~~~~~~~~~~            
  279 |             (const Function<dim> *)0,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~  
  280 |             constraints);
      |             ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:444:8: note: candidate: ‘template<int dim, int spacedim> void dealii::MatrixCreator::create_laplace_matrix(const dealii::Mapping<dim, spacedim>&, const dealii::DoFHandler<dim, spacedim>&, const dealii::Quadrature<dim>&, dealii::SparseMatrix<double>&, const dealii::Function<spacedim>*, const dealii::ConstraintMatrix&)’
  444 |   void create_laplace_matrix (const Mapping<dim, spacedim>   &mapping,
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:444:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:276:39: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::Mapping<dim, spacedim>’
  276 |   MatrixCreator::create_laplace_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  277 |                           quadrature_collection,
      |                           ~~~~~~~~~~~~~~~~~~~~~~
  278 |             laplace_matrix,
      |             ~~~~~~~~~~~~~~~            
  279 |             (const Function<dim> *)0,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~  
  280 |             constraints);
      |             ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:456:8: note: candidate: ‘template<int dim, int spacedim> void dealii::MatrixCreator::create_laplace_matrix(const dealii::DoFHandler<dim, spacedim>&, const dealii::Quadrature<dim>&, dealii::SparseMatrix<double>&, const dealii::Function<spacedim>*, const dealii::ConstraintMatrix&)’
  456 |   void create_laplace_matrix (const DoFHandler<dim,spacedim> &dof,
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:456:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:276:39: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::DoFHandler<dim, spacedim>’
  276 |   MatrixCreator::create_laplace_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  277 |                           quadrature_collection,
      |                           ~~~~~~~~~~~~~~~~~~~~~~
  278 |             laplace_matrix,
      |             ~~~~~~~~~~~~~~~            
  279 |             (const Function<dim> *)0,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~  
  280 |             constraints);
      |             ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:481:8: note: candidate: ‘template<int dim, int spacedim> void dealii::MatrixCreator::create_laplace_matrix(const dealii::Mapping<dim, spacedim>&, const dealii::DoFHandler<dim, spacedim>&, const dealii::Quadrature<dim>&, dealii::SparseMatrix<double>&, const dealii::Function<spacedim>&, dealii::Vector<double>&, const dealii::Function<spacedim>*, const dealii::ConstraintMatrix&)’
  481 |   void create_laplace_matrix (const Mapping<dim, spacedim>   &mapping,
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:481:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:276:39: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::Mapping<dim, spacedim>’
  276 |   MatrixCreator::create_laplace_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  277 |                           quadrature_collection,
      |                           ~~~~~~~~~~~~~~~~~~~~~~
  278 |             laplace_matrix,
      |             ~~~~~~~~~~~~~~~            
  279 |             (const Function<dim> *)0,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~  
  280 |             constraints);
      |             ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:495:8: note: candidate: ‘template<int dim, int spacedim> void dealii::MatrixCreator::create_laplace_matrix(const dealii::DoFHandler<dim, spacedim>&, const dealii::Quadrature<dim>&, dealii::SparseMatrix<double>&, const dealii::Function<spacedim>&, dealii::Vector<double>&, const dealii::Function<spacedim>*, const dealii::ConstraintMatrix&)’
  495 |   void create_laplace_matrix (const DoFHandler<dim,spacedim> &dof,
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:495:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:276:39: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::DoFHandler<dim, spacedim>’
  276 |   MatrixCreator::create_laplace_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  277 |                           quadrature_collection,
      |                           ~~~~~~~~~~~~~~~~~~~~~~
  278 |             laplace_matrix,
      |             ~~~~~~~~~~~~~~~            
  279 |             (const Function<dim> *)0,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~  
  280 |             constraints);
      |             ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:508:8: note: candidate: ‘template<int dim, int spacedim> void dealii::MatrixCreator::create_laplace_matrix(const dealii::hp::MappingCollection<dim, spacedim>&, const dealii::hp::DoFHandler<dim, spacedim>&, const dealii::hp::QCollection<dim>&, dealii::SparseMatrix<double>&, const dealii::Function<spacedim>*, const dealii::ConstraintMatrix&)’
  508 |   void create_laplace_matrix (const hp::MappingCollection<dim,spacedim> &mapping,
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:508:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:276:39: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::hp::MappingCollection<dim, spacedim>’
  276 |   MatrixCreator::create_laplace_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  277 |                           quadrature_collection,
      |                           ~~~~~~~~~~~~~~~~~~~~~~
  278 |             laplace_matrix,
      |             ~~~~~~~~~~~~~~~            
  279 |             (const Function<dim> *)0,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~  
  280 |             constraints);
      |             ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:520:8: note: candidate: ‘template<int dim, int spacedim> void dealii::MatrixCreator::create_laplace_matrix(const dealii::hp::DoFHandler<dim, spacedim>&, const dealii::hp::QCollection<dim>&, dealii::SparseMatrix<double>&, const dealii::Function<spacedim>*, const dealii::ConstraintMatrix&)’
  520 |   void create_laplace_matrix (const hp::DoFHandler<dim,spacedim> &dof,
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:520:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:276:39: note:   ‘dealii::Quadrature<2>’ is not derived from ‘const dealii::hp::QCollection<dim>’
  276 |   MatrixCreator::create_laplace_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  277 |                           quadrature_collection,
      |                           ~~~~~~~~~~~~~~~~~~~~~~
  278 |             laplace_matrix,
      |             ~~~~~~~~~~~~~~~            
  279 |             (const Function<dim> *)0,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~  
  280 |             constraints);
      |             ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:531:8: note: candidate: ‘template<int dim, int spacedim> void dealii::MatrixCreator::create_laplace_matrix(const dealii::hp::MappingCollection<dim, spacedim>&, const dealii::hp::DoFHandler<dim, spacedim>&, const dealii::hp::QCollection<dim>&, dealii::SparseMatrix<double>&, const dealii::Function<spacedim>&, dealii::Vector<double>&, const dealii::Function<spacedim>*, const dealii::ConstraintMatrix&)’
  531 |   void create_laplace_matrix (const hp::MappingCollection<dim,spacedim> &mapping,
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:531:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:276:39: note:   ‘dealii::hp::DoFHandler<2, 2>’ is not derived from ‘const dealii::hp::MappingCollection<dim, spacedim>’
  276 |   MatrixCreator::create_laplace_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  277 |                           quadrature_collection,
      |                           ~~~~~~~~~~~~~~~~~~~~~~
  278 |             laplace_matrix,
      |             ~~~~~~~~~~~~~~~            
  279 |             (const Function<dim> *)0,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~  
  280 |             constraints);
      |             ~~~~~~~~~~~~               
In file included from /home/pushkar/examples/step-26/step-26.cc:47:
/usr/local/include/deal.II/numerics/matrix_tools.h:545:8: note: candidate: ‘template<int dim, int spacedim> void dealii::MatrixCreator::create_laplace_matrix(const dealii::hp::DoFHandler<dim, spacedim>&, const dealii::hp::QCollection<dim>&, dealii::SparseMatrix<double>&, const dealii::Function<spacedim>&, dealii::Vector<double>&, const dealii::Function<spacedim>*, const dealii::ConstraintMatrix&)’
  545 |   void create_laplace_matrix (const hp::DoFHandler<dim,spacedim> &dof,
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/deal.II/numerics/matrix_tools.h:545:8: note:   template argument deduction/substitution failed:
/home/pushkar/examples/step-26/step-26.cc:276:39: note:   ‘dealii::Quadrature<2>’ is not derived from ‘const dealii::hp::QCollection<dim>’
  276 |   MatrixCreator::create_laplace_matrix(dof_handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  277 |                           quadrature_collection,
      |                           ~~~~~~~~~~~~~~~~~~~~~~
  278 |             laplace_matrix,
      |             ~~~~~~~~~~~~~~~            
  279 |             (const Function<dim> *)0,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~  
  280 |             constraints);
      |             ~~~~~~~~~~~~               
/home/pushkar/examples/step-26/step-26.cc: In instantiation of ‘double Step26::BoundaryValues<dim>::value(const dealii::Point<dim>&, unsigned int) const [with int dim = 2]’:
/home/pushkar/examples/step-26/step-26.cc:145:10:   required from here
/home/pushkar/examples/step-26/step-26.cc:145:56: warning: unused parameter ‘p’ [-Wunused-parameter]
  145 |   double BoundaryValues<dim>::value (const Point<dim> &p,
      |                                      ~~~~~~~~~~~~~~~~~~^
/home/pushkar/examples/step-26/step-26.cc: In instantiation of ‘double Step26::InitialCondition<dim>::value(const dealii::Point<dim>&, unsigned int) const [with int dim = 2]’:
/home/pushkar/examples/step-26/step-26.cc:138:10:   required from here
/home/pushkar/examples/step-26/step-26.cc:138:58: warning: unused parameter ‘p’ [-Wunused-parameter]
  138 |   double InitialCondition<dim>::value (const Point<dim> &p,
      |                                        ~~~~~~~~~~~~~~~~~~^
make[2]: *** [CMakeFiles/step-26.dir/build.make:82: CMakeFiles/step-26.dir/step-26.cc.o] Error 1

make[1]: *** [CMakeFiles/Makefile2:183: CMakeFiles/step-26.dir/all] Error 2
make: *** [Makefile:103: all] Error 2

In this regard , Any header will be beneficial.

Bruno Turcksin

unread,
Dec 4, 2020, 8:45:18 AM12/4/20
to deal.II User Group
Pushkar,

Have you done any modifications to step-26?

Best,

Bruno

Pushkar Pandit

unread,
Dec 4, 2020, 10:27:26 AM12/4/20
to dea...@googlegroups.com
Certainly I have modified the step-26 to simulate thermal profile in additively manufactured part using birth technique, as I reproduced the work of Claire Bruna-Rosso in which she has used deal.II for the simulation of additive manufacturing process . Eventually I understand there will be lot of errors in it but it presents a unique opportunity to understand the inner working of deal.II in the process of debugging each error . I hope to get active guidance from deal.II community in this process.

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/19316f49-ab0a-427b-a6c0-8fe85ecd0bf5n%40googlegroups.com.

Wolfgang Bangerth

unread,
Dec 4, 2020, 11:35:40 AM12/4/20
to dea...@googlegroups.com
On 12/4/20 3:16 AM, pushkar...@gmail.com wrote:
> Well that was not a problem it was my silly mistake that I for some reason
> commented out the main() function in hurry and raninto such an error but now I
> encountered other errors while compilation as :

Pushkar,
what is your specific question? Start with reading through the error messages
(and also the warnings!) top to bottom and address them one-by-one. The
compiler actually provides you with fairly good descriptions of what is wrong.

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Reply all
Reply to author
Forward
0 new messages