CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Use of vector in a code (http://www.cfd-online.com/Forums/openfoam-programming-development/67860-use-vector-code.html)

sega August 28, 2009 11:37

Use of vector in a code
 
Hello World.

I'm simply using
Code:

vector e1;
in a code an get this message when compiling:

Code:

sampleFaceSet.C: In function ‘int main(int, char**)’:
sampleFaceSet.C:107: warning: ‘e1.Foam::Vector<double>::<anonymous>.Foam::VectorSpace<Foam::Vector<double>, double, 3>::v_[0]’ may be used uninitialized in this function
sampleFaceSet.C:107: warning: ‘e1.Foam::Vector<double>::<anonymous>.Foam::VectorSpace<Foam::Vector<double>, double, 3>::v_[1]’ may be used uninitialized in this function
sampleFaceSet.C:107: warning: ‘e1.Foam::Vector<double>::<anonymous>.Foam::VectorSpace<Foam::Vector<double>, double, 3>::v_[2]’ may be used uninitialized in this function

What does that mean?


All times are GMT -4. The time now is 12:49.