CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Is private data of fvMatrix declare public on purpose

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 2, 2009, 13:03
Default Is private data of fvMatrix declare public on purpose
  #1
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 9
jaswi is on a distinguished road
Dear Developers

Good Evening

Browsing the code for the class fvMatrix I noticed that its private data is listed under the keyword public. Is this for some specific purpose or might be a dormant bug . Also I noticed that it is present only in the 1.5.x version where as the dev version have this particular section private.

Code:
template<class Type>
 class fvMatrix
 :
     public refCount,
     public lduMatrix
 {
 public:
 
     // Private data
 
         // Reference to GeometricField<Type, fvPatchField, volMesh>
         GeometricField<Type, fvPatchField, volMesh>& psi_;
 
         //- Dimension set
         dimensionSet dimensions_;
 
         //- Source term
         Field<Type> source_;
              ...............................
              ...................
Any comments will be helpful to clear the doubt.

Thanks
BR
Jaswi

P.S: I pulled the code from git last week Friday
jaswi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
export data at nodes Meenu FLUENT 1 December 30, 2011 02:24
Access private data member lr103476 OpenFOAM Running, Solving & CFD 2 December 18, 2008 04:02
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


All times are GMT -4. The time now is 19:16.