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

Add nonstatic blackoilfluidsystem #4427

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

multitalentloes
Copy link
Contributor

Add support for a dynamically allocated BlackOilFluidSystem (BOFS) object. The purpose of this is to avoid dependence on statically allocated data when later BOFS on the GPU.

This does include a bad-looking duplication of the class for now

@multitalentloes multitalentloes force-pushed the add_nonstatic_blackoilfluidsystem branch from f052f61 to ecd9eb7 Compare January 15, 2025 14:13
@multitalentloes multitalentloes marked this pull request as ready for review January 15, 2025 14:30
using WaterPvt = WaterPvtMultiplexer<Scalar>;

private:
BlackOilFluidSystemNonStatic(Scalar _surfacePressure_,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is going to be called later when copying a fluidsystem from the CPU to the GPU, this is why all the getters are added

@multitalentloes multitalentloes force-pushed the add_nonstatic_blackoilfluidsystem branch from 89bca56 to a692bf8 Compare January 15, 2025 14:42
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.

1 participant