2 /* Output the magic number. */
3 writeInt(fvParticleFile, FV_MAGIC);
5 /* Output file header and version number. */
6 writeStr80(fvParticleFile, "FVPARTICLES");
9 writeInt(fvParticleFile, 1);
10 writeInt(fvParticleFile, 1);
12 int nFields = sprayScalarNames.size() + 3*sprayVectorNames.size();
13 writeInt(fvParticleFile, nFields);
15 forAll(sprayScalarNames, nameI)
17 writeStr80(fvParticleFile, sprayScalarNames[nameI]);
19 forAll(sprayVectorNames, nameI)
21 const string& name(sprayVectorNames[nameI]);
22 writeStr80(fvParticleFile, name + ("x;" + name));
23 writeStr80(fvParticleFile, name + ("y;" + name));
24 writeStr80(fvParticleFile, name + ("z;" + name));