Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
amdis
Commits
9c8a9a5c
Commit
9c8a9a5c
authored
Apr 25, 2012
by
Thomas Witkowski
Browse files
Fixed bug in heat demo.
parent
1880b10d
Changes
1
Hide whitespace changes
Inline
Side-by-side
demo/src/heat.cc
View file @
9c8a9a5c
...
...
@@ -206,9 +206,7 @@ int main(int argc, char** argv)
G
*
boundaryFct
=
new
G
;
boundaryFct
->
setTimePtr
(
heat
.
getTime
());
heat
.
setExactSolution
(
boundaryFct
);
DOFVector
<
double
>
G_dof
(
heatSpace
.
getFeSpace
(),
"G"
);
G_dof
.
interpol
(
boundaryFct
);
heatSpace
.
addDirichletBC
(
1
,
0
,
0
,
&
G_dof
);
heatSpace
.
addDirichletBC
(
1
,
0
,
0
,
boundaryFct
);
// ===== start adaption loop =====
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment