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

pointer to volScalarField

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 6, 2020, 00:41
Smile pointer to volScalarField
  #1
New Member
 
Join Date: Apr 2020
Posts: 3
Rep Power: 6
JOEE is on a distinguished road
Hello everyone,

In C++, we can assign a pointer to an array, for example:
double a[3] = {1,2,4};
double *p =a;

Then we can use p to access the array elements.

So, my question is there a pointer to volScalarFiled type variable, like volScalarField p?
JOEE is offline   Reply With Quote

 


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
Error message Bruno_Jorge Main CFD Forum 1 February 5, 2019 11:12
namespace Foam Argen OpenFOAM 4 February 5, 2019 08:55
execFlowFunctionObjects - unknown field problem Toorop OpenFOAM Post-Processing 16 March 14, 2016 03:25
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 06:16
Pasing VolScalarField pointer to solve(), is this possible? arkangel OpenFOAM Programming & Development 0 March 15, 2011 13:07


All times are GMT -4. The time now is 08:52.