repo.or.cz
/
OpenFOAM-2.0.x.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git]
/
applications
/
utilities
/
postProcessing
/
graphics
/
ensightFoamReader
/
getLagrangianScalar.H
blob
dd20ba0db8c765b6f5e85d3ff55cad9e755c60c6
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
forAll(s, 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