Add new elements to point containers is now more general

This commit is contained in:
Jorge Gonzalez 2026-02-20 11:03:11 +01:00
commit 70f6db0883
12 changed files with 109 additions and 108 deletions

View file

@ -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', &