Add new elements to point containers is now more general
This commit is contained in:
parent
ce6b6a41a6
commit
70f6db0883
12 changed files with 109 additions and 108 deletions
|
|
@ -9,7 +9,7 @@ submodule(moduleMesh) boundaryEM
|
|||
integer:: b
|
||||
|
||||
bp = 0
|
||||
do b = 1, nBoundaries
|
||||
do b = 1, nBoundariesEM
|
||||
if (boundaryName == boundariesEM(b)%obj%name) then
|
||||
bp = boundariesEM(b)%obj%n
|
||||
|
||||
|
|
@ -37,6 +37,7 @@ submodule(moduleMesh) boundaryEM
|
|||
logical:: found
|
||||
|
||||
self%n = b
|
||||
allocate(self%nodes(0))
|
||||
call config%get(object // '.name', self%name, found)
|
||||
if (.not. found) then
|
||||
call criticalError('Required parameter "name" for EM boundary condition not found', &
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue