Dear DuMuX community,
I am running DuMuX release/3.0.
*I switched* an app using the 2pncNIMin model *from CCTpfa* spatial
disctretization method *to the Box* discretization *method*.
The application runs fine, but I always get this *warning* at
compile time :
*Scanning dependencies of target ccs_biofilm*
[ 50%] Building CXX object
ccs_biofilm/CMakeFiles/ccs_biofilm.dir/ccs_biofilm.cc.o
In file included from
/path/to/dumuxfolder/dumux/dumux/porousmediumflow/2pnc/model.hh:98:0,
from
/path/to/dumuxfolder/dumux/dumux/porousmediumflow/2pncmin/model.hh:94,
from
/path/to/dumuxfolder/mymodule/app/ccs_biofilm.hh:35,
from
/path/to/dumuxfolder/mymodule/app/ccs_biofilm.cc:54
<http://ccs_biofilm.cc:54/>:
path/to/dumuxfolder/dumux/dumux/porousmediumflow/compositional/switchableprimaryvariables.hh:
In function ‘PrimaryVariables Dumux::evalSolution(const
Element&, const typename Element::Geometry&, const
Dumux::BoxElementSolution<FVElementGeometry,
PrimaryVariables>&, const typename
Element::Geometry::GlobalCoordinate&, bool) [with Element =
Dune::Entity<0, 3, const Dune::YaspGrid<3,
Dune::TensorProductCoordinates<double, 3> >, Dune::YaspEntity>;
FVElementGeometry =
Dumux::BoxFVElementGeometry<Dumux::BoxFVGridGeometry<double,
Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3, Dune::TensorProductCoordinates<double, 3> > >
>, true,
Dumux::BoxDefaultGridGeometryTraits<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3, Dune::TensorProductCoordinates<double, 3> > >
>,
Dumux::DefaultMapperTraits<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3, Dune::TensorProductCoordinates<double, 3> > >
>,
Dune::MultipleCodimMultipleGeomTypeMapper<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3, Dune::TensorProductCoordinates<double, 3> > >
>, Dune::Impl::MCMGFailLayout>,
Dune::MultipleCodimMultipleGeomTypeMapper<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3, Dune::TensorProductCoordinates<double, 3> > >
>, Dune::Impl::MCMGFailLayout> > > >, true>; PrimaryVariables =
Dumux::SwitchablePrimaryVariables<Dune::FieldVector<double, 6>,
int>]’:
path/to/dumuxfolder/dumux/dumux/porousmediumflow/compositional/switchableprimaryvariables.hh:37:7:
*warning: *‘*((void*)& result +48)’ may be used uninitialized
in this function [*-Wmaybe-uninitialized*]
class *SwitchablePrimaryVariables* : public PrimaryVariables
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/path/to/dumuxfolder/mymodule/app/ccs_biofilm.hh:41:0,
from
/path/to/dumuxfolder/mymodule/app/ccs_biofilm.cc:54
<http://ccs_biofilm.cc:54/>:
/path/to/dumuxfolder/dumux/dumux/discretization/evalsolution.hh:193:26:
*note:* ‘*((void*)& result +48)’ was declared here
PrimaryVariables *result(0.0)*;
^~~~~~
[100%] *Linking CXX executable ccs_biofilm*
[100%] Built target ccs_biofilm
Note that /path/to/dumuxfolder/mymodule/app/ccs_biofilm.cc:54
<http://ccs_biofilm.cc:54/> is :
#include "ccs_biofilm.hh"
And /path/to/dumuxfolder/mymodule/app/ccs_biofilm.hh:35 is :
#include <dumux/porousmediumflow/2pncmin/model.hh>
And /path/to/dumuxfolder/mymodule/app/ccs_biofilm.hh:41:0 is :
#include <dumux/discretization/evalsolution.hh>
I tried to look around in the files but this is probably too
technical for me.
Is this warning somehow familiar to you ? Can I ignore it without
any problem or should I try to solve that ?
Best regards,
Joan
_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux