Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Huangzizhou
Copy link
Contributor

No description provided.

@Huangzizhou Huangzizhou requested review from arvigj and teseoch October 2, 2024 14:51
@codecov
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

Attention: Patch coverage is 92.18750% with 25 lines in your changes missing coverage. Please review.

Project coverage is 70.60%. Comparing base (32e1c00) to head (6e1acde).
Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
...olver/forms/adjoint_forms/VariableToSimulation.cpp 76.13% 21 Missing ⚠️
...olver/forms/parametrization/PeriodicMeshToMesh.cpp 98.00% 2 Missing ⚠️
...olver/forms/adjoint_forms/VariableToSimulation.hpp 80.00% 1 Missing ⚠️
src/polyfem/state/StateHomogenization.cpp 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #366      +/-   ##
==========================================
+ Coverage   70.24%   70.60%   +0.35%     
==========================================
  Files         333      335       +2     
  Lines       38013    38261     +248     
  Branches     5667     5708      +41     
==========================================
+ Hits        26703    27013     +310     
+ Misses      11310    11248      -62     
Flag Coverage Δ
polyfem 70.60% <92.18%> (+0.35%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

// assert(mesh->in_ordered_vertices_[1] == 1);
// assert(mesh->in_ordered_vertices_[2] == 2);
// assert(mesh->in_ordered_vertices_[mesh->in_ordered_vertices_.size() - 1] == vertices.rows() - 1);
std::sort(tmp.begin(), tmp.end());
Copy link
Member

Choose a reason for hiding this comment

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

this is my change, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is only spacing...Should I revert it?


void VariableToSimulation::set_output_indexing(const json &args)
{
const std::string composite_map_type = args["composite_map_type"];
Copy link
Member

Choose a reason for hiding this comment

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

wy do you need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is moving around the inverse optimization code, the branching was ugly so I moved into each derived class

@Huangzizhou Huangzizhou merged commit adf4db6 into main Oct 9, 2024
10 checks passed
@Huangzizhou Huangzizhou deleted the periodic branch October 9, 2024 23:53
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