CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Use of vector in a code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2009, 12:37
Default Use of vector in a code
  #1
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
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?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
From 2D compressible code to 3D code David Liu Main CFD Forum 22 June 26, 2012 18:59
Small 3-D code Zdravko Stojanovic Main CFD Forum 2 July 19, 2010 11:11
CFD code structure (F90) ma Main CFD Forum 4 January 10, 2005 21:47
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 16:56
State of the art in CFD technology Juan Carlos GARCIA SALAS Main CFD Forum 39 November 1, 1999 15:34


All times are GMT -4. The time now is 23:31.