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 241 on master #1175

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

github-actions[bot]
Copy link
Contributor

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

@github-actions github-actions bot requested a review from a team as a code owner September 21, 2023 15:19
@github-actions github-actions bot added the maintenance Repository structure maintenance label Sep 21, 2023
@rafacanton rafacanton closed this Sep 21, 2023
@rafacanton rafacanton reopened this Sep 21, 2023
@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Merging #1175 (51f1e0a) into master (2548df5) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1175      +/-   ##
==========================================
- Coverage   87.44%   87.35%   -0.09%     
==========================================
  Files          81       81              
  Lines        9224     9224              
==========================================
- Hits         8066     8058       -8     
- Misses       1158     1166       +8     

@github-actions github-actions bot force-pushed the maint/update_code_for_241_on_master branch from ef9b6db to 51f1e0a Compare October 9, 2023 09:08
@rafacanton rafacanton closed this Oct 9, 2023
@rafacanton rafacanton reopened this Oct 9, 2023
@rafacanton rafacanton merged commit c1f205d into master Oct 9, 2023
26 of 28 checks passed
@rafacanton rafacanton deleted the maint/update_code_for_241_on_master branch October 9, 2023 10:31
document="""If this pin is set to true, reduced
coordinates are computed on the
quadratic element if the element is
quadratic (default is false).""",
quadratic (more precise but less
performant). default is false.""",
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey @rafacanton, a small typo here, should be Default is false.
Do you know who made this change?

Copy link
Contributor

Choose a reason for hiding this comment

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

@PProfizi I did. It is in capital letters in the operator spec, so this is an issue in the operators generation


@property
def field_offset_type(self):
"""Allows to get field_offset_type output of the operator
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing a dot at the end of the sentence.

@@ -18,6 +18,11 @@ class skin(Operator):
----------
mesh : MeshedRegion
mesh_scoping : Scoping, optional
Nodal scoping to restrict the skin extraction
to a set of nodes. if provided, a
Copy link
Contributor

Choose a reason for hiding this comment

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

If provided

Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

@@ -4,7 +4,6 @@
from .datasources_provider import datasources_provider
from .integrate_over_time_freq import integrate_over_time_freq
from .is_cyclic import is_cyclic
from .material_provider import material_provider
Copy link
Contributor

@PProfizi PProfizi Oct 9, 2023

Choose a reason for hiding this comment

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

@rafacanton Do we know why this is removed? This seems like a potential source of retro-compatibility issue.

Copy link
Contributor

Choose a reason for hiding this comment

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

@PProfizi This is the main objective of this update. This operator returns a materials object, which is not well exposed in pydpf-core. The objective of the work done by @MichaelNale was to make this operator private until we do that development, if ever done.

temperature) and derivative order
("derivative_order" label, 0 for
stiffness terms, 1 for damping terms
and 2 for inertial terms). default is
Copy link
Contributor

Choose a reason for hiding this comment

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

Default is false.

Copy link
Contributor

Choose a reason for hiding this comment

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

Same


@property
def data_sources(self):
"""Allows to get data_sources output of the operator
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing a dot

forwards named inputs and outputs
names, 7 copies connections of named
inputs and ouputs with their data.
default is 7.
Copy link
Contributor

Choose a reason for hiding this comment

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

Default is 7.

Copy link
Contributor

Choose a reason for hiding this comment

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

Same

forwards named inputs and outputs
names, 7 copies connections of named
inputs and ouputs with their data.
default is 7.""",
Copy link
Contributor

Choose a reason for hiding this comment

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

Default is 7.

Copy link
Contributor

Choose a reason for hiding this comment

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

Same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Repository structure maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants