-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug for wave ports #192
Conversation
b004c15
to
c178e8d
Compare
…mentation for improved eigenvalue solver convergence
1299a5a
to
4eb81df
Compare
auto Dnn = std::make_unique<mfem::HypreParMatrix>( | ||
port_h1_fespace->GetComm(), port_h1_fespace->Get().GlobalTrueVSize(), | ||
port_h1_fespace->Get().GetTrueDofOffsets(), &diag); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see Dtt
on the previous diff and Dnn
now, but am not seeing it in the block system above. From here it looks like an empty matrix with a diagonal of zeros, is this just to ensure some memory in the system matrix for applying the essential bc elimination? I assume then this is the reason for the difference compared to the nullptr
initialization for the off diagonal blocks of B in GetSystemMatrixB
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's right. HypreParMatrixFromBlocks
does not allow for a fully empty row or column so that it can generate the right block sizes from the input. So, we just explicitly pass a zero diagonal block for Bnn
.
e4b66a9
to
500a396
Compare
500a396
to
0d1d79e
Compare
…g boundary mode solve
\beta = 0
.Note: The re-baselined regression tests for
cpw/cpw_wave_uniform
andcpw/cpw_wave_adaptive
are expected: The quadrature rule fix changes the computed mode shape slightly which affects both the propagation constant as well as the excitation of the model in the driven solve. The changes (all seem to be on the order of a few percent) seem justified in this regard.