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

Update generated code for DPF 252_daily on master #2016

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyansys-ci-bot
Copy link
Collaborator

An update of generated code has been triggered either manually or by an update in the dpf-standalone repository.

@pyansys-ci-bot pyansys-ci-bot requested a review from a team as a code owner January 14, 2025 14:02
@pyansys-ci-bot pyansys-ci-bot added the server-sync DO NOT USE, Related to automatic synchronization with the server label Jan 14, 2025
@@ -138,7 +138,7 @@ def __init__(
config=None,
server=None,
):
super().__init__(name="mapdl::rth::TF_cyclic", config=config, server=server)
super().__init__(name="mapdl::rst::TF_cyclic", config=config, server=server)
Copy link
Contributor

@rafacanton rafacanton Jan 14, 2025

Choose a reason for hiding this comment

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

@oparreno Just confirmation, as I can see that this was merged yesterday: Was this a bug before? Should it be rst or rth? Thanks!

Copy link
Collaborator

Choose a reason for hiding this comment

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

@rafacanton, @ricardopeixotocoelho created a PR to simplify the reader operators from RST and make previous calls to RTHSource go to Elemental and Nodal source from RST. I assume that this change just changed the operator name? Both should be supported as TF could be extracted from RST & RTH as it is a thermal result.

Copy link
Contributor

Choose a reason for hiding this comment

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

@rafacanton @oparreno @ricardopeixotocoelho so this here means that the latest recorded public operator with scripting_name=cyclic_expanded_heat_flux is the RST one. It makes sense since you switched it from RTH to RST.
The PR being worked on server-side adds back the record for RTH. The thing is that if both have the same scripting name, then one will override the other and you will end-up with a name here of format mapdl::xxx::TF_cyclic.
What you can do is make those private, and record a public TF_cyclic operator which redirects based on the active namespace for the result. @rafacanton could you maybe explain how to do that properly?

Copy link

codecov bot commented Jan 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.61%. Comparing base (633ad27) to head (26803a4).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2016      +/-   ##
==========================================
+ Coverage   87.47%   88.61%   +1.14%     
==========================================
  Files          90       90              
  Lines       10254    10254              
==========================================
+ Hits         8970     9087     +117     
+ Misses       1284     1167     -117     

@pyansys-ci-bot pyansys-ci-bot force-pushed the maint/update_code_for_252_daily_on_master branch 5 times, most recently from a3cd0af to c940dd7 Compare January 20, 2025 15:26
@pyansys-ci-bot pyansys-ci-bot force-pushed the maint/update_code_for_252_daily_on_master branch from c940dd7 to 26803a4 Compare January 22, 2025 16:02
@@ -47,11 +47,11 @@
_globals['_GETASRESPONSE']._serialized_start=648
_globals['_GETASRESPONSE']._serialized_end=1529
_globals['_CREATEREQUEST']._serialized_start=1532
_globals['_CREATEREQUEST']._serialized_end=1716
Copy link
Contributor

Choose a reason for hiding this comment

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

@cbellot000 @rafacanton @ansys-akarcher is that retrocompatible?

config=None,
server=None,
):
super().__init__(name="TGZ", config=config, server=server)
Copy link
Contributor

Choose a reason for hiding this comment

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

@ricardopeixotocoelho @oparreno are all of these operators generic ones or are they specific to RST or RTH?
Meaning, is there a mapdl::rst::TGZ behind the scenes?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@PProfizi, this is the Z component of the TG result. There is indeed an mapdl::rth::TG



class expansion_psd(Operator):
"""Computes the PSD response for one-sigma solution.
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @oparreno could we maybe have a more extensive description of the goal of the operator here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server-sync DO NOT USE, Related to automatic synchronization with the server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants