Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Phillip Lino Rall
UGBlocks_V3
Commits
41fc5333
Commit
41fc5333
authored
Dec 12, 2020
by
Christoph Pflaum
Browse files
Bug raus von interpolation
parent
5ebf0313
Changes
2
Hide whitespace changes
Inline
Side-by-side
program/source/interpol/interpol.cc
View file @
41fc5333
...
...
@@ -740,7 +740,7 @@ if(boxWSD.z < 0 && boxENT.z > 0.0 && boxWSD.y < 0.5 && boxENT.y > 0.5 && boxWSD.
}
#pragma omp critical
if
(
stop
==
false
&&
typ_tet
[
ind_global
]
!=
6
)
{
if
(
stop
==
false
)
{
//
&& typ_tet[ind_global] != 6) {
// Phillip: das darf man so nicht machen!
ids_hex
[
ind_global
]
=
id_hex
;
ids_i
[
ind_global
]
=
i
;
ids_j
[
ind_global
]
=
j
;
...
...
@@ -1108,9 +1108,9 @@ Interpolate_on_block_grid::Interpolate_on_block_grid(int nx_, int ny_, int nz_,
hz
=
(
pENT
.
z
-
pWSD
.
z
)
/
(
nz
-
1
);
/*
// test GGGG
/*
// test
cout << "\n WSD: " ; pWSD.Print();
cout << "\n ENT: " ; pENT.Print();
cout << "nx: " << nx << " ny: " << ny << " nz: " << nz << endl;
...
...
program/source/interpol/interpol.h
View file @
41fc5333
...
...
@@ -194,6 +194,7 @@ void Interpolate_on_structured_grid::interpolate(Variable<DTyp>& u, DTyp* data,
<< endl;
*/
if
(
typ
==
0
)
data
[
ind_global
]
=
interpolate_in_tet
(
lambda
[
ind_global
],
du
.
WND
(),
du
.
WNT
(),
du
.
WST
(),
du
.
EST
());
if
(
typ
==
1
)
data
[
ind_global
]
=
interpolate_in_tet
(
lambda
[
ind_global
],
...
...
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