myKinematicCloud
Hi there,
I modified the class lagrangian/intermediate. I have a compilation problem in the function "move" that evolves the cloud: template<class CloudType> void Foam::KinematicCloud<CloudType>::evolveCloud() { //td typename parcelType::template TrackingData<KinematicCloud<CloudType> > td(*this); const scalar deltaT = mesh_.time().deltaTValue(); CloudType::move(td, deltaT); <- Error here } Error message upon compilation is as follows: blablabla... moveP.C:51:33: instantiated from here /opt/openfoam210/src/OpenFOAM/lnInclude/ILListIO.C:69:40: error: invalid conversion from ‘Foam: particle*’ to ‘Foam::KinematicParcel<Foam: particle>*’ [-fpermissive] make: *** [Make/linuxGccDPOpt/moveP.o] Error 1 Could someone bring me some valuable light on this error ? or any tip would be greatly appreciated. Thanks a lot |
Ok I found the problem. I deleted the "Factory class iNew" in the constructor. That's why it stopped working
|
All times are GMT -4. The time now is 02:56. |