Hi, guys!
Thank you for this code. I talked with Orestis for a while and decided to try Linux and the framework. Sorry to bother you. But any advice can help, because I am really new in it. Make files for examples are OK - they produce .gif files. However for the first lesson, when I do my makefile and run it - I’ve got compilation errors:
simplecode.cpp:21: error: cannot declare variable ‘bulkDynamics’ to be of abstract type ‘olb::Dynamics<double, olb::descriptors::D2Q9Descriptor>’
and …
simplecode.cpp:24: error: no matching function for call to ‘olb::BlockLattice2D<double, olb::descriptors::D2Q9Descriptor>::defineDynamics(int, int, int, int, olb::BGKdynamics<double, olb::descriptors::D2Q9Descriptor>&)’
…/OpenLB/OpenLB/src/core/blockLattice2D.hh:169: note: candidates are: void olb::BlockLattice2D<T, Lattice>::defineDynamics(int, int, int, int, olb::Dynamics<T, Lattice>*) [with T = double, Lattice = olb::descriptors::D2Q9Descriptor]
simplecode.cpp:45: error: ‘ImageWriter’ was not declared in this scope
simplecode.cpp:45: error: expected primary-expression before ‘>’ token
simplecode.cpp:45: error: ‘imageWriter’ was not declared in this scope
simplecode.cpp:48: error: ‘blockLattice’ was not declared in this scope
make: *** [/home/shurik/work/development/simplecode/simplecode.o] Error 1
Any help is more than welcome. Thank you,
Alex