Skip to content

Reply To: Extract Velocity Components

#6720
achodankar
Participant

Hello Adrian,
I get this error:
poiseuille3d.cpp:468:32: error: use of deleted function ‘olb::SuperF3D<double, double>::SuperF3D(const olb::SuperF3D<double, double>&)’
468 | olb::SuperF3D<T,T> f(velocity);
| ^
In file included from ../../../src/core/superLattice.hh:37,
from ../../../src/boundary/setLocalVelocityBoundary3D.h:34,
from ../../../src/boundary/boundary3D.h:36,
from ../../../src/olb3D.h:2,
from poiseuille3d.cpp:31:
../../../src/functors/lattice/superBaseF3D.h:56:7: note: ‘olb::SuperF3D<double, double>::SuperF3D(const olb::SuperF3D<double, double>&)’ is implicitly deleted because the default definition would be ill-formed:
56 | class SuperF3D : public GenericF<W,int> {
| ^~~~~~~~
../../../src/functors/lattice/superBaseF3D.h:56:7: error: use of deleted function ‘olb::GenericF<T, S>::GenericF(const olb::GenericF<T, S>&) [with T = double; S = int]’
In file included from ../../../src/functors/analytical/indicator/indicatorBaseF3D.h:31,
from ../../../src/functors/analytical/indicator/indicatorF3D.h:28,
from ../../../src/geometry/cuboid3D.h:37,
from ../../../src/geometry/cuboidGeometry3D.h:39,
from ../../../src/communication/superStructure.h:31,
from ../../../src/core/superData.h:37,
from ../../../src/core/core.h:28,
from ../../../src/core/core3D.h:28,
from ../../../src/olb3D.h:1,
from poiseuille3d.cpp:31:
../../../src/functors/genericF.h:61:3: note: declared here
61 | GenericF(const GenericF&) = delete;
| ^~~~~~~~
make: *** [../../../default.mk:31: poiseuille3d.o] Error 1

Thank you.

Yours sincerely,

Abhijeet C