Skip to content

Fix no EB production cases#314

Merged
baperry2 merged 2 commits intoAMReX-Combustion:developmentfrom
baperry2:fix-no-eb-cases
Nov 17, 2023
Merged

Fix no EB production cases#314
baperry2 merged 2 commits intoAMReX-Combustion:developmentfrom
baperry2:fix-no-eb-cases

Conversation

@baperry2
Copy link
Copy Markdown
Collaborator

@baperry2 baperry2 commented Nov 16, 2023

Don't compile with EB for Production cases that don't need it. Alternatively, we could still compile with EB but set eb2.geom_type = all_regular in the input files.

Closes #311

@baperry2 baperry2 requested a review from jrood-nrel November 16, 2023 22:36
@jrood-nrel
Copy link
Copy Markdown
Contributor

I would love to remove the EB ifdef and use all_regular like we do in PeleC sometime.

@esclapez
Copy link
Copy Markdown
Collaborator

It won't work as well for LMeX (removing the EB ifdef). The linear solvers are completely different for EB, with different algorithms even when all_regular (especially the nodal solver). The plain linear solvers are faster than the EB versions and the EB versions are not fully available with kernel-fusing ParFor, so they tend to scale not as good. Probably nothing you couldn't fix with time though.

@baperry2 baperry2 merged commit ab4316a into AMReX-Combustion:development Nov 17, 2023
@baperry2 baperry2 deleted the fix-no-eb-cases branch November 17, 2023 18:04
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.

PremBunsen3D crashes

3 participants