fixed small bug when calculating mesh_Ncells
This commit is contained in:
parent
103c770ee6
commit
4bc5e6717b
|
@ -610,6 +610,14 @@ subroutine mesh_init(ip,el)
|
|||
calcMode(ip,mesh_FEasCP('elem',el)) = .true. ! first ip,el needs to be already pingponged to "calc"
|
||||
lastMode = .true. ! and its mode is already known...
|
||||
|
||||
!--------------------------------------------------------------------------------------------------
|
||||
! write description file for constitutive phase output
|
||||
call IO_write_jobFile(fileunit,'mesh')
|
||||
write(fileunit,'(a,i)') 'maxNCellNodes ', mesh_maxNcellNodes
|
||||
write(fileunit,'(a,i)') 'maxNips ', mesh_maxNips
|
||||
write(fileunit,'(a,i)') 'maxNCellNodes ', mesh_maxNcpElems
|
||||
close(fileunit)
|
||||
|
||||
end subroutine mesh_init
|
||||
|
||||
!--------------------------------------------------------------------------------------------------
|
||||
|
@ -700,8 +708,8 @@ subroutine mesh_build_cells
|
|||
g = FE_geomtype(t) ! get geometry type
|
||||
c = FE_celltype(g) ! get cell type
|
||||
localCellnode2globalCellnode = 0_pInt
|
||||
do i = 1_pInt,FE_Nips(g) ! loop over ips=cells in this element
|
||||
mesh_Ncells = mesh_Ncells + FE_Nips(g)
|
||||
do i = 1_pInt,FE_Nips(g) ! loop over ips=cells in this element
|
||||
do n = 1_pInt,FE_NcellnodesPerCell(c) ! loop over cell nodes in this cell
|
||||
localCellnodeID = FE_cell(n,i,g)
|
||||
if (localCellnodeID <= FE_NmatchingNodes(g)) then ! this cell node is a matching node
|
||||
|
@ -3815,11 +3823,11 @@ end subroutine mesh_build_sharedElems
|
|||
!> @brief build up of IP neighborhood, allocate globals '_ipNeighborhood'
|
||||
!--------------------------------------------------------------------------------------------------
|
||||
subroutine mesh_build_ipNeighborhood
|
||||
|
||||
use math, only: math_mul3x3
|
||||
use math, only: &
|
||||
math_mul3x3
|
||||
|
||||
implicit none
|
||||
integer(pInt) myElem, & ! my CP element index
|
||||
integer(pInt) :: myElem, & ! my CP element index
|
||||
myIP, &
|
||||
myType, & ! my element type
|
||||
myFace, &
|
||||
|
@ -3986,14 +3994,16 @@ end subroutine mesh_build_ipNeighborhood
|
|||
!> @brief write statistics regarding input file parsing to the output file
|
||||
!--------------------------------------------------------------------------------------------------
|
||||
subroutine mesh_tell_statistics
|
||||
|
||||
use math, only: math_range
|
||||
use IO, only: IO_error
|
||||
use debug, only: debug_level, &
|
||||
debug_mesh, &
|
||||
debug_levelBasic, &
|
||||
debug_levelExtensive, &
|
||||
debug_levelSelective, &
|
||||
use math, only: &
|
||||
math_range
|
||||
use IO, only: &
|
||||
IO_error
|
||||
use debug, only: &
|
||||
debug_level, &
|
||||
debug_MESH, &
|
||||
debug_LEVELBASIC, &
|
||||
debug_LEVELEXTENSIVE, &
|
||||
debug_LEVELSELECTIVE, &
|
||||
debug_e, &
|
||||
debug_i
|
||||
|
||||
|
|
Loading…
Reference in New Issue