On 10/12/21 7:31 AM, Мария Бронзова wrote:

The problem is that the real part gets perfectly assigned, whereas the imaginary value is ignored completely, even though I was trying to prescribe a zero value. In the results of calculation i get everything possible, rather than zero.

Maria,
then it's time to debug :-) After the call to interpolate_boundary_values(), are the values in the 'boundary_values' map correct? After the call to apply_boundary_values(), are the values in the 'solution' vector correct? (You can use DataOut to output the solution vector at this point to look at it graphically.) What are the values in 'solution' after solving?

If you can't figure out what is wrong, can you shrink your program to the minimal necessary to illustrate what you are seeing?

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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/9b4a9060-c5de-bfe7-5d2c-636b7754bf5e%40colostate.edu.

Reply via email to