CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Where is VolScalarField Documented and Defined (https://www.cfd-online.com/Forums/openfoam-programming-development/184664-where-volscalarfield-documented-defined.html)

terryphi March 7, 2017 23:39

Where is VolScalarField Documented and Defined
 
I'm looking for the file that defines the headers for volScalarField and any documentation related to it.

Does anyone have any ideas where I can find it?

alexeym March 8, 2017 04:32

Hi,

Code:

$ src
$ grep -Er 'typedef.*volScalarField'
...
finiteVolume/fields/volFields/volFieldsFwd.H:typedef GeometricField<scalar, fvPatchField, volMesh> volScalarField;

Documentation: https://cpp.openfoam.org/v4/a00931.html

terryphi March 11, 2017 16:37

Ah, that's why I can't find it. It's a typedef. Thanks!

Quote:

Originally Posted by alexeym (Post 639931)
Hi,

Code:

$ src
$ grep -Er 'typedef.*volScalarField'
...
finiteVolume/fields/volFields/volFieldsFwd.H:typedef GeometricField<scalar, fvPatchField, volMesh> volScalarField;

Documentation: https://cpp.openfoam.org/v4/a00931.html



All times are GMT -4. The time now is 05:24.