Skip to content

Commit

Permalink
Merge branch 'improvement.lb.mesh.metrics' into 'master.dev'
Browse files Browse the repository at this point in the history
[improvement.lb.mesh.metrics] Perform LB by shifting metrics along SFC

Closes #227

See merge request piclas/piclas!872
  • Loading branch information
scopplestone committed Jul 9, 2024
2 parents 21f7a38 + 672250c commit d372cb1
Show file tree
Hide file tree
Showing 9 changed files with 676 additions and 463 deletions.
18 changes: 8 additions & 10 deletions regressioncheck/NIG_maxwell_dipole_dielectric/builds.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@
binary=./bin/piclas

! fixed compiler flags
CMAKE_BUILD_TYPE=Release
LIBS_BUILD_HDF5 =OFF
PICLAS_POLYNOMIAL_DEGREE=N
PICLAS_EQNSYSNAME=maxwell
LIBS_USE_MPI =ON
PICLAS_NODETYPE=GAUSS
PICLAS_PARTICLES=OFF

! include combinations
PICLAS_TIMEDISCMETHOD=RK4,ImplicitO4
CMAKE_BUILD_TYPE = Release
LIBS_BUILD_HDF5 = OFF
PICLAS_POLYNOMIAL_DEGREE = N
PICLAS_EQNSYSNAME = maxwell
LIBS_USE_MPI = ON
PICLAS_NODETYPE = GAUSS
PICLAS_PARTICLES = OFF
PICLAS_TIMEDISCMETHOD = RK4

! exclude combinations
EXCLUDE:PICLAS_EQNSYSNAME=poisson,PICLAS_TIMEDISCMETHOD=DSMC
Expand Down
8 changes: 8 additions & 0 deletions src/io_hdf5/io_hdf5.f90
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ END SUBROUTINE InitMPIInfo
SUBROUTINE OpenDataFile(FileString,create,single,readOnly,communicatorOpt,userblockSize)
! MODULES
USE MOD_Globals
! #if USE_LOADBALANCE
! USE MOD_LoadBalance_Vars, ONLY: PerformLoadBalance
! #endif /*USE_LOADBALANCE*/
! IMPLICIT VARIABLE HANDLING
IMPLICIT NONE
!----------------------------------------------------------------------------------------------------------------------------------
! INPUT/OUTPUT VARIABLES
Expand All @@ -206,6 +210,10 @@ SUBROUTINE OpenDataFile(FileString,create,single,readOnly,communicatorOpt,userbl
!==================================================================================================================================
LOGWRITE(*,'(A)')' OPEN HDF5 FILE "'//TRIM(FileString)//'" ...'

! #if USE_LOADBALANCE
! IF (PerformLoadBalance) CALL Abort(__STAMP__,'OpenDataFile called during PerformLoadBalance. This can cause memory leaks!')
! #endif /*USE_LOADBALANCE*/

userblockSize_loc = 0
IF (PRESENT(userblockSize)) userblockSize_loc = userblockSize

Expand Down
368 changes: 368 additions & 0 deletions src/loadbalance/loadbalance_metrics.f90

Large diffs are not rendered by default.

Loading

0 comments on commit d372cb1

Please sign in to comment.