47 myProcNo_(
p.myProcNo()),
48 neighbProcNo_(
p.neighbProcNo()),
49 forwardT_(
p.forwardT()),
59 const label neighbProcNo,
67 neighbProcNo_(neighbProcNo),
94 auto&
fld = tfld.ref();
136 return processorLduInterface::receive<label>(commsType, faceCells_.size());
void send(const UPstream::commsTypes commsType, const UList< Type > &f) const
Raw send function.
commsTypes
Communications types.
Smooth ATC in cells next to a set of patches supplied by type.
UList< label > labelUList
A UList of labels.
#define forAll(list, i)
Loop across all elements in list.
defineTypeName(manifoldCellsMeshObject)
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
Return the values of the given internal data adjacent to the interface as a field.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
virtual void initInternalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Initialise neighbour field transfer.
Concrete implementation of processor interface. Used to temporarily store settings.
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))
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Transfer and return internal field adjacent to the interface.
A class for managing temporary objects.
lduPrimitiveProcessorInterface(const labelUList &faceCells, const label myProcNo, const label neighbProcNo, const tensorField &forwardT, const int tag, const label comm=UPstream::worldComm)
Construct from components.