mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-21 16:57:25 -06:00
fix quite a few warnings that occur on clang when using -Weverything
most warnings were in DUNE and ALUGrid, but these have been ignored. Also fixing some of these warnings (in particular the "parameter foo is unused" ones) would make the code harder to read and understand, so they have been ignored, too...
This commit is contained in:
parent
b39910eb34
commit
86bc13912d
@ -42,6 +42,17 @@ typedef Ewoms::QuadrialteralQuadratureGeometry<Scalar, dim> QuadratureGeom;
|
||||
typedef QuadratureGeom::LocalPosition LocalPosition;
|
||||
typedef QuadratureGeom::GlobalPosition GlobalPosition;
|
||||
|
||||
// function prototypes
|
||||
GlobalPosition::field_type f(const GlobalPosition &pos);
|
||||
void testIdenityMapping();
|
||||
template <class Grid>
|
||||
void writeTetrahedronSubControlVolumes(const Grid &grid);
|
||||
void testTetrahedron();
|
||||
template <class Grid>
|
||||
void writeCubeSubControlVolumes(const Grid &grid);
|
||||
void testCube();
|
||||
void testQuadrature();
|
||||
|
||||
GlobalPosition::field_type f(const GlobalPosition &pos)
|
||||
{
|
||||
GlobalPosition::field_type result = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user