Skip to content

Conversation

@PProfizi
Copy link
Contributor

No description provided.

@PProfizi PProfizi requested a review from rafacanton December 19, 2025 18:10
@PProfizi PProfizi self-assigned this Dec 19, 2025
@PProfizi PProfizi added the tutorials Related to PyDPF-Core tutorials label Dec 19, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 19, 2025

Some tests with 'continue-on-error: true' have failed:

  • PyDPF-Post docstring tests on windows-latest

  • PyDPF-Post API tests on windows-latest

  • PyDPF-Post docstring tests on ubuntu-latest

  • PyDPF-Post API tests on ubuntu-latest

    Created by continue-on-error-comment

@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.43%. Comparing base (4ba6321) to head (1d4bb9e).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2859   +/-   ##
=======================================
  Coverage   84.43%   84.43%           
=======================================
  Files          92       92           
  Lines       10922    10922           
=======================================
  Hits         9222     9222           
  Misses       1700     1700           

----------------------------------

The default and most efficient way to use PyDPF-Core is with an :class:`InProcessServer <ansys.dpf.core.server_types.InProcessServer>`.
This configuration runs the DPF server directly within your Python process, eliminating data
Copy link
Contributor

Choose a reason for hiding this comment

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

We should maybe comment that a negative side of InProcess is that for it to properly work with all DPF plugins, a prerequisite is that all the runtime dependencies need to be compatible with the runtime dependencies with all Python dependencies. If there is any Python dependency with symbols collision with any DPF plugin, this plugin will not be loaded, thus loosing the capabilities added with this plugin. This limitation is not found in gRPC, where process isolation ensures dependency isolation


Starting with Ansys 2026 R1 (DPF 2026.1.0) and PyDPF-Core 0.15.0, DPF Server gRPC
connections default to using authenticated mTLS (mutual TLS) transport for enhanced security.
This change also applies to service packs for Ansys 2025 R2 SP03, 2025 R1 SP04, and 2024 R2 SP05.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
This change also applies to service packs for Ansys 2025 R2 SP03, 2025 R1 SP04, and 2024 R2 SP05.
This change also applies to service packs for Ansys 2025 R2 SP03 and SP04, 2025 R1 SP04, and 2024 R2 SP05.

requiring maximum performance and minimal memory overhead (default since Ansys 2023 R1)

- Use :class:`GrpcServer <ansys.dpf.core.server_types.GrpcServer>` when you need distributed
computation, remote access, or when running DPF on a different machine (available since Ansys 2022 R2)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
computation, remote access, or when running DPF on a different machine (available since Ansys 2022 R2)
computation, remote access, symbols isolation, or when running DPF on a different machine (available since Ansys 2022 R2)

@rafacanton
Copy link
Contributor

@PProfizi Thanks for this, I've added a couple of comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tutorials Related to PyDPF-Core tutorials

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants