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

Major clenup #465

Merged
merged 36 commits into from
Nov 2, 2023
Merged

Major clenup #465

merged 36 commits into from
Nov 2, 2023

Conversation

teseoch
Copy link
Collaborator

@teseoch teseoch commented Oct 18, 2023

No description provided.

@teseoch teseoch requested review from mtao and daniel-zint October 18, 2023 18:19
Copy link
Contributor

@daniel-zint daniel-zint left a comment

Choose a reason for hiding this comment

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

I'll do the full review as soon as the tests are running again.

CMakeLists.txt Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Merging #465 (c715f9b) into main (435ae49) will increase coverage by 1.71%.
The diff coverage is 63.60%.

@@            Coverage Diff             @@
##             main     #465      +/-   ##
==========================================
+ Coverage   83.35%   85.07%   +1.71%     
==========================================
  Files         215      209       -6     
  Lines        5954     5788     -166     
==========================================
- Hits         4963     4924      -39     
+ Misses        991      864     -127     
Flag Coverage Δ
wildmeshing 85.07% <63.60%> (+1.71%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
..._components/delaunay/internal/delaunay_geogram.cpp 100.00% <100.00%> (ø)
components/wmtk_components/input/input.cpp 92.30% <100.00%> (+9.95%) ⬆️
...ts/wmtk_components/input/internal/InputOptions.hpp 100.00% <ø> (ø)
components/wmtk_components/json_utils.hpp 100.00% <100.00%> (ø)
.../wmtk_components/output/internal/OutputOptions.hpp 0.00% <ø> (ø)
...components/regular_space/internal/RegularSpace.cpp 100.00% <ø> (ø)
...components/regular_space/internal/RegularSpace.hpp 100.00% <ø> (ø)
src/wmtk/Mesh.cpp 76.19% <100.00%> (+0.12%) ⬆️
src/wmtk/Mesh.hpp 95.00% <ø> (ø)
src/wmtk/PointMesh.hpp 50.00% <ø> (ø)
... and 51 more

... and 16 files with indirect coverage changes

@teseoch teseoch changed the title Remove warnings Major clenup Oct 19, 2023
class MshReader : public MeshReader
{
protected:
void read_aux(const std::filesystem::path& filename, Mesh& mesh) override;
Copy link
Collaborator

Choose a reason for hiding this comment

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

i think you're still in the middle of writing things but it'd be good to have comments on what aux/cb are in this class

@@ -55,7 +55,7 @@ class EdgeCollapse : public TriMeshOperation, private TupleOperation

private:
Tuple m_output_tuple;
const OperationSettings<EdgeCollapse>& m_settings;
// const OperationSettings<EdgeCollapse>& m_settings;
Copy link
Collaborator

Choose a reason for hiding this comment

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

why remove the settings? i think there is a future refactor to handle how we pass these settings around but for now this practice is the "way" we're doing things?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

they were unused :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Please open up an issue for that but do not just comment out stuff.

@teseoch teseoch marked this pull request as draft October 26, 2023 18:28
@teseoch teseoch requested review from daniel-zint and mtao October 31, 2023 01:01
@teseoch teseoch marked this pull request as ready for review October 31, 2023 01:01
Copy link
Contributor

@daniel-zint daniel-zint left a comment

Choose a reason for hiding this comment

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

There are several things that we need to discuss. Let's find some time soon.

This PR should have been at least 5 seperate PRs. Let's merge this asap and create follow-up issues. That's also the reason why I will only comment the PR and not request changes.

mesh.initialize(F);

mesh_utils::set_matrix_attribute(V, "position", PrimitiveType::Vertex, mesh);
auto mesh = MeshReader::read(options.file);
Copy link
Contributor

Choose a reason for hiding this comment

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

That won't do the job but we have issue already that reminds me that this needs to be fixed.

components/wmtk_components/json_utils.hpp Show resolved Hide resolved
components/wmtk_components/output/output.cpp Outdated Show resolved Hide resolved
@@ -55,7 +55,7 @@ class EdgeCollapse : public TriMeshOperation, private TupleOperation

private:
Tuple m_output_tuple;
const OperationSettings<EdgeCollapse>& m_settings;
// const OperationSettings<EdgeCollapse>& m_settings;
Copy link
Contributor

Choose a reason for hiding this comment

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

Please open up an issue for that but do not just comment out stuff.

src/wmtk/simplex/cofaces_single_dimension.cpp Show resolved Hide resolved
src/wmtk/simplex/top_dimension_cofaces.cpp Show resolved Hide resolved
src/wmtk/utils/triangle_areas.hpp Outdated Show resolved Hide resolved
Copy link
Contributor

@daniel-zint daniel-zint left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Collaborator

@mtao mtao left a comment

Choose a reason for hiding this comment

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

lgtm

@teseoch teseoch merged commit 70d6c0f into main Nov 2, 2023
8 of 9 checks passed
@teseoch teseoch deleted the remove-warnings branch November 2, 2023 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants