Hamed 2016-07-12 15:10 GMT-04:00 Hamed Babaei <hamedbabae...@gmail.com>:
> > I was wondering if I should use the rhs_vector when assembling the > cell_rhs as follows: > > cell_rhs(i) += (rhs_vector(i) * fe_values.JxW (q)); > > or do something else. would you be able to give me part of a sample code > where this function has been used? > No the function should create the final rhs. If you have several points, you can add the multiple vectors you get. There are also older threads that talk about the same problem: https://groups.google.com/forum/#!searchin/dealii/point$20source/dealii/4RNxAZfQQqo/5859DhfNrfUJ https://groups.google.com/forum/#!searchin/dealii/dirac/dealii/HTcSxhnzc5s/jDTMErSICAAJ Best, Bruno -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.