Dear Kenza,

it seems that you are passing the wrong arguments to the Constructor of your SpatialParams File*.
*
Could you also send us your main File and let us know which Dumux version you are using,
because it seems that you are using an old one.

In older Dumux versions you had to pass the *gridView* to the spatialParams,
but you are passing the *std::shared_ptr<const FVElementGeometry> fvGeometry.*
*
*Best regards,
Martin*
***


Am 28.02.20 um 00:09 schrieb kenza bouznari:
Hello,

I'm trying to implement a random distribution of K in my domain. I followed the example of 1p provided in DuMux-test. But I am having the following error : //home/ggl/dumux/dumux/test/porousmediumflow/co2/implicit/test_boxco2.cc:79:58:   required from here /usr/include/c++/7/ext/new_allocator.h:136:4: error: no matching function for call to ‘Dumux::HeterogeneousSpatialParams<Dumux::Properties::TTag::HeterogeneousBoxProblem>::HeterogeneousSpatialParams(const Dune::GridView<Dune::ALU3dLeafGridViewTraits<const Dune::ALUGrid<2, 2, (Dune::ALUGridElementType)1, (Dune::ALUGridRefinementType)1>, (Dune::PartitionIteratorType)4> >&)’
  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }/

Do you have any suggestions on how can I fixe it.
PS : Please find attached the problem and spatialparameters files.
Regards,

Kenza

_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to