Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gfe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sander, Oliver
dune-gfe
Commits
731a354a
Commit
731a354a
authored
14 years ago
by
Oliver Sander
Committed by
sander@FU-BERLIN.DE
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
adapt to recent interface changes
[[Imported from SVN: r6305]]
parent
6d2ddd85
No related branches found
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
test/frameinvariancetest.cc
+6
-5
6 additions, 5 deletions
test/frameinvariancetest.cc
with
6 additions
and
5 deletions
test/frameinvariancetest.cc
+
6
−
5
View file @
731a354a
...
...
@@ -9,7 +9,7 @@
#include
<dune/gfe/rodassembler.hh>
#include
<dune/gfe/
configura
tion.hh>
#include
<dune/gfe/
rigidbodymo
tion.hh>
#include
<dune/gfe/rodwriter.hh>
// Number of degrees of freedom:
...
...
@@ -25,7 +25,7 @@ int main (int argc, char *argv[]) try
// Some types that I need
typedef
BCRSMatrix
<
FieldMatrix
<
double
,
blocksize
,
blocksize
>
>
MatrixType
;
typedef
BlockVector
<
FieldVector
<
double
,
blocksize
>
>
CorrectionType
;
typedef
std
::
vector
<
Configuration
>
SolutionType
;
typedef
std
::
vector
<
RigidBodyMotion
<
3
>
>
SolutionType
;
// Problem settings
const
int
numRodBaseElements
=
1
;
...
...
@@ -88,14 +88,15 @@ int main (int argc, char *argv[]) try
writeRod
(
x
,
"rod"
);
writeRod
(
rotatedX
,
"rotated"
);
RodLocalStiffness
<
GridType
,
double
>
assembler
;
RodLocalStiffness
<
GridType
::
LeafGridView
,
double
>
assembler
(
grid
.
leafView
(),
1
,
1
,
1
,
1e6
,
0.3
);
for
(
int
i
=
1
;
i
<
2
;
i
++
)
{
double
p
=
double
(
i
)
/
2
;
assembler
.
getStrain
(
x
,
grid
.
lbegin
<
0
>
(
0
),
p
);
assembler
.
getStrain
(
rotatedX
,
grid
.
lbegin
<
0
>
(
0
),
p
);
assembler
.
getStrain
(
x
,
*
grid
.
lbegin
<
0
>
(
0
),
p
);
assembler
.
getStrain
(
rotatedX
,
*
grid
.
lbegin
<
0
>
(
0
),
p
);
}
...
...
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