On 08/01/2018 03:34 PM, RAJAT ARORA wrote:

If I understand correctly, I dont think that will work. The reason is because of the Dirichlet boundary conditions, the value of the rhs at those nodes is unknown until you solve for the system.

I think it's unclear to me what exactly you want in these entries. What you suggest here is that in entry 'i' of a rhs vector (where 'i' is a boundary DoF) you want the correct value U_i of the solution at this node.

But in general, the 'i'th entry of the rhs vector (for any other 'i') contains the integral
  rhs_i   =  \int  \phi_i(x)  f(x)  dx

So can you describe, in mathematical terms, what exactly you are looking for? Or, maybe even better, what you want to do with this information?

Best
 W.


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

Reply via email to