Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
18c0cb9a
Commit
18c0cb9a
authored
Feb 02, 2021
by
niklas.baumgarten
Browse files
bug fix flux computation
parent
b4485aab
Changes
3
Hide whitespace changes
Inline
Side-by-side
mlmc/src/pdesolver/assembling/HybridEllipticAssemble.cpp
View file @
18c0cb9a
...
...
@@ -214,7 +214,7 @@ void HybridEllipticAssemble::SetFlux(const Vector &u, Vector &flux) {
}
}
F
*=
(
1
/
area
);
for
(
int
d
=
0
;
d
<
3
;
++
d
)
for
(
int
d
=
0
;
d
<
SpaceDimension
;
++
d
)
flux
(
c
(),
d
)
=
F
[
d
];
}
}
...
...
mlmc/src/pdesolver/assembling/LagrangeEllipticAssemble.cpp
View file @
18c0cb9a
...
...
@@ -329,7 +329,7 @@ void LagrangeEllipticAssemble::SetFlux(const Vector &u, Vector &flux) {
area
+=
w
;
}
F
*=
(
1
/
area
);
for
(
int
d
=
0
;
d
<
3
;
++
d
)
{
for
(
int
d
=
0
;
d
<
SpaceDimension
;
++
d
)
{
flux
(
c
(),
d
)
=
F
[
d
];
}
}
...
...
mlmc/src/pdesolver/assembling/MixedEllipticAssemble.cpp
View file @
18c0cb9a
...
...
@@ -355,7 +355,7 @@ void MixedEllipticAssemble::SetFlux(const Vector &u, Vector &flux) {
area
+=
w
;
}
F
*=
(
1
/
area
);
for
(
int
d
=
0
;
d
<
3
;
++
d
)
{
for
(
int
d
=
0
;
d
<
SpaceDimension
;
++
d
)
{
flux
(
c
(),
d
)
=
F
[
d
];
}
}
...
...
Write
Preview
Markdown
is supported
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