Go to the documentation of this file.
37 #ifndef nullSurfaceWriter_H
38 #define nullSurfaceWriter_H
46 namespace surfaceWriters
virtual void setSurface(const meshedSurf &s, bool parallel)
Change association with a surface (no-op).
Base class for surface writers.
A class for handling file names.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Abstract definition of a meshed surface defined by faces and points.
virtual fileName write()
Write separate surface geometry to file.
virtual bool needsUpdate() const
False: never needs an update.
nullWriter()
Default construct.
virtual ~nullWriter()=default
Destructor.
Suppresses output of geometry and fields.
virtual bool enabled() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool wroteData() const
True: like a /dev/null device.
declareSurfaceWriterWriteMethod(label)
static bool & parRun() noexcept
Test if this a parallel run.
virtual void open(const fileName &outputPath)
Open for output on specified path, using existing surface (no-op)
TypeNameNoDebug("none")
Declare type-name, virtual type (without debug switch)