Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Backofen, Rainer
amdis
Commits
18f77e83
Commit
18f77e83
authored
Jun 29, 2015
by
Praetorius, Simon
Browse files
allow lambda functiosn in Dirichlet BC
parent
aeaa15ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/DirichletBC.cc
View file @
18f77e83
...
...
@@ -72,6 +72,7 @@ namespace AMDiS {
}
#if __cplusplus > 199711L
// c++11 std::function of lambda-functions
void
DirichletBC
<
_value_by_function
>::
fillBoundaryCondition
(
DOFVectorBase
<
double
>*
vector
,
...
...
@@ -91,7 +92,7 @@ namespace AMDiS {
(
*
vector
)[
dofIndices
[
i
]]
=
value
;
}
}
#endif
void
DirichletBC
<
_value_by_abstractfunction
>::
fillBoundaryCondition
(
DOFVectorBase
<
double
>*
vector
,
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment