Calculating current in node. Maybe it should be on edge. Need to check.

This commit is contained in:
Jorge Gonzalez 2026-04-07 12:28:29 +02:00
commit 40163a0056
2 changed files with 37 additions and 0 deletions

View file

@ -1361,6 +1361,16 @@ MODULE moduleInput
end do
type is(boundaryEMFloating)
! Loop over all physical surfaces
do ps = 1, nPhysicalSurfaces
! If the boundary for the species is linked to the one analysing, add the edges
if (associated(physicalSurfaces(ps)%EM, bound)) then
bound%nodes = [bound%nodes, physicalSurfaces(ps)%nodes]
end if
end do
end select
bound%nNodes = size(bound%nodes)