error in compiling code boussinesqThermal2d

Hello nice to meet you,

this is my first time in this forum.
I tryed to compile the showcase example boussineqThermal2d and got the following message:
[quote=“stefan@Deb-1504sd:~/palabos-v1.1r0/examples/showCases/boussinesqThermal2d$ ls
Makefile rayleighBenard2D.cpp tmp
stefan@Deb-1504sd:~/palabos-v1.1r0/examples/showCases/boussinesqThermal2d$ make
python …/…/…/scons/scons.py -j 2 -f …/…/…/SConstruct palabosRoot=…/…/… projectFiles=“rayleighBenard2D.cpp” optimize=true debug=false profile=false MPIparallel=true SMPparallel=false usePOSIX=true serialCXX=g++ parallelCXX=mpicxx compileFlags=”-Wall -Wnon-virtual-dtor" linkFlags="" optimFlags="-O3" debugFlags="-g" profileFlags="-pg" libraryPaths="" includePaths="" libraries=""
scons: Reading SConscript files …
scons: done reading SConscript files.
scons: Building targets …
mpicxx -o rayleighBenard2D.o -c -Wall -Wnon-virtual-dtor -O3 -DPLB_MPI_PARALLEL -DPLB_USE_POSIX -I/home/stefan/palabos-v1.1r0/src -I/home/stefan/palabos-v1.1r0/externalLibraries rayleighBenard2D.cpp
mpicxx -o /home/stefan/palabos-v1.1r0/src/atomicBlock/reductiveDataProcessingFunctional2D.o -c -Wall -Wnon-virtual-dtor -O3 -DPLB_MPI_PARALLEL -DPLB_USE_POSIX -I/home/stefan/palabos-v1.1r0/src -I/home/stefan/palabos-v1.1r0/externalLibraries /home/stefan/palabos-v1.1r0/src/atomicBlock/reductiveDataProcessingFunctional2D.cpp
mpicxx -o /home/stefan/palabos-v1.1r0/src/atomicBlock/reductiveDataProcessingFunctional3D.o -c -Wall -Wnon-virtual-dtor -O3 -DPLB_MPI_PARALLEL -DPLB_USE_POSIX -I/home/stefan/palabos-v1.1r0/src -I/home/stefan/palabos-v1.1r0/externalLibraries /home/stefan/palabos-v1.1r0/src/atomicBlock/reductiveDataProcessingFunctional3D.cpp
In file included from /home/stefan/palabos-v1.1r0/src/multiPhysics/headers2D.hh:29,
from /home/stefan/palabos-v1.1r0/src/palabos2D.hh:31,
from rayleighBenard2D.cpp:47:
/home/stefan/palabos-v1.1r0/src/multiPhysics/boussinesqThermalProcessor2D.hh: In member function ‘void plb::BoussinesqThermalProcessor2D<T, FluidDescriptor, TemperatureDescriptor>::process(plb::Box2D, plb::BlockLattice2D<T, Descriptor>&, plb::BlockLattice2D<T, TemperatureDescriptor>&) [with T = double, FluidDescriptor = plb::descriptors::ForcedD2Q9Descriptor, TemperatureDescriptor = plb::descriptors::AdvectionDiffusionD2Q5Descriptor]’:
rayleighBenard2D.cpp:378: instantiated from here
/home/stefan/palabos-v1.1r0/src/multiPhysics/boussinesqThermalProcessor2D.hh:69: error: conversion from ‘plb::Dot2D’ to non-scalar type ‘plb::Dot3D’ requested
scons: *** [rayleighBenard2D.o] Error 1
scons: building terminated because of errors.
make: *** [compile] Fehler 2
stefan@Deb-1504sd:~/palabos-v1.1r0/examples/showCases/boussinesqThermal2d$"]

[/quote]
the boussinesqThermal3d is running.
Iam working with Debian6 and palabos v1.1

help me please to solve this little problem.

best regards

stefan

Nice holiday everybody,

with some patience i found the little mistake in the source code myself.

In Row 69 of row “src/multiPhysics/boussinesqThermalProcessor2D.hh” it has to be
Dot2D offset = computeRelativeDisplacement(fluid, temperature);” not Dot3D.
The showcase boussineqThermal2d is now running.

Maybe somebody can use this hint.

Seasons greatings from Germany/Giessen

Stefan