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
|
|
@ -1,7 +1,7 @@
|
|||
!moduleMeshBoundary: Boundary functions for the mesh edges
|
||||
submodule(moduleMesh) boundaryParticle
|
||||
contains
|
||||
module function boundaryParticleName_to_Index(boundaryName) result(bp)
|
||||
function boundaryParticleName_to_Index(boundaryName) result(bp)
|
||||
use moduleErrors
|
||||
implicit none
|
||||
|
||||
|
|
@ -19,7 +19,7 @@ submodule(moduleMesh) boundaryParticle
|
|||
end do
|
||||
|
||||
if (bp == 0) then
|
||||
call criticalError('Boundary ' // boundaryName // ' not found', 'boundaryName2Index')
|
||||
call criticalError('Boundary ' // boundaryName // ' not found', 'boundaryParticleName_to_Index')
|
||||
|
||||
end if
|
||||
|
||||
|
|
@ -503,6 +503,7 @@ submodule(moduleMesh) boundaryParticle
|
|||
integer:: b
|
||||
integer:: bt
|
||||
|
||||
b = 0
|
||||
do bt=1, nPhysicalSurfaces
|
||||
if (boundaryArray(bt)%physicalSurface == physicalSurface) then
|
||||
b = bt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue