void Foam::fileControl::initialVertices ( pointField& pts, scalarField& sizes, triadField& alignments ) const { Info<< " Reading points from file : " << pointsFile_ << endl; pointIOField pointsTmp ( IOobject ( pointsFile_, runTime_.constant(), runTime_, IOobject::MUST_READ, IOobject::NO_WRITE, false ) ); pts.transfer(pointsTmp); Info<< " Reading sizes from file : " << sizesFile_ << endl; scalarIOField sizesTmp ( IOobject ( sizesFile_, runTime_.constant(), runTime_, IOobject::MUST_READ, IOobject::NO_WRITE, false ) ); sizes.transfer(sizesTmp); Info<< " Reading alignments from file : " << alignmentsFile_ << endl; triadIOField alignmentsTmp ( IOobject ( alignmentsFile_, runTime_.constant(), runTime_, IOobject::MUST_READ, IOobject::NO_WRITE, false ) ); alignments.transfer(alignmentsTmp); if ((pts.size() != sizes.size()) || (pts.size() != alignments.size())) { FatalErrorInFunction << "Size of list of points, sizes and alignments do not match:" << nl << "Points size = " << pts.size() << nl << "Sizes size = " << sizes.size() << nl << "Alignments size = " << alignments.size() << abort(FatalError); } }