Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adaptive hole map #14

Merged
merged 17 commits into from
Aug 1, 2023

Conversation

ackirby88
Copy link
Contributor

New Adaptive Hole Map to merge into the new branch of Exawind/tioga.

ackirby88 and others added 17 commits December 20, 2022 20:02
… case with multiblock looks coorrect. Need to extensively test.
…with an outer/overset bc face and wall bc face -- this prevents the adaptive hole map from refining to the max number of levels. (2) Fix compiler warnings about the intstring character array buffer size.
…memory cleanup. Note: suspect small memory leak in exchangeBoxes().
…compiler define variable). Also added memory cleanup for tioga shutdown -- checked with valgrind (iblank_cell is lost but only because it is handled by nalu-wind).
…te in MeshBlock::processDonors. (2) Replace raw c-pointers for adaptive processDonors.
…ap specific functions (comms), (2) macro replacement, (3) increase max level to all full 32-bit usage, (4) add back poisson_mms.
@ashesh2512 ashesh2512 merged commit 6e0dc46 into Exawind:exawind_new_holecut Aug 1, 2023
@ashesh2512 ashesh2512 mentioned this pull request Aug 1, 2023
jrood-nrel pushed a commit that referenced this pull request Feb 19, 2024
* Adaptive hole map (#14)

* Fixing header of meshblock output of tecplot files.

* Fix cmakelists for driver and gridgen mpi and tioga library linking.

* WIP: check in the adaptive hole map source code.

* Implemented adaptive hole map and initial tests for tioga test sphere case with multiblock looks coorrect. Need to extensively test.

* (1) Add duplicate node check when an element has two adjoining faces with an outer/overset bc face and wall bc face -- this prevents the adaptive hole map from refining to the max number of levels. (2) Fix compiler warnings about the intstring character array buffer size.

* Replaced octant pointers with std::vectors. Verified correctness and memory cleanup. Note: suspect small memory leak in exchangeBoxes().

* Reenable poisson exe by fixing the fortran MPI compling issue.

* Add tioga interface function to set hole map algorithm (instead of a compiler define variable). Also added memory cleanup for tioga shutdown -- checked with valgrind (iblank_cell is lost but only because it is handled by nalu-wind).

* Setting the hole map algorithm to the original for merging.

* Revome old svn files.

* (1) Fix while loop bug which didn't update the temp donorList candidate in MeshBlock::processDonors. (2) Replace raw c-pointers for adaptive processDonors.

* Address comments from Ashesh: (1) conditionals around adaptive hole map specific functions (comms), (2) macro replacement, (3) increase max level to all full 32-bit usage, (4) add back poisson_mms.

* Remove malloc.h as it's nonstandard; commented out allocated data function using mallinfo.

* Replaced TIOGA_MIN and TIOGA_MAX with std::min and std::max

* Overloaded CartBlock::processDonors and CartBlock::processIblank functions for ADAPTIVE_HOLEMAP

* Added MPI_Finalized checks into ~MeshBlock() and ~meshblockCompInfo()

---------

Co-authored-by: Andrew C Kirby <37650539+ackirby88@users.noreply.github.com>
itopcuoglu pushed a commit to itopcuoglu/tioga that referenced this pull request Mar 11, 2024
* Fixing header of meshblock output of tecplot files.

* Fix cmakelists for driver and gridgen mpi and tioga library linking.

* WIP: check in the adaptive hole map source code.

* Implemented adaptive hole map and initial tests for tioga test sphere case with multiblock looks coorrect. Need to extensively test.

* (1) Add duplicate node check when an element has two adjoining faces with an outer/overset bc face and wall bc face -- this prevents the adaptive hole map from refining to the max number of levels. (2) Fix compiler warnings about the intstring character array buffer size.

* Replaced octant pointers with std::vectors. Verified correctness and memory cleanup. Note: suspect small memory leak in exchangeBoxes().

* Reenable poisson exe by fixing the fortran MPI compling issue.

* Add tioga interface function to set hole map algorithm (instead of a compiler define variable). Also added memory cleanup for tioga shutdown -- checked with valgrind (iblank_cell is lost but only because it is handled by nalu-wind).

* Setting the hole map algorithm to the original for merging.

* Revome old svn files.

* (1) Fix while loop bug which didn't update the temp donorList candidate in MeshBlock::processDonors. (2) Replace raw c-pointers for adaptive processDonors.

* Address comments from Ashesh: (1) conditionals around adaptive hole map specific functions (comms), (2) macro replacement, (3) increase max level to all full 32-bit usage, (4) add back poisson_mms.

* Remove malloc.h as it's nonstandard; commented out allocated data function using mallinfo.
itopcuoglu pushed a commit to itopcuoglu/tioga that referenced this pull request Apr 3, 2024
* Fixing header of meshblock output of tecplot files.

* Fix cmakelists for driver and gridgen mpi and tioga library linking.

* WIP: check in the adaptive hole map source code.

* Implemented adaptive hole map and initial tests for tioga test sphere case with multiblock looks coorrect. Need to extensively test.

* (1) Add duplicate node check when an element has two adjoining faces with an outer/overset bc face and wall bc face -- this prevents the adaptive hole map from refining to the max number of levels. (2) Fix compiler warnings about the intstring character array buffer size.

* Replaced octant pointers with std::vectors. Verified correctness and memory cleanup. Note: suspect small memory leak in exchangeBoxes().

* Reenable poisson exe by fixing the fortran MPI compling issue.

* Add tioga interface function to set hole map algorithm (instead of a compiler define variable). Also added memory cleanup for tioga shutdown -- checked with valgrind (iblank_cell is lost but only because it is handled by nalu-wind).

* Setting the hole map algorithm to the original for merging.

* Revome old svn files.

* (1) Fix while loop bug which didn't update the temp donorList candidate in MeshBlock::processDonors. (2) Replace raw c-pointers for adaptive processDonors.

* Address comments from Ashesh: (1) conditionals around adaptive hole map specific functions (comms), (2) macro replacement, (3) increase max level to all full 32-bit usage, (4) add back poisson_mms.

* Remove malloc.h as it's nonstandard; commented out allocated data function using mallinfo.
itopcuoglu pushed a commit to itopcuoglu/tioga that referenced this pull request Apr 23, 2024
* Fixing header of meshblock output of tecplot files.

* Fix cmakelists for driver and gridgen mpi and tioga library linking.

* WIP: check in the adaptive hole map source code.

* Implemented adaptive hole map and initial tests for tioga test sphere case with multiblock looks coorrect. Need to extensively test.

* (1) Add duplicate node check when an element has two adjoining faces with an outer/overset bc face and wall bc face -- this prevents the adaptive hole map from refining to the max number of levels. (2) Fix compiler warnings about the intstring character array buffer size.

* Replaced octant pointers with std::vectors. Verified correctness and memory cleanup. Note: suspect small memory leak in exchangeBoxes().

* Reenable poisson exe by fixing the fortran MPI compling issue.

* Add tioga interface function to set hole map algorithm (instead of a compiler define variable). Also added memory cleanup for tioga shutdown -- checked with valgrind (iblank_cell is lost but only because it is handled by nalu-wind).

* Setting the hole map algorithm to the original for merging.

* Revome old svn files.

* (1) Fix while loop bug which didn't update the temp donorList candidate in MeshBlock::processDonors. (2) Replace raw c-pointers for adaptive processDonors.

* Address comments from Ashesh: (1) conditionals around adaptive hole map specific functions (comms), (2) macro replacement, (3) increase max level to all full 32-bit usage, (4) add back poisson_mms.

* Remove malloc.h as it's nonstandard; commented out allocated data function using mallinfo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants