Almost done with EM, not to modify the EM module itself
This commit is contained in:
parent
0379ea42c2
commit
d211ed9a71
13 changed files with 165 additions and 97 deletions
|
|
@ -36,7 +36,8 @@ MODULE moduleMeshInputGmsh2
|
|||
CHARACTER(:), ALLOCATABLE, INTENT(in):: filename
|
||||
REAL(8):: r(1:3) !3 generic coordinates
|
||||
INTEGER, ALLOCATABLE:: p(:) !Array for nodes
|
||||
INTEGER:: e = 0, n = 0, eTemp = 0, elemType = 0, bt = 0
|
||||
INTEGER:: e = 0, n = 0, eTemp = 0, elemType = 0
|
||||
integer:: btPart = 0, btEM = 0
|
||||
INTEGER:: totalNumElem
|
||||
INTEGER:: numEdges
|
||||
INTEGER:: boundaryType
|
||||
|
|
@ -199,9 +200,10 @@ MODULE moduleMeshInputGmsh2
|
|||
END SELECT
|
||||
|
||||
!Associate boundary condition procedure.
|
||||
bt = physicalSurface_to_id(boundariesParticleLinking,boundaryType)
|
||||
btPart = physicalSurface_to_id(boundariesParticleLinking,boundaryType)
|
||||
btEM = physicalSurface_to_id(boundariesEMLinking, boundaryType)
|
||||
|
||||
CALL self%edges(e)%obj%init(n, p, boundariesParticleLinking(bt)%speciesIndex)
|
||||
CALL self%edges(e)%obj%init(n, p, boundariesParticleLinking(btPart)%speciesIndex, btEM)
|
||||
DEALLOCATE(p)
|
||||
|
||||
END DO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue