56 #ifndef Foam_debugSurfaceWriter_H 57 #define Foam_debugSurfaceWriter_H 69 namespace surfaceWriters
108 const word& fieldName,
A class for handling file names.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual ~debugWriter()=default
Destructor.
static bool & parRun() noexcept
Test if this a parallel run.
TypeNameNoDebug("debug")
Declare type-name, virtual type (without debug switch)
A simple container for options an IOstream can normally have.
Abstract definition of a meshed surface defined by faces and points.
Generic templated field type.
A class for handling words, derived from Foam::string.
virtual fileName write()
Write surface geometry to file.
declareSurfaceWriterWriteMethod(label)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
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;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
debugWriter()
Default construct.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
A class for managing temporary objects.
Tensor of scalars, i.e. Tensor<scalar>.