Working on init for new physical surfaces
This commit is contained in:
parent
1b32dfdfd6
commit
a0d45503f7
6 changed files with 93 additions and 54 deletions
|
|
@ -49,6 +49,9 @@ MODULE moduleInput
|
|||
CALL checkStatus(config, "readBoundaryEM")
|
||||
|
||||
! Read Physical Surfaces
|
||||
call verboseError('Reading Physical Surfaces...')
|
||||
call readPhysicalSurfaces(config)
|
||||
call checkStatus(config, 'readPhysicalSurfaces')
|
||||
|
||||
!Read Geometry
|
||||
CALL verboseError('Reading Geometry...')
|
||||
|
|
@ -895,6 +898,8 @@ MODULE moduleInput
|
|||
write(ps, '(I2)') ps
|
||||
object = 'physicalSurfaces(' // TRIM(bString) // ')'
|
||||
|
||||
allocate(physicalSurfaces(ps)%nodes(0))
|
||||
allocate(physicalSurfaces(ps)%edges(0))
|
||||
call config%get(object // '.index', physicalSurfaces(ps)%index, found)
|
||||
if (.not. found) then
|
||||
call criticalError('Physical surface index not found', 'readPhysicalSurfaces')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue