hi everybody,
// setup disk
Vector<T,2> centerDisk( centerDiskX, centerDiskY );
Vector<T,2> originDisk;
IndicatorCuboid2D<T> disk( dx, dy, centerDisk, angle );
// setup disk boundary: circle1 and circle2
Vector<T,2> centerCircle1( centerCircle1X, centerCircle1Y );
IndicatorCircle2D<T> circle1( centerCircle1, radiusCircle );
Vector<T,2> centerCircle2( centerCircle2X, centerCircle2Y );
IndicatorCircle2D<T> circle2( centerCircle2, radiusCircle );
Vector<T,2> centerCircle3( centerCircle2X-0.1, lengthY/2 );
IndicatorCircle2D<T> circle3( centerCircle3, 0.005 );
// setup moteur
IndicatorIdentity2D<T> moteur( disk + circle1 + circle2);
not compilewiththis error :
`cylinder2d-maquette.cpp: In function ‘void prepareGeometry(const olb::UnitConverter<double, olb::descriptors::D2Q9<> >&, olb::SuperGeometry2D<double>&)’:
cylinder2d-maquette.cpp:127:39: error: no match for ‘operator+’ (operand types are ‘olb::IndicatorCuboid2D<double>’ and ‘olb::IndicatorCircle2D<double>’)
IndicatorIdentity2D<T> moteur( disk + circle1 + circle2);
regards
Laurent.