FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

createFields.H

Go to the documentation of this file.
00001     IOdictionary pdfDictionary
00002     (
00003         IOobject
00004         (
00005             "pdfDictionary",
00006             runTime.constant(),
00007             runTime,
00008             IOobject::MUST_READ,
00009             IOobject::NO_WRITE
00010         )
00011     );
00012 
00013     label nIntervals
00014     (
00015         readLabel(pdfDictionary.lookup("nIntervals"))
00016     );
00017 
00018     label nSamples
00019     (
00020         readLabel(pdfDictionary.lookup("nSamples"))
00021     );
00022 
00023     label samples[nIntervals];
00024 
00025     for(label i=0;i<nIntervals;i++)
00026     {
00027         samples[i] = 0;
00028     }
00029 
00030 
00031 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines