43 int main(
int argc,
char *argv[])
64 for (
label timeI = 1; timeI < Times.
size(); ++timeI)
66 runTime.setTime(Times[timeI], timeI);
68 Info<<
"Time = " << runTime.userTimeName() <<
endl;
79 if (Uheader.headerOk())
87 + scaleFactor*pInterp.interpolate(
U)().primitiveField()
static volPointInterpolation & New(const word &name, const fvMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
Generic GeometricField class.
void size(const label)
Override size to be inconsistent with allocated storage.
static SLList< string > validArgs
A list of valid (mandatory) arguments.
T argRead(const label index) const
Read a value from the argument at index.
virtual void setPoints(const pointField &)
Reset the points.
virtual const pointField & points() const
Return raw points.
virtual bool write(const bool write=true) const
Write using setting from DB.
Templated form of IOobject providing type information for file reading and header type checking.
Interpolate from cell centres to points (vertices) using inverse distance weighting.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
int main(int argc, char *argv[])
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Foam::argList args(argc, argv)