36 #ifndef patchToPatchStabilisation_H
37 #define patchToPatchStabilisation_H
67 TypeName(
"patchToPatchStabilisation");
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 patch-to-patch interpolations.
TypeName("patchToPatchStabilisation")
Run-time type information.
void update(const polyPatch &patch, const PackedBoolList &faceCoupleds)
Compute the stabilisation addressing if necessary.
virtual ~patchToPatchStabilisation()
Destructor.
patchToPatchStabilisation()
Construct null.
void stabilise(Field< Type > &fld) const
Stabilise the given field if necessary.
A patch is a list of labels that address the faces in the global face list.
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))