Arezou-gh / Stokes_hp

0 stars 1 forks source link

Fix compilation errors. #5

Closed Rombur closed 9 years ago

Arezou-gh commented 9 years ago

I just saw your push in git after checking in mine ...

1) I am seeing you changed the Vector type to instead of . why is that so?

2) If you did not changed anything but this float one and also declaring Vector marked_cells(triangulation.n_active_cells()); in function run... then I can do that.

3) You can see in the code, that I did change the order of functions postprocess() and the output_results(). because this time I need the output of postprocess which is marked_cells to be printed in output_results().

4) Now I am getting this error:

Linking CXX executable Stokes CMakeFiles/Stokes.dir/StokesProblem.cc.o: In function `StokesProblem<2>::output_results(unsigned int)':

/u/aghesmati/Documents/Spring2014/Implementation_Stokes/StokesProblem .cc:1451: undefined reference to `void dealii::DataOut_DoFData<dealii::hp::DoFHandler<2, 2>, 2, 2>::add_data_vectordealii::Vector(dealii::Vector const&, std::basic_string<char, std::char_traits, std::allocator > const&, dealii::DataOut_DoFData<dealii::hp::DoFHandler<2, 2>, 2, 2>::DataVectorType, std::vector<dealii::DataComponentInterpretation::DataComponentInterpretation, std::allocator

const&)' CMakeFiles/Stokes.dir/StokesProblem.cc.o: In function dealii::Vector<int>::reinit(unsigned int, bool)': /w/aghesmati/dealII_install/include/deal.II/lac/vector.h:1213: undefined reference todealii::Vector::operator=(int)'

Thanks,

On Thu, Nov 13, 2014 at 2:17 PM, Bruno Turcksin notifications@github.com wrote:


You can merge this Pull Request by running

git pull https://github.com/Rombur/Stokes_hp master

Or view, comment on, or merge it at:

https://github.com/Arezou-gh/Stokes_hp/pull/5 Commit Summary

  • Fix compilation errors.

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/Arezou-gh/Stokes_hp/pull/5.