Skip to content

Commit

Permalink
Merge branch 'fix.issue.223' into 'master.dev'
Browse files Browse the repository at this point in the history
Resolve "More part BC than actual BC is not detected"

Closes #223

See merge request piclas/piclas!841
  • Loading branch information
fhld committed Sep 4, 2023
2 parents 5d91f2c + 932d42e commit 5e598f0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .gitlab/merge_request_templates/Feature.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Related Issue
## To-Do's

Closes #number
* [ ] ToDo

## Merge Request Checklist

Expand All @@ -16,5 +16,4 @@ Closes #number
* [ ] Add small test setup
* [ ] Add entry in REGGIE.md table
* [ ] Check automatic restart functionality of reggie example via Load Balance (checks correct allocation and deallocation for the test case)
* [ ] New feature description in appropriate documentation (user/developer guide)
* [ ] Check that no large files were added to the repository
* [ ] New feature description in appropriate documentation (user/developer guide)
6 changes: 3 additions & 3 deletions .gitlab/merge_request_templates/Release.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@

# Release Notes

## Release 1.X.X
## Release 3.X.X

### Documentation
### Breaking/Parameter changes

*

### Reggie
### Documentation/Tools/Regression testing

*

Expand Down
4 changes: 3 additions & 1 deletion src/particles/boundary/particle_boundary_init.f90
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,9 @@ SUBROUTINE InitializeVariablesPartBoundary()
nPartBound = GETINT('Part-nBounds') ! get number of particle boundaries
! Read-in number of porous boundaries
nPorousBC = GETINT('Surf-nPorousBC')
IF ((nPartBound.LE.0).OR.(dummy_int.LT.0)) CALL abort(__STAMP__ ,'ERROR: nPartBound .LE. 0:', nPartBound)
IF((nPartBound.LE.0).OR.(dummy_int.LT.0)) CALL abort(__STAMP__ ,'ERROR: nPartBound .LE. 0:', nPartBound)

IF(nPartBound.NE.nBCs) CALL abort(__STAMP__ ,'ERROR: Part-nBounds is not equal to the number of BCs read-in from the mesh!')

ALLOCATE(PartBound%SourceBoundName( 1:nPartBound))
PartBound%SourceBoundName = ''
Expand Down

0 comments on commit 5e598f0

Please sign in to comment.