Dear Nikolai,

there has been a change to the use of the VtkOutputModule right after the 
course.

You have two options:


1.) You check out the dumux-course-2018 tag which restores the main dumux 
repository to the state when the course was held by

     git checkout dumux-course-2018


2.) Or you fix the usage of the VtkOutputModule in your .cc file like this:


     VtkOutputModule<GridVariables, SolutionVector> vtkWriter(*gridVariables, 
x, problem->name());








________________________________
Von: Dumux <dumux-boun...@listserv.uni-stuttgart.de> im Auftrag von Nikolai 
Andrianov <nand...@dtu.dk>
Gesendet: Donnerstag, 26. Juli 2018 00:31:38
An: DuMuX User Forum
Betreff: [DuMuX] Compilation error with VtkOutputModule

Dear DuMuX experts,

I have rebuilt dumux after the course last week and got the following error 
while compiling the exercises from dumux-course, e.g.:

/home/andrian/dumux/dumux-course/exercises/exercise-basic/exercise_basic_2p.cc: 
In function ‘int main(int, char**)’:
/home/andrian/dumux/dumux-course/exercises/exercise-basic/exercise_basic_2p.cc:111:28:
 error: wrong number of template arguments (1, should be 2)
     VtkOutputModule<TypeTag> vtkWriter(*problem, *fvGridGeometry, 
*gridVariables, x, problem->name());

The tests in dumux/dumux/test/porousmediumflow compile normally, because there 
the definition of vtk module is VtkOutputModule<GridVariables, SolutionVector>.

Is something missing for the proper compilation of vtk module defined as 
VtkOutputModule<TypeTag> in dumux-course examples?

Many thanks,
Nikolai



_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to