diff --git a/applications/test/PtrList/Test-PtrList.C b/applications/test/PtrList/Test-PtrList.C index 7e033a7844..dfef39cfea 100644 --- a/applications/test/PtrList/Test-PtrList.C +++ b/applications/test/PtrList/Test-PtrList.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -56,7 +56,10 @@ public: Info<<"delete Scalar: " << data_ << endl; } - autoPtr clone() const; + autoPtr clone() const + { + return autoPtr(new Scalar(data_)); + } friend Ostream& operator<<(Ostream& os, const Scalar& val) { diff --git a/applications/test/dataEntry/Make/options b/applications/test/dataEntry/Make/options index a4d63bfba8..405e346e80 100644 --- a/applications/test/dataEntry/Make/options +++ b/applications/test/dataEntry/Make/options @@ -8,4 +8,5 @@ EXE_LIBS = \ -lfiniteVolume \ -llagrangianIntermediate \ -lradiationModels \ - -lthermophysicalFunctions + -lthermophysicalFunctions \ + -lregionModels diff --git a/applications/test/passiveParticle/Test-passiveParticle.C b/applications/test/passiveParticle/Test-passiveParticle.C index 97afc17a9e..ad04d43679 100644 --- a/applications/test/passiveParticle/Test-passiveParticle.C +++ b/applications/test/passiveParticle/Test-passiveParticle.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -55,7 +55,7 @@ int main(int argc, char *argv[]) Pout<< "Starting particles:" << particles.size() << endl; Pout<< "Adding a particle." << endl; - particles.addParticle(new passiveParticle(particles, vector::zero, -1)); + particles.addParticle(new passiveParticle(mesh, vector::zero, -1)); forAllConstIter(passiveParticleCloud, particles, iter) {