Closed litaihe closed 8 months ago
Your fix is technically correct, since the Neumann type BC counts the ND0 bases' coeffs on boundary edges as DoF (not fixed values), there is no BdNode
(fixed valued nodes) and all the nodes on the boundary should go into the transfer matrix.
However, a better coding practice is to set isBdNode
outside the if-else conditionals in front of the lines 24
Please submit a PR to fix this following my suggestion, is possible, please include your university/advisor and what project you are currently working on using ifem.
Fixed in #12
when I run the example\fem\Maxwell\Maxwell3ND0femrate.m, the fellowing error will appear
this error will be resolved when I make the following changes to the file solver/gradmatrix.m
is the modification reasonable? thank you.