>
> Michal, 
> the error is in your code, but since I don't have it, I can't tell 
> where. I suspect that you are trying to copy an object of type 
> Multigrid, in StokeMatrixFree/StokesMatrixFree.cc:34 of your project. 
> This copy may happen implicitly if you call a function that takes a 
> Multigrid object by value, rather than by reference. (Or does so for an 
> object that has a Multigrid object as a member variable.) 
>
> Best 
>   W. 
>

Yep, I am trying to copy Multigrid object on purpose, I found the line 
corresponding to the  problem:
Line 762:
  std::vector<Multigrid<LevelVectorType > >  
multigrids_sc(triangulation.n_global_levels(),
  mg_sc);

 I need a vector of objects of type Multigrid, how can I fix this?

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to