Dear all,

a colleague and I have also worked with step-35 and we programmed a 
parallelized version whose layout is similar to that of step-32. Currently, 
the code is not suitable to be directly used as a tutorial, but, if you are 
interested, we could refactor it and send it through github as a step-35b.

Best wishes,
Sebastian
Wolfgang Bangerth schrieb am Montag, 12. Juli 2021 um 15:03:54 UTC+2:

> On 7/12/21 12:59 AM, andrew jack urombo wrote:
> > The error I am trying to have suggestions to fix is:
> > 
> > //home/dealii/dealii/examples/step-35a/step-35a.cc: In member function 
> ‘void 
> > Step35a::NavierStokesProjection<dim>::refine_mesh(unsigned int, unsigned 
> int)’://
> > ///home/dealii/dealii/examples/step-35a/step-35a.cc:1057:5: error: there 
> are 
> > no arguments to ‘setup_system’ that depend on a template parameter, so a 
> > declaration of ‘setup_system’ must be available [-fpermissive]//
> > // 1057 |     setup_system();//
> > //      |     ^~~~~~~~~~~~//
>
> Andrew -- you are trying to call a function setup_system(), but your 
> program 
> has no such function. The other errors are all of the same kind: You seem 
> to 
> have copied code from another tutorial program, but it doesn't apply in 
> the 
> case of step-35.
>
> It is like copying a paragraph of the works of Charles Mungoshi verbatim 
> into 
> a novel of Hamutyinei: It doesn't work. It requires understanding both 
> works, 
> the context of both where the paragraph is taken from, and where it is 
> put, 
> and then adaptation to the language, the characters, and the story of the 
> place where you want to put it. It is no different if you want to take 
> code 
> from one program and add it to another one.
>
> Best
> Wolfgang
>
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: [email protected]
> www: http://www.math.colostate.edu/~bangerth/
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/439a0be4-6d7f-4485-b79a-9a93330c22bdn%40googlegroups.com.

Reply via email to