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
846823ae
Commit
846823ae
authored
6 years ago
by
oliver.sander_at_tu-dresden.de
Browse files
Options
Downloads
Patches
Plain Diff
Fix names of the result files
parent
987b855c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/quasiconvexity-test.cc
+3
-3
3 additions, 3 deletions
src/quasiconvexity-test.cc
with
3 additions
and
3 deletions
src/quasiconvexity-test.cc
+
3
−
3
View file @
846823ae
...
@@ -214,7 +214,7 @@ int main (int argc, char *argv[]) try
...
@@ -214,7 +214,7 @@ int main (int argc, char *argv[]) try
// We need to subsample, because VTK cannot natively display real second-order functions
// We need to subsample, because VTK cannot natively display real second-order functions
SubsamplingVTKWriter
<
GridView
>
vtkWriter
(
gridView
,
Dune
::
refinementLevels
(
0
));
SubsamplingVTKWriter
<
GridView
>
vtkWriter
(
gridView
,
Dune
::
refinementLevels
(
0
));
vtkWriter
.
addVertexData
(
localDisplacementFunction
,
VTK
::
FieldInfo
(
"displacement"
,
VTK
::
FieldInfo
::
Type
::
vector
,
dim
));
vtkWriter
.
addVertexData
(
localDisplacementFunction
,
VTK
::
FieldInfo
(
"displacement"
,
VTK
::
FieldInfo
::
Type
::
vector
,
dim
));
vtkWriter
.
write
(
resultPath
+
"
finite-strain
_homotopy_0"
);
vtkWriter
.
write
(
resultPath
+
"
quasiconvexity-test
_homotopy_0"
);
for
(
int
i
=
0
;
i
<
numHomotopySteps
;
i
++
)
for
(
int
i
=
0
;
i
<
numHomotopySteps
;
i
++
)
{
{
...
@@ -449,11 +449,11 @@ int main (int argc, char *argv[]) try
...
@@ -449,11 +449,11 @@ int main (int argc, char *argv[]) try
VTK
::
FieldInfo
(
"determinant"
,
VTK
::
FieldInfo
::
Type
::
scalar
,
1
));
VTK
::
FieldInfo
(
"determinant"
,
VTK
::
FieldInfo
::
Type
::
scalar
,
1
));
vtkWriter
.
addCellData
(
KFunction
,
vtkWriter
.
addCellData
(
KFunction
,
VTK
::
FieldInfo
(
"K"
,
VTK
::
FieldInfo
::
Type
::
scalar
,
1
));
VTK
::
FieldInfo
(
"K"
,
VTK
::
FieldInfo
::
Type
::
scalar
,
1
));
vtkWriter
.
write
(
resultPath
+
"
finite-strain
_homotopy_"
+
std
::
to_string
(
i
+
1
));
vtkWriter
.
write
(
resultPath
+
"
quasiconvexity-test
_homotopy_"
+
std
::
to_string
(
i
+
1
));
}
}
// Write the corresponding coefficient vector: verbatim in binary, to be completely lossless
// Write the corresponding coefficient vector: verbatim in binary, to be completely lossless
std
::
ofstream
outFile
(
"
finite-strain-elasticity
-result.data"
,
std
::
ios_base
::
binary
);
std
::
ofstream
outFile
(
"
quasiconvexity-test
-result.data"
,
std
::
ios_base
::
binary
);
MatrixVector
::
Generic
::
writeBinary
(
outFile
,
x
);
MatrixVector
::
Generic
::
writeBinary
(
outFile
,
x
);
outFile
.
close
();
outFile
.
close
();
...
...
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