From 7cb5a78517fad93c6e3594b676ef5ce7773a58b3 Mon Sep 17 00:00:00 2001 From: AlexanderMueller Date: Thu, 20 Jun 2024 18:23:15 +0200 Subject: [PATCH] fix --- src/iks003_incompressibleLinearElasticity.cpp | 2 +- src/iks006_nonlinear2DSolid.cpp | 2 +- src/iks007_vonMisesTruss.cpp | 2 +- src/iks008_cooksMembrane.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/iks003_incompressibleLinearElasticity.cpp b/src/iks003_incompressibleLinearElasticity.cpp index ada0d37..7247928 100644 --- a/src/iks003_incompressibleLinearElasticity.cpp +++ b/src/iks003_incompressibleLinearElasticity.cpp @@ -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(); diff --git a/src/iks006_nonlinear2DSolid.cpp b/src/iks006_nonlinear2DSolid.cpp index 292bb89..1b373fe 100644 --- a/src/iks006_nonlinear2DSolid.cpp +++ b/src/iks006_nonlinear2DSolid.cpp @@ -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) diff --git a/src/iks007_vonMisesTruss.cpp b/src/iks007_vonMisesTruss.cpp index ed1beb0..10870d5 100644 --- a/src/iks007_vonMisesTruss.cpp +++ b/src/iks007_vonMisesTruss.cpp @@ -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); diff --git a/src/iks008_cooksMembrane.cpp b/src/iks008_cooksMembrane.cpp index f4c4dc5..dfc0dab 100644 --- a/src/iks008_cooksMembrane.cpp +++ b/src/iks008_cooksMembrane.cpp @@ -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();