Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirtualFluids
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iRMB
VirtualFluids
Commits
9f4077a5
Commit
9f4077a5
authored
2 years ago
by
Anna Wellmann
Browse files
Options
Downloads
Patches
Plain Diff
Remove old functins for writing send nodes to file
parent
4dcbc9d4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!104
Add Communication Hiding to GPU version
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/gpu/VirtualFluids_GPU/Output/FileWriter.cpp
+0
-35
0 additions, 35 deletions
src/gpu/VirtualFluids_GPU/Output/FileWriter.cpp
src/gpu/VirtualFluids_GPU/Output/FileWriter.h
+0
-6
0 additions, 6 deletions
src/gpu/VirtualFluids_GPU/Output/FileWriter.h
with
0 additions
and
41 deletions
src/gpu/VirtualFluids_GPU/Output/FileWriter.cpp
+
0
−
35
View file @
9f4077a5
...
@@ -290,41 +290,6 @@ void FileWriter::writeUnstrucuredGridLT(std::shared_ptr<Parameter> para, int lev
...
@@ -290,41 +290,6 @@ void FileWriter::writeUnstrucuredGridLT(std::shared_ptr<Parameter> para, int lev
}
}
}
}
void
FileWriter
::
testForSendNodeX
(
std
::
shared_ptr
<
Parameter
>
&
para
,
int
level
,
unsigned
int
pos
,
int
&
sendNode
)
{
testForCommunicationNode
(
para
,
level
,
pos
,
sendNode
,
&
para
->
getParH
(
level
)
->
sendProcessNeighborX
,
&
para
->
getParH
(
level
)
->
sendProcessNeighborsAfterFtoCX
);
}
void
FileWriter
::
testForSendNodeY
(
std
::
shared_ptr
<
Parameter
>
&
para
,
int
level
,
unsigned
int
pos
,
int
&
sendNode
)
{
testForCommunicationNode
(
para
,
level
,
pos
,
sendNode
,
&
para
->
getParH
(
level
)
->
sendProcessNeighborY
,
&
para
->
getParH
(
level
)
->
sendProcessNeighborsAfterFtoCY
);
}
void
FileWriter
::
testForSendNodeZ
(
std
::
shared_ptr
<
Parameter
>
&
para
,
int
level
,
unsigned
int
pos
,
int
&
sendNode
)
{
testForCommunicationNode
(
para
,
level
,
pos
,
sendNode
,
&
para
->
getParH
(
level
)
->
sendProcessNeighborZ
,
&
para
->
getParH
(
level
)
->
sendProcessNeighborsAfterFtoCZ
);
}
void
FileWriter
::
testForCommunicationNode
(
std
::
shared_ptr
<
Parameter
>
&
para
,
int
level
,
unsigned
int
pos
,
int
&
sendNode
,
std
::
vector
<
PN27
>
*
sendOrRecvProcessNeighbor
,
std
::
vector
<
PN27
>
*
sendOrRecvProcessNeighborAfterFtoC
)
{
for
(
uint
direction
=
0
;
direction
<
(
uint
)
sendOrRecvProcessNeighbor
->
size
();
direction
++
)
{
for
(
int
i
=
0
;
i
<
(
*
sendOrRecvProcessNeighbor
)[
direction
].
numberOfNodes
;
i
++
)
{
if
(
pos
==
(
uint
)(
*
sendOrRecvProcessNeighbor
)[
direction
].
index
[
i
])
{
sendNode
=
1
;
if
(
level
<
para
->
getMaxLevel
()
&&
i
<
(
*
sendOrRecvProcessNeighborAfterFtoC
)[
direction
].
numberOfNodes
)
{
sendNode
=
2
;
}
return
;
}
}
}
}
void
FileWriter
::
writeUnstrucuredGridLTConc
(
std
::
shared_ptr
<
Parameter
>
para
,
int
level
,
std
::
vector
<
std
::
string
>&
fname
)
void
FileWriter
::
writeUnstrucuredGridLTConc
(
std
::
shared_ptr
<
Parameter
>
para
,
int
level
,
std
::
vector
<
std
::
string
>&
fname
)
{
{
std
::
vector
<
UbTupleFloat3
>
nodes
;
std
::
vector
<
UbTupleFloat3
>
nodes
;
...
...
This diff is collapsed.
Click to expand it.
src/gpu/VirtualFluids_GPU/Output/FileWriter.h
+
0
−
6
View file @
9f4077a5
...
@@ -26,12 +26,6 @@ private:
...
@@ -26,12 +26,6 @@ private:
//void VIRTUALFLUIDS_GPU_EXPORT writeParticle(Parameter* para, unsigned int t);
//void VIRTUALFLUIDS_GPU_EXPORT writeParticle(Parameter* para, unsigned int t);
void
VIRTUALFLUIDS_GPU_EXPORT
writeUnstrucuredGridLT
(
std
::
shared_ptr
<
Parameter
>
para
,
int
level
,
void
VIRTUALFLUIDS_GPU_EXPORT
writeUnstrucuredGridLT
(
std
::
shared_ptr
<
Parameter
>
para
,
int
level
,
std
::
vector
<
std
::
string
>
&
fname
);
std
::
vector
<
std
::
string
>
&
fname
);
void
testForSendNodeX
(
std
::
shared_ptr
<
Parameter
>
&
para
,
int
level
,
unsigned
int
pos
,
int
&
sendNode
);
void
testForSendNodeY
(
std
::
shared_ptr
<
Parameter
>
&
para
,
int
level
,
unsigned
int
pos
,
int
&
sendNode
);
void
testForSendNodeZ
(
std
::
shared_ptr
<
Parameter
>
&
para
,
int
level
,
unsigned
int
pos
,
int
&
sendNode
);
void
testForCommunicationNode
(
std
::
shared_ptr
<
Parameter
>
&
para
,
int
level
,
unsigned
int
pos
,
int
&
sendNode
,
std
::
vector
<
PN27
>
*
sendOrRecvProcessNeighbor
,
std
::
vector
<
PN27
>
*
sendOrRecvProcessNeighborAfterFtoC
);
void
VIRTUALFLUIDS_GPU_EXPORT
writeUnstrucuredGridLTConc
(
std
::
shared_ptr
<
Parameter
>
para
,
int
level
,
std
::
vector
<
std
::
string
>&
fname
);
void
VIRTUALFLUIDS_GPU_EXPORT
writeUnstrucuredGridLTConc
(
std
::
shared_ptr
<
Parameter
>
para
,
int
level
,
std
::
vector
<
std
::
string
>&
fname
);
void
VIRTUALFLUIDS_GPU_EXPORT
writeUnstrucuredGridMedianLT
(
std
::
shared_ptr
<
Parameter
>
para
,
int
level
,
std
::
vector
<
std
::
string
>&
fname
);
void
VIRTUALFLUIDS_GPU_EXPORT
writeUnstrucuredGridMedianLT
(
std
::
shared_ptr
<
Parameter
>
para
,
int
level
,
std
::
vector
<
std
::
string
>&
fname
);
void
VIRTUALFLUIDS_GPU_EXPORT
writeUnstrucuredGridMedianLTConc
(
std
::
shared_ptr
<
Parameter
>
para
,
int
level
,
std
::
vector
<
std
::
string
>&
fname
);
void
VIRTUALFLUIDS_GPU_EXPORT
writeUnstrucuredGridMedianLTConc
(
std
::
shared_ptr
<
Parameter
>
para
,
int
level
,
std
::
vector
<
std
::
string
>&
fname
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment