Fix memory leak for Soret isothermal boundaries#512
Fix memory leak for Soret isothermal boundaries#512baperry2 merged 1 commit intoAMReX-Combustion:developmentfrom
Conversation
ThomasHowarth
left a comment
There was a problem hiding this comment.
My bad - thanks for this Bruce; looks good.
Just as a note on the Soret stuff, we're working on making a NUM_LITE_SPECIES in the mechanisms and reducing the size of the coefficient MultiFAB which should reduce memory usage, particularly for large mechanisms.
|
I'm happy with how it is currently, but we could also use a |
|
There's probably a nicer way to do this with Sounds good on moving |
delete new allocated multifabs in Soret isothermal (AMReX-Combustion#512)
Some multifabs for setting up Soret isothermal BCs are allocated with
newbut neverdeleted. This causes a memory leak that was noticed by @bssoriano.