On 2/14/23 07:15, 'yy.wayne' via deal.II User Group wrote:
The weak problem I'm solving isĀ  <curl u, curl u> + <div u, div u> - k^2<u, u> = RHS, which is vector Maxwell wave equation (for nodal basis).
[...]
1) Is it reasonable the diagonal computed by MatrixFree operator with compute_normal_flux() has negative entries?

The diagonal entries of the matrix, for this bilinear form, are integrals of the form

  A_ii = \int (curl phi_i)*(curl phi_i) + (div phi_i)*(div phi_i)
                  - k^2 phi_i * phi_i

In other words, A_ii is a sum of squares, but one of the squares is negative. If k is small, the sum may still be positive, but for sure if k is large, the diagonal entries of A will be negative.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/cccf476e-3347-721e-eeab-e1be59589ea3%40colostate.edu.

Reply via email to