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 support for 2D meshes in 3D #321

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Add support for 2D meshes in 3D #321

wants to merge 12 commits into from

Conversation

zfergus
Copy link
Member

@zfergus zfergus commented Mar 5, 2024

Add support for shell elements (2D mesh in 3D space).

Here is an example of the Laplace-Beltrami operator:
image

Heat equation:

Reopen #214

@@ -211,8 +211,7 @@ namespace polyfem
std::shared_ptr<ImplicitTimeIntegrator> time_integrator;
if (is_scalar_or_mixed)
{
time_integrator = std::make_shared<BDF>();
time_integrator->set_parameters(args["time"]);
time_integrator = std::make_shared<BDF>(1); // TODO: use the parameter from the json file
Copy link
Member Author

Choose a reason for hiding this comment

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

Fix this or create an Issue

Copy link

codecov bot commented Mar 6, 2024

Codecov Report

Attention: Patch coverage is 71.61598% with 476 lines in your changes are missing coverage. Please review.

Project coverage is 63.12%. Comparing base (877989f) to head (566a4a1).

Files Patch % Lines
src/polyfem/autogen/auto_elasticity_rhs.cpp 69.40% 212 Missing ⚠️
...c/polyfem/assembler/MooneyRivlin3ParamSymbolic.cpp 0.00% 45 Missing ⚠️
src/polyfem/assembler/GenericElastic.cpp 35.89% 25 Missing ⚠️
src/polyfem/assembler/NeoHookeanElasticity.cpp 64.06% 23 Missing ⚠️
src/polyfem/assembler/RhsAssembler.cpp 70.14% 20 Missing ⚠️
src/polyfem/assembler/Assembler.hpp 55.55% 16 Missing ⚠️
src/polyfem/assembler/IncompressibleLinElast.cpp 46.15% 14 Missing ⚠️
src/polyfem/basis/ElementBases.cpp 81.08% 14 Missing ⚠️
src/polyfem/assembler/ViscousDamping.cpp 83.09% 12 Missing ⚠️
src/polyfem/utils/ElasticityUtils.cpp 53.84% 12 Missing ⚠️
... and 20 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #321      +/-   ##
==========================================
- Coverage   63.17%   63.12%   -0.05%     
==========================================
  Files         267      267              
  Lines       33536    33584      +48     
==========================================
+ Hits        21185    21199      +14     
- Misses      12351    12385      +34     
Flag Coverage Δ
polyfem 63.12% <71.61%> (-0.05%) ⬇️

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.

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.

None yet

1 participant