Home
Downloads
Documentation
Installation
User Guide
man-pages
API Documentation
README
Release Notes
Changes
License
Support
SourceForge Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
applications
utilities
postProcessing
graphics
ensightFoamReader
getLagrangianScalar.H
Go to the documentation of this file.
1
2
// Not sure if this is necessary anymore
3
nVar
-=
Num_variables
-
nSprayVariables
;
4
5
if
(
nVar
>= 0)
6
{
7
word
name
=
lagrangianScalarNames
[
nVar
];
8
9
IOField<scalar> s
10
(
11
IOobject
12
(
13
name,
14
runTime.timeName(),
15
cloud::prefix,
16
mesh
,
17
IOobject::MUST_READ,
18
IOobject::NO_WRITE
19
)
20
);
21
22
if
(s.size())
23
{
24
for
(label n = 0; n < s.size(); n++)
25
{
26
var_array[n+1] = s[n];
27
}
28
}
29
}
30
else
31
{
32
// Info << "getLagrangianScalar: nVar = " << nVar << endl;
33
return
Z_UNDEF;
34
}
35
36
37
// ************************ vim: set sw=4 sts=4 et: ************************ //