not needed anymore
This commit is contained in:
parent
c4eef520fc
commit
af28e9cdd9
|
@ -162,7 +162,6 @@ subroutine utilities_init()
|
||||||
|
|
||||||
character(len=1024) :: petsc_optionsPhysics
|
character(len=1024) :: petsc_optionsPhysics
|
||||||
integer(pInt) :: dimPlex
|
integer(pInt) :: dimPlex
|
||||||
integer(pInt) :: headerID = 205_pInt
|
|
||||||
PetscInt, allocatable :: nEntities(:), nOutputCells(:), nOutputNodes(:)
|
PetscInt, allocatable :: nEntities(:), nOutputCells(:), nOutputNodes(:)
|
||||||
PetscInt :: dim
|
PetscInt :: dim
|
||||||
PetscErrorCode :: ierr
|
PetscErrorCode :: ierr
|
||||||
|
@ -213,13 +212,6 @@ subroutine utilities_init()
|
||||||
nOutputCells(worldrank+1) = count(material_homog > 0_pInt)
|
nOutputCells(worldrank+1) = count(material_homog > 0_pInt)
|
||||||
call MPI_Allreduce(MPI_IN_PLACE,nOutputNodes,worldsize,MPI_INT,MPI_SUM,PETSC_COMM_WORLD,ierr)
|
call MPI_Allreduce(MPI_IN_PLACE,nOutputNodes,worldsize,MPI_INT,MPI_SUM,PETSC_COMM_WORLD,ierr)
|
||||||
call MPI_Allreduce(MPI_IN_PLACE,nOutputCells,worldsize,MPI_INT,MPI_SUM,PETSC_COMM_WORLD,ierr)
|
call MPI_Allreduce(MPI_IN_PLACE,nOutputCells,worldsize,MPI_INT,MPI_SUM,PETSC_COMM_WORLD,ierr)
|
||||||
if (worldrank == 0_pInt) then
|
|
||||||
open(unit=headerID, file=trim(getSolverJobName())//'.header', &
|
|
||||||
form='FORMATTED', status='REPLACE')
|
|
||||||
write(headerID, '(a,i0)') 'dimension : ', dimPlex
|
|
||||||
write(headerID, '(a,i0)') 'number of nodes : ', sum(nOutputNodes)
|
|
||||||
write(headerID, '(a,i0)') 'number of cells : ', sum(nOutputCells)
|
|
||||||
endif
|
|
||||||
|
|
||||||
end subroutine utilities_init
|
end subroutine utilities_init
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue