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
Houman Mirzaalian Dastjerdi
waLBerla
Commits
5679e9dc
Commit
5679e9dc
authored
Jun 06, 2018
by
Sebastian Eibl
Browse files
fixed clang-6.0 warnings
parent
217a9ec2
Changes
5
Hide whitespace changes
Inline
Side-by-side
apps/benchmarks/CouetteFlow/CouetteFlow.cpp
View file @
5679e9dc
...
...
@@ -241,7 +241,7 @@ class BorderRefinementSelection
public:
BorderRefinementSelection
(
const
Setup
&
setup
,
const
uint_t
level
,
const
real_t
bufferDistance
)
:
setup_
(
setup
),
level_
(
level
),
bufferDistance_
(
bufferDistance
)
{}
setup_
(
setup
),
level_
(
level
),
bufferDistance_
(
bufferDistance
)
{
WALBERLA_UNUSED
(
setup_
);
}
void
operator
()(
SetupBlockForest
&
forest
)
{
...
...
src/gather/DataProcessor.h
View file @
5679e9dc
...
...
@@ -43,6 +43,8 @@ class DataProcessor
{
public:
virtual
~
DataProcessor
()
=
default
;
/*
* Process "graph like" data
* every entry in the outer vector is a data-point.
...
...
src/mesh/pe/vtk/CommonDataSources.h
View file @
5679e9dc
...
...
@@ -189,6 +189,8 @@ public:
LinearVelocityFaceDataSource
(
const
std
::
string
&
_name
=
"linearVelocity"
)
:
Base
(
_name
)
{
}
virtual
~
LinearVelocityFaceDataSource
()
=
default
;
virtual
uint_t
numComponents
()
{
return
uint_t
(
3
);
}
virtual
void
getData
(
const
MeshType
&
/*mesh*/
,
const
Faces
&
faces
,
std
::
vector
<
value_type
>
&
data
,
const
BodyPointerFPropManager
&
bodyPointer
)
...
...
@@ -249,6 +251,8 @@ public:
AngularVelocityFaceDataSource
(
const
std
::
string
&
_name
=
"angularVelocity"
)
:
Base
(
_name
)
{
}
virtual
~
AngularVelocityFaceDataSource
()
=
default
;
virtual
uint_t
numComponents
()
{
return
uint_t
(
3
);
}
virtual
void
getData
(
const
MeshType
&
/*mesh*/
,
const
Faces
&
faces
,
std
::
vector
<
value_type
>
&
data
,
const
BodyPointerFPropManager
&
bodyPointer
)
...
...
@@ -279,6 +283,8 @@ public:
SurfaceVelocityVertexDataSource
(
const
std
::
string
&
_name
=
"surfaceVelocity"
)
:
Base
(
_name
)
{
}
virtual
~
SurfaceVelocityVertexDataSource
()
=
default
;
virtual
uint_t
numComponents
()
{
return
uint_t
(
3
);
}
virtual
void
getData
(
const
MeshType
&
mesh
,
const
Vertices
&
vertices
,
std
::
vector
<
value_type
>
&
data
,
const
BodyPointerVPropManager
&
bodyPointer
)
...
...
tests/lbm/boundary/SimpleDiffusionDirichlet.cpp
View file @
5679e9dc
...
...
@@ -249,6 +249,7 @@ public:
#ifdef TEST_USES_VTK_OUTPUT
error_
.
resize
(
time_
);
#endif
WALBERLA_UNUSED
(
maxValue_
);
}
void
operator
()();
...
...
tests/mesh/MeshContainmentOctreeTest.cpp
View file @
5679e9dc
...
...
@@ -69,9 +69,9 @@ int main( int argc, char * argv[] )
auto
aabb
=
computeAABB
(
*
mesh
);
static
const
mesh
::
TriangleMesh
::
Point
xAxis
(
1
,
0
,
0
);
static
const
mesh
::
TriangleMesh
::
Point
yAxis
(
0
,
1
,
0
);
static
const
mesh
::
TriangleMesh
::
Point
zAxis
(
0
,
0
,
1
);
//
static const mesh::TriangleMesh::Point xAxis( 1, 0, 0 );
//
static const mesh::TriangleMesh::Point yAxis( 0, 1, 0 );
//
static const mesh::TriangleMesh::Point zAxis( 0, 0, 1 );
mesh
::
TriangleMesh
::
Point
r
=
mesh
::
toOpenMesh
(
(
aabb
.
minCorner
()
-
aabb
.
maxCorner
()
).
getNormalized
()
);
...
...
@@ -124,4 +124,4 @@ int main( int argc, char * argv[] )
int
main
(
int
argc
,
char
*
argv
[]
)
{
return
walberla
::
mesh
::
main
(
argc
,
argv
);
}
\ No newline at end of file
}
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