36 #ifndef cellsToCellsStabilisation_H
37 #define cellsToCellsStabilisation_H
67 TypeName(
"cellsToCellsStabilisation");
Pre-declare SubField and related Field type.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Stabilisation data and routines for cell-to-cell interpolations.
virtual ~cellsToCellsStabilisation()
Destructor.
void update(const polyMesh &mesh, const PackedBoolList &cellCoupleds)
Compute the stabilisation addressing if necessary.
cellsToCellsStabilisation()
Construct null.
TypeName("cellsToCellsStabilisation")
Run-time type information.
void stabilise(Field< Type > &fld) const
Stabilise the given field if necessary.
Mesh consisting of general polyhedral cells.
gmvFile<< "tracers "<< particles.size()<< nl;{ pointField positions(particles.size());label particlei=0;forAllConstIter(Cloud< passiveParticle >, particles, iter) { positions[particlei++]=iter().position(mesh);} for(i=0;i< pTraits< point >::nComponents;i++) { forAll(positions, particlei) { gmvFile<< component(positions[particlei], i)<< ' ';} gmvFile<< nl;}}forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))