Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rath3t committed Jun 20, 2024
1 parent a2fade9 commit 7cb5a78
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/iks003_incompressibleLinearElasticity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ int main(int argc, char** argv) {

sparseFlatAssembler.bind(req);
sparseFlatAssembler.bind(Ikarus::AffordanceCollections::elastoStatics);
sparseFlatAssembler.bind(Ikarus::EnforcingDBCOption::Reduced);
sparseFlatAssembler.bind(Ikarus::DBCOption::Reduced);

auto& K = sparseFlatAssembler.matrix();
auto& R = sparseFlatAssembler.vector();
Expand Down
2 changes: 1 addition & 1 deletion src/iks006_nonlinear2DSolid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ using FEType = decltype(makeFE(basis, sk));
req.insertGlobalSolution(d)
.insertParameter( lambda);

sparseAssembler->bind(req,Ikarus::AffordanceCollections::elastoStatics,Ikarus::EnforcingDBCOption::Full);
sparseAssembler->bind(req,Ikarus::AffordanceCollections::elastoStatics,Ikarus::DBCOption::Full);

auto nonlinSolver = [&](){
if constexpr (st==SolverType::NewtonRaphson)
Expand Down
2 changes: 1 addition & 1 deletion src/iks007_vonMisesTruss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ int main(int argc, char** argv) {
auto req = AutoDiffFE::Requirement();
req.insertGlobalSolution(d)
.insertParameter( lambda);
denseFlatAssembler->bind(req,Ikarus::AffordanceCollections::elastoStatics, Ikarus::EnforcingDBCOption::Full);
denseFlatAssembler->bind(req,Ikarus::AffordanceCollections::elastoStatics, Ikarus::DBCOption::Full);

/// Choose linear solver
auto linSolver = Ikarus::LinearSolver(Ikarus::SolverTypeTag::d_LDLT);
Expand Down
2 changes: 1 addition & 1 deletion src/iks008_cooksMembrane.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ int main(int argc, char** argv) {
.insertParameter( lambdaLoad);

sparseAssembler->bind(req);
sparseAssembler->bind(Ikarus::EnforcingDBCOption::Full);
sparseAssembler->bind(Ikarus::DBCOption::Full);


auto startAssembly = std::chrono::high_resolution_clock::now();
Expand Down

0 comments on commit 7cb5a78

Please sign in to comment.