Go to the documentation of this file.
36 #ifndef lagrangianFieldDecomposer_H
37 #define lagrangianFieldDecomposer_H
55 class lagrangianFieldDecomposer
86 const polyMesh& procMesh,
90 const Cloud<indexedParticle>& lagrangianPositions,
91 const List<SLList<indexedParticle*>*>& cellParticles
102 const IOobjectList& lagrangianObjects,
103 PtrList<PtrList<IOField<Type> > >& lagrangianFields
111 const IOobjectList& lagrangianObjects,
114 PtrList<CompactIOField<Field<Type>, Type> >
125 const IOField<Type>& field
132 const CompactIOField<Field<Type>, Type>& field
136 template<
class GeoField>
140 const PtrList<GeoField>&
fields
143 template<
class GeoField>
147 const PtrList<GeoField>&
fields
159 #include "lagrangianFieldDecomposerDecomposeFields.C"
void operator=(const lagrangianFieldDecomposer &)
Disallow default bitwise assignment.
tmp< IOField< Type > > decomposeField(const word &cloudName, const IOField< Type > &field) const
Decompose volume field.
List< label > labelList
A List of labels.
tmp< CompactIOField< Field< Type >, Type > > decomposeFieldField(const word &cloudName, const CompactIOField< Field< Type >, Type > &field) const
Info<< "Creating field dpdt\n"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar("dpdt", p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\n"<< endl;volScalarField K("K", 0.5 *magSqr(U));volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);p_rgh=p - rho *gh;mesh.setFluxRequired(p_rgh.name());multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
void decomposeFieldFields(const word &cloudName, const PtrList< GeoField > &fields) const
void decomposeFields(const word &cloudName, const PtrList< GeoField > &fields) const
labelList particleIndices_
The indices of the particles on this processor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static void readFieldFields(const label cloudI, const IOobjectList &lagrangianObjects, PtrList< PtrList< CompactIOField< Field< Type >, Type > > > &lagrangianFields)
Cloud< passiveParticle > positions_
Lagrangian positions for this processor.
static void readFields(const label cloudI, const IOobjectList &lagrangianObjects, PtrList< PtrList< IOField< Type > > > &lagrangianFields)
const polyMesh & procMesh_
Reference to processor mesh.
lagrangianFieldDecomposer(const lagrangianFieldDecomposer &)
Disallow default bitwise copy construct.
const word cloudName(propsDict.lookup("cloudName"))
PtrList< labelIOList > & faceProcAddressing