Commit 5679e9dc authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

fixed clang-6.0 warnings

parent 217a9ec2
......@@ -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 )
{
......
......@@ -43,6 +43,8 @@ class DataProcessor
{
public:
virtual ~DataProcessor() = default;
/*
* Process "graph like" data
* every entry in the outer vector is a data-point.
......
......@@ -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 )
......
......@@ -249,6 +249,7 @@ public:
#ifdef TEST_USES_VTK_OUTPUT
error_.resize(time_);
#endif
WALBERLA_UNUSED(maxValue_);
}
void operator()();
......
......@@ -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
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment