nutofem / nuto

NuTo - yet another finite element library
https://nuto.readthedocs.io
Boost Software License 1.0
17 stars 5 forks source link

Pde remove dof dimension #154

Closed TTitscher closed 6 years ago

TTitscher commented 6 years ago

Solves #142.

The only place where there the dof dimension is needed is the calculation of the N matrix. This dimension is now extracted from the first node of the element, namely the NodeSimple::GetNumValues().

codecov[bot] commented 6 years ago

Codecov Report

Merging #154 into PDE_reviewed will decrease coverage by 0.07%. The diff coverage is 100%.

Impacted file tree graph

@@               Coverage Diff                @@
##           PDE_reviewed     #154      +/-   ##
================================================
- Coverage         63.94%   63.86%   -0.08%     
================================================
  Files               221      221              
  Lines              8678     8649      -29     
================================================
- Hits               5549     5524      -25     
+ Misses             3129     3125       -4
Impacted Files Coverage Δ
...ics/interpolation/InterpolationTriangleQuadratic.h 100% <ø> (ø) :arrow_up:
...anics/interpolation/InterpolationQuadSerendipity.h 81.81% <ø> (+8.48%) :arrow_up:
...ics/interpolation/InterpolationTetrahedronLinear.h 81.81% <ø> (+8.48%) :arrow_up:
src/mechanics/elements/ElementInterface.h 100% <ø> (ø) :arrow_up:
src/mechanics/interpolation/InterpolationSimple.h 100% <ø> (ø) :arrow_up:
...mechanics/interpolation/InterpolationTrussLinear.h 100% <ø> (ø) :arrow_up:
...hanics/interpolation/InterpolationTriangleLinear.h 100% <ø> (ø) :arrow_up:
.../mechanics/interpolation/InterpolationQuadLinear.h 100% <ø> (ø) :arrow_up:
src/mechanics/mesh/UnitMeshFem.cpp 100% <100%> (ø) :arrow_up:
test/mechanics/cell/PatchTest.cpp 100% <100%> (ø) :arrow_up:
... and 9 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0cc9d1d...6f087e6. Read the comment docs.