Still working on modified step-35, but now starting the modification by 
Muhammad Mohebujjaman.

https://github.com/Mohebujjaman/Projection-Method-for-NSE

I want to resolve the issue of the iterators defined here:






















*template <int 
dim>voidNavierStokesProjection<dim>::assemble_one_cell_of_gradient (const 
IteratorPair &SI,                                InitGradScratchData 
&scratch,                                InitGradPerTaskData &data){  
scratch.fe_val_vel.reinit (std::get<0> (SI.iterators));  
scratch.fe_val_pres.reinit (std::get<1> (SI.iterators));  std::get<0> 
(SI.iterators)->get_dof_indices (data.vel_local_dof_indices);  std::get<1> 
(SI.iterators)->get_dof_indices (data.pres_local_dof_indices);  
data.local_grad = 0.;  Vector<double> rhs_vector (dim);    for (unsigned 
int q=0; q<scratch.nqp; ++q)      {        for (unsigned int i=0; 
i<data.vel_dpc; ++i)          for (unsigned int j=0; j<data.pres_dpc; ++j)  
          data.local_grad (i, j) += -scratch.fe_val_vel.JxW(q) *            
                          scratch.fe_val_vel.shape_grad (i, q)[data.d] *    
                                  scratch.fe_val_pres.shape_value (j, q);  
    }  }*
 
which are giving me the errors attached in the file *errors.txt*

My attention is to fix the parts highlighted in red above.

On Wednesday, 4 August 2021 at 16:05:43 UTC+2 Wolfgang Bangerth wrote:

> On 8/4/21 4:20 AM, SebG wrote:
> > 
> > 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.
>
> Maybe a better option would be the code gallery:
> https://dealii.org/code-gallery
> It would relatively straightforward to get it in there.
>
> Over the past few years, we've started to think of the tutorial more in 
> terms 
> as a place where we *teach deal.II*, and so we tried to focus on programs 
> that 
> illustrate specific aspects of deal.II rather than just a landing pad for 
> general deal.II-based programs. The latter should go into the code gallery 
> instead. Want to give that a try?
>
> Best
> W.
>
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: [email protected]
> www: http://www.math.colostate.edu/~bangerth/
>
>
-- 




The information in this message is confidential and legally
privileged. 
It is intended solely for the addressee(s). Access to this message
by 
anyone else is unauthorized. If received in error, please accept our 
apologies
and notify the sender immediately. You must also delete the 
original message
from your machine. If you are not the intended recipient, 
any use, disclosure,
copying, distribution or action taken in reliance of 
it, is prohibited and may
be unlawful. The information, attachments, 
opinions or advice contained in this
email are not the views or opinions of 
Harare Institute of Technology, its
subsidiaries or affiliates. Although 
this email and any attachments are
believed to be free of any virus or 
other defects which might affect any
computer or IT system into which they 
are received, no responsibility is
accepted by Harare Institute of 
Technology and/or its subsidiaries for any loss
or damage arising in any 
way from the receipt or use thereof.

-- 
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/07f96d0c-ccc5-4ae8-b824-76e635130228n%40googlegroups.com.

Attachment: errors
Description: Binary data

Reply via email to