Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for managing temporary objects.
Base class for windowing models.
label nWindow() const
Return the number of windows.
TypeName("windowModel")
Runtime type information.
tmp< Field< Type > > apply(const Field< Type > &fld, const label windowI) const
Return the windowed data.
virtual ~windowModel()=default
Destructor.
label nWindowsTotal(label nSamplesTotal) const
Return the total number of windows for a given number of samples.
static autoPtr< windowModel > New(const dictionary &dict, const label nSamples)
Return a reference to the selected window model.
label nSamples() const
Return the number of samples in the window.
declareRunTimeSelectionTable(autoPtr, windowModel, dictionary,(const dictionary &dict, const label nSamples),(dict, nSamples))
label nWindow_
Number of windows.
label validate(label n)
Validate that the window is applicable to the data set size, and.
label nOverlapSamples_
Number of overlap samples per window.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.