|
[Sponsors] |
April 6, 2020, 00:41 |
pointer to volScalarField
|
#1 |
New Member
Join Date: Apr 2020
Posts: 3
Rep Power: 6 |
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? |
|
|
|
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 |