Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
ad9977c1
Commit
ad9977c1
authored
Jan 16, 2020
by
niklas.baumgarten
Browse files
formatted
parent
347d6e96
Changes
1
Hide whitespace changes
Inline
Side-by-side
mlmc/src/stochastics/HybridFluxGenerator.C
View file @
ad9977c1
...
...
@@ -31,20 +31,13 @@ void HybridFluxGenerator2D::GetFineSample(Vector &fineField) {
Newton
newton
(
solver
);
newton
(
assemble
,
solution
);
assemble
.
setFlux
(
solution
,
fineField
);
newton
(
assemble
,
solution
);
assemble
.
setFlux
(
solution
,
fineField
);
}
void
HybridFluxGenerator2D
::
GetCoarseSample
(
const
Vector
&
fineField
,
Vector
&
coarseField
)
{
coarseField
=
0
;
for
(
cell
c
=
coarseField
.
cells
();
c
!=
coarseField
.
cells_end
();
c
++
)
{
row
coarseRow
=
coarseField
.
find_row
(
c
());
for
(
int
k
=
0
;
k
<
c
.
Children
();
++
k
)
{
...
...
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