Dear Dumux team,
I'd like to report an error which I'm experiencing. Whenever I use the
following lines, I get the error reported in the log file.
#if HAVE_DUNE_ALUGRID
SET_TYPE_PROP(TestIMPESAdaptive, Grid, Dune::ALUGrid<2, 2, Dune::cube,
Dune::nonconforming>);
#endif
Everything goes ok in the building and installation process.
Appropriate headers are present.
Thanks for help,
Kind regards,
Lorenzo Campoli
--
________________________________________________________
Le informazioni
contenute in questo messaggio di posta elettronica sono strettamente
riservate e indirizzate esclusivamente al destinatario. Si prega di non
leggere, fare copia, inoltrare a terzi o conservare tale messaggio se non
si è il legittimo destinatario dello stesso. Qualora tale messaggio sia
stato ricevuto per errore, si prega di restituirlo al mittente e di
cancellarlo permanentemente dal proprio computer.
The information
contained in this e mail message is strictly confidential and intended for
the use of the addressee only. If you are not the intended recipient,
please do not read, copy, forward or store it on your computer. If you have
received the message in error, please forward it back to the sender and
delete it permanently from your computer system.
Building CXX object test/porousmediumflow/2p/sequential/CMakeFiles/test_3d2pfvadaptive.dir/test_3d2p.cc.o
In file included from /home/lc/CFD/DUMUX/dumux/dumux/common/properties.hh:42,
from /home/lc/CFD/DUMUX/dumux/dumux/common/start.hh:33,
from /home/lc/CFD/DUMUX/dumux/test/porousmediumflow/2p/sequential/test_3d2p.cc:28:
/home/lc/CFD/DUMUX/dumux/dumux/common/properties/propertysystemmacros.hh:41:2: warning: #warning "Property macros are deprecated and will be removed after release 3.2. If you are not using property macros you can disable this warning by setting DUMUX_ENABLE_OLD_PROPERTY_MACROS to 0 (false) when configuring DuMux. DUMUX_ENABLE_OLD_PROPERTY_MACROS defaults to 1 (true) until release 3.1. After release 3.1 it will default to 0 (false) so you will have to manually enable property macros in order to use them." [-Wcpp]
#warning "Property macros are deprecated and will be removed after release 3.2. \
^~~~~~~
In file included from /home/lc/CFD/DUMUX/dumux/test/porousmediumflow/2p/sequential/test_3d2p.cc:28:
/home/lc/CFD/DUMUX/dumux/dumux/common/start.hh:38:2: warning: #warning "start.hh is deprecated. Use new style main files see e.g. /test/porousmediumflow/1p." [-Wcpp]
#warning "start.hh is deprecated. Use new style main files see e.g. /test/porousmediumflow/1p."
^~~~~~~
In file included from /home/lc/CFD/DUMUX/dumux/dumux/porousmediumflow/sequential/properties.hh:81,
from /home/lc/CFD/DUMUX/dumux/dumux/porousmediumflow/sequential/pressureproperties.hh:26,
from /home/lc/CFD/DUMUX/dumux/dumux/porousmediumflow/2p/sequential/diffusion/properties.hh:27,
from /home/lc/CFD/DUMUX/dumux/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/lmethod/3dpressureproperties.hh:29,
from /home/lc/CFD/DUMUX/dumux/test/porousmediumflow/2p/sequential/test_3d2pproblem.hh:35,
from /home/lc/CFD/DUMUX/dumux/test/porousmediumflow/2p/sequential/test_3d2p.cc:32:
/home/lc/CFD/DUMUX/dumux/dumux/common/timemanager.hh:27:2: warning: #warning "This file is deprecated. Use the TimeLoop class in common/timeloop.hh" [-Wcpp]
#warning "This file is deprecated. Use the TimeLoop class in common/timeloop.hh"
^~~~~~~
In file included from /home/lc/CFD/DUMUX/dumux/dumux/porousmediumflow/sequential/impetproblem.hh:24,
from /home/lc/CFD/DUMUX/dumux/dumux/porousmediumflow/2p/sequential/impes/problem.hh:28,
from /home/lc/CFD/DUMUX/dumux/test/porousmediumflow/2p/sequential/test_3d2pproblem.hh:41,
from /home/lc/CFD/DUMUX/dumux/test/porousmediumflow/2p/sequential/test_3d2p.cc:32:
/home/lc/CFD/DUMUX/dumux/dumux/io/vtkmultiwriter.hh:27:2: warning: #warning "This header is deprecated. Use the new vtkoutputmodule." [-Wcpp]
#warning "This header is deprecated. Use the new vtkoutputmodule."
^~~~~~~
In file included from /home/lc/CFD/DUMUX/dumux/dumux/porousmediumflow/2p/sequential/impes/problem.hh:28,
from /home/lc/CFD/DUMUX/dumux/test/porousmediumflow/2p/sequential/test_3d2pproblem.hh:41,
from /home/lc/CFD/DUMUX/dumux/test/porousmediumflow/2p/sequential/test_3d2p.cc:32:
/home/lc/CFD/DUMUX/dumux/dumux/porousmediumflow/sequential/impetproblem.hh:54:35: warning: âtemplate<class GridView, Dune::VTK::OutputType OutputValue> class Dumux::VtkMultiWriterâ is deprecated [-Wdeprecated-declarations]
using VtkMultiWriter = Dumux::VtkMultiWriter<GridView>;
^~~~~~~~~~~~~~
In file included from /home/lc/CFD/DUMUX/dumux/dumux/porousmediumflow/sequential/impetproblem.hh:24,
from /home/lc/CFD/DUMUX/dumux/dumux/porousmediumflow/2p/sequential/impes/problem.hh:28,
from /home/lc/CFD/DUMUX/dumux/test/porousmediumflow/2p/sequential/test_3d2pproblem.hh:41,
from /home/lc/CFD/DUMUX/dumux/test/porousmediumflow/2p/sequential/test_3d2p.cc:32:
/home/lc/CFD/DUMUX/dumux/dumux/io/vtkmultiwriter.hh:60:54: note: declared here
class [[deprecated("Use VtkOutputModule instead!")]] VtkMultiWriter
^~~~~~~~~~~~~~
In file included from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/gridfactory.cc:15,
from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/entity_imp.cc:11,
from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/entity.hh:693,
from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/grid_inline.hh:9,
from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/grid.hh:1372,
from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/indexsets.cc:10,
from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/indexsets.hh:691,
from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/alugrid.hh:8,
from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/grid.hh:16,
from /home/lc/CFD/DUMUX/dumux/dumux/io/grid/gridmanager_alu.hh:31,
from /home/lc/CFD/DUMUX/dumux/dumux/io/grid/gridmanager.hh:33,
from /home/lc/CFD/DUMUX/dumux/dumux/common/start.hh:36,
from /home/lc/CFD/DUMUX/dumux/test/porousmediumflow/2p/sequential/test_3d2p.cc:28:
/home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/gridfactory.hh: In instantiation of âDune::ALU3dGridFactory< <template-parameter-1-1> >::ALU3dGridFactory(const MPICommunicatorType&, bool) [with ALUGrid = Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)1, (Dune::ALUGridRefinementType)1>; Dune::ALU3dGridFactory< <template-parameter-1-1> >::MPICommunicatorType = Dune::ALUGridMPIComm]â:
/home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/gridfactory.hh:477:30: required from âDune::GridFactory<Dune::ALUGrid<dim, dimworld, eltype, refinementtype, Comm> >::GridFactory(const MPICommunicatorType&) [with int dim = 3; int dimw = 3; Dune::ALUGridElementType eltype = (Dune::ALUGridElementType)1; Dune::ALUGridRefinementType refinementtype = (Dune::ALUGridRefinementType)1; Comm = Dune::ALUGridMPIComm; Dune::GridFactory<Dune::ALUGrid<dim, dimworld, eltype, refinementtype, Comm> >::MPICommunicatorType = Dune::ALUGridMPIComm]â
/usr/include/c++/8/bits/unique_ptr.h:831:30: required from âtypename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Dune::GridFactory<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)1, (Dune::ALUGridRefinementType)1> >; _Args = {}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptr<Dune::GridFactory<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)1, (Dune::ALUGridRefinementType)1> >, std::default_delete<Dune::GridFactory<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)1, (Dune::ALUGridRefinementType)1> > > >]â
/home/lc/CFD/DUMUX/dumux/dumux/io/grid/gridmanager_alu.hh:162:77: required from âvoid Dumux::GridManager<Dune::ALUGrid<dim, dimworld, eltype, refinementtype, Dune::ALUGridMPIComm> >::makeGridFromFile(const string&, const string&) [with int dim = 3; int dimworld = 3; Dune::ALUGridElementType elType = (Dune::ALUGridElementType)1; Dune::ALUGridRefinementType refinementType = (Dune::ALUGridRefinementType)1; std::__cxx11::string = std::__cxx11::basic_string<char>]â
/home/lc/CFD/DUMUX/dumux/dumux/io/grid/gridmanager_alu.hh:99:13: required from âvoid Dumux::GridManager<Dune::ALUGrid<dim, dimworld, eltype, refinementtype, Dune::ALUGridMPIComm> >::init(const string&, bool) [with int dim = 3; int dimworld = 3; Dune::ALUGridElementType elType = (Dune::ALUGridElementType)1; Dune::ALUGridRefinementType refinementType = (Dune::ALUGridRefinementType)1; std::__cxx11::string = std::__cxx11::basic_string<char>]â
/home/lc/CFD/DUMUX/dumux/dumux/common/start.hh:83:5: required from âint Dumux::start_(int, char**, void (*)(const char*, const string&)) [with TypeTag = Dumux::Properties::TTag::FVTwoPTest; std::__cxx11::string = std::__cxx11::basic_string<char>]â
/home/lc/CFD/DUMUX/dumux/dumux/common/start.hh:132:31: required from âint Dumux::start(int, char**, void (*)(const char*, const string&)) [with TypeTag = Dumux::Properties::TTag::FVTwoPTest; std::__cxx11::string = std::__cxx11::basic_string<char>]â
/home/lc/CFD/DUMUX/dumux/test/porousmediumflow/2p/sequential/test_3d2p.cc:81:59: required from here
/home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/gridfactory.hh:530:48: error: âregisterFactoryâ is not a member of âDune::ALU3dGridFactory<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)1, (Dune::ALUGridRefinementType)1> >::BoundarySegmentWrapperTypeâ {aka âDune::BoundarySegmentWrapper<3, 3>â}
BoundarySegmentWrapperType::registerFactory();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/grid.hh:26,
from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/indexsets.cc:10,
from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/indexsets.hh:691,
from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/3d/alugrid.hh:8,
from /home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/grid.hh:16,
from /home/lc/CFD/DUMUX/dumux/dumux/io/grid/gridmanager_alu.hh:31,
from /home/lc/CFD/DUMUX/dumux/dumux/io/grid/gridmanager.hh:33,
from /home/lc/CFD/DUMUX/dumux/dumux/common/start.hh:36,
from /home/lc/CFD/DUMUX/dumux/test/porousmediumflow/2p/sequential/test_3d2p.cc:28:
/home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/common/bndprojection.hh: In instantiation of âvoid Dune::ALUGridBoundaryProjection<GridImp, ctype>::backup(Dune::ALUGridBoundaryProjection<GridImp, ctype>::BufferType&) const [with GridImp = Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)1, (Dune::ALUGridRefinementType)1>; ctype = double; Dune::ALUGridBoundaryProjection<GridImp, ctype>::BufferType = ALUGrid::BasicObjectStream<ALUGrid::ObjectStreamTraits>]â:
/home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/common/bndprojection.hh:76:10: required from here
/home/lc/CFD/DUMUX/dune-alugrid/dune/alugrid/common/bndprojection.hh:84:20: error: âconst struct Dune::DuneBoundaryProjection<3>â has no member named âtoBufferâ
projection_->toBuffer( os );
~~~~~~~~~~~~~^~~~~~~~
make[3]: *** [test/porousmediumflow/2p/sequential/CMakeFiles/test_3d2pfvadaptive.dir/build.make:63: test/porousmediumflow/2p/sequential/CMakeFiles/test_3d2pfvadaptive.dir/test_3d2p.cc.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:16990: test/porousmediumflow/2p/sequential/CMakeFiles/test_3d2pfvadaptive.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:16997: test/porousmediumflow/2p/sequential/CMakeFiles/test_3d2pfvadaptive.dir/rule] Error 2
make: *** [Makefile:299: test/porousmediumflow/2p/sequential/CMakeFiles/test_3d2pfvadaptive.dir/rule] Error 2
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux