All EM boundaries should contain the nodes they apply to, regardless of the type
This commit is contained in:
parent
3275ccc3c2
commit
fa5f037d41
1 changed files with 7 additions and 33 deletions
|
|
@ -1346,40 +1346,14 @@ MODULE moduleInput
|
||||||
! EM Boundaries
|
! EM Boundaries
|
||||||
do b = 1, nBoundariesEM
|
do b = 1, nBoundariesEM
|
||||||
associate(bound => boundariesEM(b)%obj)
|
associate(bound => boundariesEM(b)%obj)
|
||||||
select type(bound)
|
! Loop over all physical surfaces
|
||||||
type is(boundaryEMDirichlet)
|
do ps = 1, nPhysicalSurfaces
|
||||||
! Loop over all physical surfaces
|
! If the boundary for the species is linked to the one analysing, add the edges
|
||||||
do ps = 1, nPhysicalSurfaces
|
if (associated(physicalSurfaces(ps)%EM, bound)) then
|
||||||
! If the boundary for the species is linked to the one analysing, add the edges
|
bound%nodes = [bound%nodes, physicalSurfaces(ps)%nodes]
|
||||||
if (associated(physicalSurfaces(ps)%EM, bound)) then
|
end if
|
||||||
bound%nodes = [bound%nodes, physicalSurfaces(ps)%nodes]
|
|
||||||
end if
|
|
||||||
|
|
||||||
end do
|
end do
|
||||||
|
|
||||||
type is(boundaryEMDirichletTime)
|
|
||||||
! 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
|
|
||||||
|
|
||||||
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]
|
|
||||||
|
|
||||||
bound%edges = [bound%edges, physicalSurfaces(ps)%edges]
|
|
||||||
end if
|
|
||||||
|
|
||||||
end do
|
|
||||||
|
|
||||||
end select
|
|
||||||
|
|
||||||
bound%nNodes = size(bound%nodes)
|
bound%nNodes = size(bound%nodes)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue