mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: app/test: make test apps compile
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd.
|
\\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -56,7 +56,10 @@ public:
|
|||||||
Info<<"delete Scalar: " << data_ << endl;
|
Info<<"delete Scalar: " << data_ << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
autoPtr<Scalar> clone() const;
|
autoPtr<Scalar> clone() const
|
||||||
|
{
|
||||||
|
return autoPtr<Scalar>(new Scalar(data_));
|
||||||
|
}
|
||||||
|
|
||||||
friend Ostream& operator<<(Ostream& os, const Scalar& val)
|
friend Ostream& operator<<(Ostream& os, const Scalar& val)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -8,4 +8,5 @@ EXE_LIBS = \
|
|||||||
-lfiniteVolume \
|
-lfiniteVolume \
|
||||||
-llagrangianIntermediate \
|
-llagrangianIntermediate \
|
||||||
-lradiationModels \
|
-lradiationModels \
|
||||||
-lthermophysicalFunctions
|
-lthermophysicalFunctions \
|
||||||
|
-lregionModels
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd.
|
\\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -55,7 +55,7 @@ int main(int argc, char *argv[])
|
|||||||
Pout<< "Starting particles:" << particles.size() << endl;
|
Pout<< "Starting particles:" << particles.size() << endl;
|
||||||
|
|
||||||
Pout<< "Adding a particle." << 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)
|
forAllConstIter(passiveParticleCloud, particles, iter)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user