ansys / pyrocky

A Python API for Ansys Rocky
https://rocky.docs.pyansys.com/
MIT License
4 stars 0 forks source link

Allow PyRocky to deal with KAGridFunction instances #58

Closed igortg closed 4 months ago

igortg commented 4 months ago

Adds support for ApiPyroAdapter to deal with KAGridFunction objects by serializing and deserializing it. Since GridFunction instances are not stored in the pool, the serialized data contains the grid function name and its parent Grid pool_id (so it can be deserialized later on).

ROCKY-21634

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.26%. Comparing base (ff81716) to head (f8aceb8).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #58 +/- ## ========================================== + Coverage 92.25% 94.26% +2.01% ========================================== Files 5 5 Lines 142 157 +15 ========================================== + Hits 131 148 +17 + Misses 11 9 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.