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

Support CO2GasPvt on GPU #4222

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

Conversation

multitalentloes
Copy link

@multitalentloes multitalentloes commented Sep 23, 2024

These changes make it possible to instantiate a Co2GasPvt object on the GPU and evaluate pvt functions, this is tested in OPM/opm-simulators#5636.
This PR gpu supports these classes:

  • Constants
  • IdealGas
  • Brine_CO2
  • UniformTabulated2DFunction
  • BrineDynamic
  • CO2
  • SimpleHuDuanH20
  • Co2GasPvt

Some things are still needing improvement:

  • more elegant changes in Constants.hpp
  • Should a CO2_non_static exist alongside the static CO2 which contains static vectors that are problematic to GPUs?

@multitalentloes multitalentloes marked this pull request as ready for review October 9, 2024 07:50
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