41#ifndef Foam_lagrangianFieldDecomposer_H
42#define Foam_lagrangianFieldDecomposer_H
144 template<
class GeoField>
151 template<
class GeoField>
171 std::unique_ptr<privateCache> cache_;
210 void resize(
const label nClouds);
Base cloud calls templated on particle type.
A Field of objects of type <T> with automated input and output using a compact storage....
Generic templated field type.
A primitive field of type <T> with automated input and output.
List of IOobjects with searching and retrieving facilities.
Template class for non-intrusive linked lists.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A class for handling file names.
void readAllFields(const label cloudi, const IOobjectList &lagrangianObjects)
Read all fields and field-fields for given cloud and objects.
label size() const
Number of clouds.
~fieldsCache()
Destructor.
fieldsCache()
Default construct (no clouds)
bool empty() const
No clouds.
void decomposeAllFields(const label cloudi, const fileName &cloudDir, const lagrangianFieldDecomposer &decomposer, bool report=false) const
Decompose and write all fields and field-fields for given cloud.
void resize(const label nClouds)
Resize for the number of clouds.
Lagrangian field decomposer.
tmp< IOField< Type > > decomposeField(const word &cloudName, const IOField< Type > &field) const
Decompose volume field.
static void readFields(const label cloudi, const IOobjectList &lagrangianObjects, PtrList< PtrList< IOField< Type > > > &cloudFields)
Read the fields and store on the pointer list.
void decomposeFields(const word &cloudName, const PtrList< GeoField > &fields) const
tmp< CompactIOField< Field< Type >, Type > > decomposeFieldField(const word &cloudName, const CompactIOField< Field< Type >, Type > &field) const
static void readFieldFields(const label cloudi, const IOobjectList &lagrangianObjects, PtrList< PtrList< CompactIOField< Field< Type >, Type > > > &cloudFields)
Read the field-fields and store on the pointer list.
void decomposeFieldFields(const word &cloudName, const PtrList< GeoField > &fields) const
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
const word cloudName(propsDict.get< word >("cloud"))