← Back to team overview

yade-users team mailing list archive

[Question #700720]: DFNFlow engine

 

New question #700720 on Yade:
https://answers.launchpad.net/yade/+question/700720

Hello, 

I am trying to work with the DFNflow.cpp engine.  Unfortunately there is a compilation error and interrupted ,when uncommenting line 17 as Recommended.

Can you help please to solve this problem ?!

The error is :

"/yade/trunk/pkg/pfv/DFNFlow.cpp: In member function ‘void yade::DFNBoundingSphere::saveVtk(const char*, bool)’:
/yade/trunk/pkg/pfv/DFNFlow.cpp:60:40: error: unused parameter ‘withBoundaries’ [-Werror=unused-parameter]
  void saveVtk(const char* folder, bool withBoundaries) //FIXME: withBoundaries does nothing in DFNFlow right now. Needed for consistent templating.
                                        ^~~~~~~~~~~~~~
/yade/trunk/pkg/pfv/DFNFlow.cpp: At global scope:
/yade/trunk/pkg/pfv/DFNFlow.cpp:163:7: error: ‘virtual void yade::DFNFlowEngine::trickPermeability(yade::TemplateFlowEngine_DFNFlowEngineT<yade::DFNCellInfo, yade::DFNVertexInfo, yade::CGT::_Tesselation<yade::CGT::TriangulationTypes<yade::DFNVertexInfo, yade::DFNCellInfo> >, yade::DFNBoundingSphere>::Solver*)’ can be marked override [-Werror=suggest-override]
  void trickPermeability(Solver* flow);
       ^~~~~~~~~~~~~~~~~
/yade/trunk/pkg/pfv/DFNFlow.cpp: In member function ‘void yade::DFNFlowEngine::interpolateCrack(yade::TemplateFlowEngine_DFNFlowEngineT<yade::DFNCellInfo, yade::DFNVertexInfo, yade::CGT::_Tesselation<yade::CGT::TriangulationTypes<yade::DFNVertexInfo, yade::DFNCellInfo> >, yade::DFNBoundingSphere>::Tesselation&, yade::TemplateFlowEngine_DFNFlowEngineT<yade::DFNCellInfo, yade::DFNVertexInfo, yade::CGT::_Tesselation<yade::CGT::TriangulationTypes<yade::DFNVertexInfo, yade::DFNCellInfo> >, yade::DFNBoundingSphere>::Tesselation&)’:
/yade/trunk/pkg/pfv/DFNFlow.cpp:232:22: error: variable ‘cellEnd’ set but not used [-Werror=unused-but-set-variable]
  FiniteCellsIterator cellEnd = newTri.finite_cells_end();
                      ^~~~~~~
^CCMakeFiles/pkg_pfv.dir/build.make:62: recipe for target 'CMakeFiles/pkg_pfv.dir/pkg/pfv/DFNFlow.cpp.o' failed
make[2]: *** [CMakeFiles/pkg_pfv.dir/pkg/pfv/DFNFlow.cpp.o] Interrupt
CMakeFiles/Makefile2:584: recipe for target 'CMakeFiles/pkg_pfv.dir/all' failed
make[1]: *** [CMakeFiles/pkg_pfv.dir/all] Interrupt
Makefile:129: recipe for target 'all' failed
make: *** [all] Interrupt"


Best wishes,
 

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.