-
Notifications
You must be signed in to change notification settings - Fork 56
Field data refactoring. #296
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
Conversation
45c3968
to
8c06ad4
Compare
if location_tag & payload_info and ( | ||
not boundary_value_tag or (boundary_value_tag & payload_info) | ||
): | ||
xyplot_data = payload_data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Data is retrieved from the tag.
8c06ad4
to
6e19bda
Compare
6e19bda
to
a6a57a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure to format the proto file with clang format. The options are defined at
https://github.com/pyansys/pyfluent/blob/main/protos/.clang_format
I had been doing that before merging the files back to the Fluent repo. If you happen to use Visual Studio Code it comes with the cpptools extension:
C:\Users\dnwillia.vscode\extensions\ms-vscode.cpptools-1.9.7-win32-x64\LLVM\bin\clang-format.exe
a6a57a9
to
dcece5d
Compare
dcece5d
to
a2cbd9b
Compare
96adb94
to
38b94a7
Compare
38b94a7
to
73a2106
Compare
Following are the issues in field_data APIs:
For example, to draw XY plot for element values, two requests will be sent by client:
So not only client has to make two requests, but will also get redundant data e.g. vertices and faces connectivity. So instead of get APIs, there should be addRequest APIs. It shall give complete flexibility.
Also tags are introduced to provide extra information about fields.
Important: Unit tests updated.