Hello.
I don't have too much experience in C++ programming. I need to modify one OpenFOAM's library. However, when I add changes and compile I have error:
--------------------------------------------------------------------------------
.../intermediate/lnInclude/KinematicCloud.C: In instantiation of ‘Foam::KinematicCloud<CloudType>::KinematicCloud(Foam::KinematicCloud<CloudType>&, const Foam::word&) [with CloudType = Foam::Cloud<Foam::KinematicParcel<Foam::particle> >]’:
/home/dradenkovic/OpenFOAM30/OpenFOAM/dradenkovic-3.0.1/src/intermediate/lnInclude/KinematicCloud.H:326:13: required from ‘Foam::autoPtr<Foam::Cloud<typename CloudType::particleType> > Foam::KinematicCloud<CloudType>::clone(const Foam::word&) [with CloudType = Foam::Cloud<Foam::KinematicParcel<Foam::particle> >; typename CloudType::particleType = Foam::KinematicParcel<Foam::particle>]’
parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C:48:49: required from here
/home/dradenkovic/OpenFOAM30/OpenFOAM/dradenkovic-3.0.1/src/intermediate/lnInclude/KinematicCloud.C:616:5: error: no matching function for call to ‘Foam::DimensionedField<Foam::SymmTensor<double>, Foam::volMesh>::DimensionedField(Foam::IOobject, const Foam::fvMesh&, Foam::DimensionedField<Foam::SymmTensor<double>, Foam::volMesh>&)’
)
^
/home/dradenkovic/OpenFOAM30/OpenFOAM/dradenkovic-3.0.1/src/intermediate/lnInclude/KinematicCloud.C:616:5: note: candidates are:...
---------------------------------------------------------------------------------
Sorry, formatting doesn't work at this moment at my computer.
The most important files are on this link:
https://www.dropbox.com/s/zi5f0bqkdc7onmr/intermediate.zip?dl=0
I appreciate any help.
Darko