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

Add vtk_poly_data_reader [vtk_to_cmesh 4/6] #465

Merged
merged 20 commits into from
May 10, 2023
Merged

Conversation

Davknapp
Copy link
Collaborator

@Davknapp Davknapp commented Mar 13, 2023

First implementation of a reader for vtkPolyData.

All these boxes must be checked by the reviewers before merging the pull request:

As a reviewer please read through all the code lines and make sure that the code is fully understood, bug free, well-documented and well-structured.

  • The author added a BSD statement to doc/ (or already has one)

  • The code compiles without warning in debugging and release mode, with and without MPI (this should be executed automatically in a github action)

    If the Pull request introduces code that is not covered by the github action (for example coupling with a new library):

    • Should this use case be added to the github action?
    • If not, does the specific use case compile and all tests pass (check manually)
  • All tests pass (in various configurations, this should be executed automatically in a github action)

  • New source/header files are properly added to the Makefiles

  • New Datatypes are added to t8indent_custom_datatypes.txt

  • The reviewer executed the new code features at least once and checked the results manually

  • The code is covered in an existing or new test case

  • New tests use the Google Test framework

  • The code follows the t8code coding guidelines

  • The code is well documented

  • All function declarations, structs/classes and their members have a proper doxygen documentation

  • All new algorithms and data structures are sufficiently optimal in terms of memory and runtime (If this should be merged, but there is still potential for optimization, create a new issue)

  • If a new directory with source-files is added, it must be covered by the script/find_all_source_files.scp to check the indentation of these files.

  • If this PR introduces a new feature, it must be covered in an example/tutorial and a Wiki article.

@Davknapp Davknapp changed the title Add vtk_poly_data_reader Add vtk_poly_data_reader [vtk_to_cmesh 4/x] Mar 13, 2023
@Davknapp Davknapp changed the title Add vtk_poly_data_reader [vtk_to_cmesh 4/x] Add vtk_poly_data_reader [vtk_to_cmesh 4/6] Mar 13, 2023
@Davknapp Davknapp added the New feature Adds a new feature to the code label Mar 13, 2023
@Davknapp Davknapp marked this pull request as draft March 13, 2023 15:24
@Davknapp Davknapp removed their assignment Mar 17, 2023
@Davknapp Davknapp added the draft Enhance the visibility that this is a draft. label Mar 17, 2023
Base automatically changed from vtk_unstructured_reader to main April 5, 2023 09:02
@Davknapp Davknapp removed the draft Enhance the visibility that this is a draft. label Apr 5, 2023
@Davknapp Davknapp marked this pull request as ready for review April 5, 2023 09:47
Copy link
Collaborator

@sandro-elsweijer sandro-elsweijer left a comment

Choose a reason for hiding this comment

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

This is only a partial review, because the code seems broken

@Davknapp Davknapp assigned sandro-elsweijer and unassigned Davknapp May 9, 2023
@Davknapp Davknapp requested a review from sandro-elsweijer May 9, 2023 07:12
@Davknapp Davknapp requested a review from sandro-elsweijer May 9, 2023 07:46
@Davknapp Davknapp assigned sandro-elsweijer and unassigned Davknapp May 9, 2023
@Davknapp Davknapp requested a review from sandro-elsweijer May 9, 2023 10:06
@sandro-elsweijer
Copy link
Collaborator

I found the issue. Due to not including t8.h, t8_config.h is not included and in t8_config.h the T8_WITH_VTK flag is set. Therefore, your code does not get compiled, even though you linked against VTK. The copy/paste error from the first review should at least have stopped your compiler.

@Davknapp Davknapp requested a review from sandro-elsweijer May 10, 2023 07:59
Copy link
Collaborator

@sandro-elsweijer sandro-elsweijer left a comment

Choose a reason for hiding this comment

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

Last two comments :)

@Davknapp Davknapp requested a review from sandro-elsweijer May 10, 2023 11:10
@sandro-elsweijer sandro-elsweijer merged commit c8bc80e into main May 10, 2023
@sandro-elsweijer sandro-elsweijer deleted the vtk_polydata_reader branch May 10, 2023 11:17
jfussbro pushed a commit to jfussbro/t8code that referenced this pull request Jun 27, 2023
Add vtk_poly_data_reader [vtk_to_cmesh 4/6]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New feature Adds a new feature to the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants