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);
label size() const
Number of clouds.
fieldsCache()
Default construct (no clouds)
A class for handling file names.
List of IOobjects with searching and retrieving facilities. Implemented as a HashTable, so the various sorted methods should be used if traversing in parallel.
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.
Template class for non-intrusive linked lists.
void decomposeFieldFields(const word &cloudName, const PtrList< GeoField > &fields) const
tmp< IOField< Type > > decomposeField(const word &cloudName, const IOField< Type > &field) const
Decompose volume field.
bool empty() const
No clouds.
void readAllFields(const label cloudi, const IOobjectList &lagrangianObjects)
Read all fields and field-fields for given cloud and objects.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
Generic templated field type.
const word cloudName(propsDict.get< word >("cloud"))
A class for handling words, derived from Foam::string.
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.
static void readFields(const label cloudi, const IOobjectList &lagrangianObjects, PtrList< PtrList< IOField< Type >>> &cloudFields)
Read the fields and store on the pointer list.
void resize(const label nClouds)
Resize for the number of clouds.
~fieldsCache()
Destructor.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
void decomposeFields(const word &cloudName, const PtrList< GeoField > &fields) const
A Field of objects of type <T> with automated input and output using a compact storage. Behaves like IOField except when binary output in case it writes a CompactListList.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
tmp< CompactIOField< Field< Type >, Type > > decomposeFieldField(const word &cloudName, const CompactIOField< Field< Type >, Type > &field) const
A primitive field of type <T> with automated input and output.
Lagrangian field decomposer.