Skip to content

Commit

Permalink
Aktualisieren von iks006_nonlinear2DSolid.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
rath3t authored May 27, 2024
1 parent bd4e995 commit 3f97d38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/iks006_nonlinear2DSolid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ else if constexpr (gt==GridType::NURBSGrid)
auto sk = skills(nonLinearElastic(reducedMat), volumeLoad<2>(vL), neumannBoundaryLoad(&neumannBoundary, neumannBl));

using FEType = decltype(makeFE(basis, sk));
std::vector<decltype(makeFE(basis, sk))> fes;
std::vector<FEType> fes;
for (auto&& ge : elements(gridView)) {
fes.emplace_back(makeFE(basis, sk));
fes.back().bind(ge);
Expand All @@ -195,8 +195,8 @@ using FEType = decltype(makeFE(basis, sk));
req.insertGlobalSolution(d)
.insertParameter( lambda);

sparseAssembler.bind(req);
sparseAssembler.bind(Ikarus::AffordanceCollections::elastoStatics);
sparseAssembler->bind(req);
sparseAssembler->bind(Ikarus::AffordanceCollections::elastoStatics);

auto nonlinSolver = [&](){
if constexpr (st==SolverType::NewtonRaphson)
Expand Down

0 comments on commit 3f97d38

Please sign in to comment.