Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-elasticity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
agnumpde
dune-elasticity
Commits
b4a058b0
Commit
b4a058b0
authored
15 years ago
by
Leo Schmidt
Committed by
lschmidt@PCPOOL.MI.FU-BERLIN.DE
15 years ago
Browse files
Options
Downloads
Patches
Plain Diff
corrected includes, IterativeSolver -> LoopSolver, BoundaryPatch -> LevelBoundaryPatch
[[Imported from SVN: r10133]]
parent
d480c87f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nonlinelast.cc
+9
-9
9 additions, 9 deletions
nonlinelast.cc
with
9 additions
and
9 deletions
nonlinelast.cc
+
9
−
9
View file @
b4a058b0
...
@@ -7,17 +7,17 @@
...
@@ -7,17 +7,17 @@
#include
<dune/grid/io/file/amirameshwriter.hh>
#include
<dune/grid/io/file/amirameshwriter.hh>
#include
<dune/grid/io/file/amirameshreader.hh>
#include
<dune/grid/io/file/amirameshreader.hh>
#include
"
src
/ogdenassembler.hh"
#include
"
dune-elasticity
/ogdenassembler.hh"
#include
<dune/istl/io.hh>
#include
<dune/istl/io.hh>
#include
<dune/ag-common/prolongboundarypatch.hh>
#include
<dune/ag-common/prolongboundarypatch.hh>
#include
<dune/ag-common/sampleonbitfield.hh>
#include
<dune/ag-common/sampleonbitfield.hh>
#include
<dune/ag-common/readbitfield.hh>
#include
<dune/ag-common/readbitfield.hh>
#include
<dune
/ag-common
/quadraticipopt.hh>
#include
<dune
-solvers/solvers
/quadraticipopt.hh>
#include
<dune
/ag-common/iterative
solver.hh>
#include
<dune
-solvers/solvers/loop
solver.hh>
#include
<dune
/ag-common
/norms/energynorm.hh>
#include
<dune
-solvers
/norms/energynorm.hh>
#include
<dune
/ag-common/solver
s/mmgstep.hh>
#include
<dune
-solvers/iterationstep
s/mmgstep.hh>
// Choose a solver
// Choose a solver
#define IPOPT
#define IPOPT
...
@@ -68,7 +68,7 @@ int main (int argc, char *argv[]) try
...
@@ -68,7 +68,7 @@ int main (int argc, char *argv[]) try
Dune
::
AmiraMeshReader
<
GridType
>::
read
(
grid
,
gridFile
);
Dune
::
AmiraMeshReader
<
GridType
>::
read
(
grid
,
gridFile
);
// Read Dirichlet boundary values
// Read Dirichlet boundary values
std
::
vector
<
BoundaryPatch
<
GridType
>
>
dirichletBoundary
(
numLevels
);
std
::
vector
<
Level
BoundaryPatch
<
GridType
>
>
dirichletBoundary
(
numLevels
);
dirichletBoundary
[
0
].
setup
(
grid
,
0
);
dirichletBoundary
[
0
].
setup
(
grid
,
0
);
readBoundaryPatch
(
dirichletBoundary
[
0
],
dnFile
);
readBoundaryPatch
(
dirichletBoundary
[
0
],
dnFile
);
...
@@ -161,7 +161,7 @@ int main (int argc, char *argv[]) try
...
@@ -161,7 +161,7 @@ int main (int argc, char *argv[]) try
SmootherType
projectedBlockGSStep
(
*
bilinearForm
,
x
,
rhs
);
SmootherType
projectedBlockGSStep
(
*
bilinearForm
,
x
,
rhs
);
projectedBlockGSStep
.
dirichletNodes_
=
&
dirichletNodes
[
maxlevel
];
projectedBlockGSStep
.
dirichletNodes_
=
&
dirichletNodes
[
maxlevel
];
Iterative
Solver
<
OperatorType
,
ContactVector
<
dim
>
>
solver
;
::
Loop
Solver
<
OperatorType
,
ContactVector
<
dim
>
>
solver
;
solver
.
iterationStep
=
&
projectedBlockGSStep
;
solver
.
iterationStep
=
&
projectedBlockGSStep
;
solver
.
numIt
=
numIt
;
solver
.
numIt
=
numIt
;
solver
.
verbosity_
=
Solver
::
FULL
;
solver
.
verbosity_
=
Solver
::
FULL
;
...
@@ -181,7 +181,7 @@ int main (int argc, char *argv[]) try
...
@@ -181,7 +181,7 @@ int main (int argc, char *argv[]) try
ProjectedBlockGSStep
<
OperatorType
,
ContactVector
<
dim
>
>
baseSolverStep
;
ProjectedBlockGSStep
<
OperatorType
,
ContactVector
<
dim
>
>
baseSolverStep
;
Iterative
Solver
<
OperatorType
,
ContactVector
<
dim
>
>
baseSolver
;
::
Loop
Solver
<
OperatorType
,
ContactVector
<
dim
>
>
baseSolver
;
baseSolver
.
iterationStep
=
&
baseSolverStep
;
baseSolver
.
iterationStep
=
&
baseSolverStep
;
baseSolver
.
numIt
=
baseIt
;
baseSolver
.
numIt
=
baseIt
;
baseSolver
.
verbosity_
=
Solver
::
QUIET
;
baseSolver
.
verbosity_
=
Solver
::
QUIET
;
...
@@ -203,7 +203,7 @@ int main (int argc, char *argv[]) try
...
@@ -203,7 +203,7 @@ int main (int argc, char *argv[]) try
contactMMGStep
.
postsmoother_
=
&
postsmoother
;
contactMMGStep
.
postsmoother_
=
&
postsmoother
;
contactMMGStep
.
funcSpace_
=
funcSpace
;
contactMMGStep
.
funcSpace_
=
funcSpace
;
Iterative
Solver
<
OperatorType
,
ContactVector
<
dim
>
>
solver
;
::
Loop
Solver
<
OperatorType
,
ContactVector
<
dim
>
>
solver
;
solver
.
iterationStep
=
&
contactMMGStep
;
solver
.
iterationStep
=
&
contactMMGStep
;
solver
.
numIt
=
numIt
;
solver
.
numIt
=
numIt
;
solver
.
verbosity_
=
Solver
::
FULL
;
solver
.
verbosity_
=
Solver
::
FULL
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment