lagrangianFieldDecomposer::fieldsCache Class Reference

Classes

class  privateCache
 

Public Member Functions

 fieldsCache ()
 Default construct (no clouds) More...
 
 fieldsCache (const label nClouds)
 Construct for given number of clouds. More...
 
 ~fieldsCache ()
 Destructor. More...
 
bool empty () const
 No clouds. More...
 
label size () const
 Number of clouds. More...
 
void clear ()
 Clear out. More...
 
void resize (const label nClouds)
 Resize for the number of clouds. More...
 
void readAllFields (const label cloudi, const IOobjectList &lagrangianObjects)
 Read all fields and field-fields for given cloud and objects. More...
 
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. More...
 

Detailed Description

Definition at line 163 of file lagrangianFieldDecomposer.H.

Constructor & Destructor Documentation

◆ fieldsCache() [1/2]

Default construct (no clouds)

Definition at line 157 of file lagrangianFieldDecomposerCache.C.

◆ fieldsCache() [2/2]

fieldsCache ( const label  nClouds)
explicit

Construct for given number of clouds.

Definition at line 163 of file lagrangianFieldDecomposerCache.C.

◆ ~fieldsCache()

Destructor.

Definition at line 177 of file lagrangianFieldDecomposerCache.C.

Member Function Documentation

◆ empty()

bool empty ( ) const

No clouds.

Definition at line 183 of file lagrangianFieldDecomposerCache.C.

◆ size()

Foam::label size ( ) const

Number of clouds.

Definition at line 189 of file lagrangianFieldDecomposerCache.C.

◆ clear()

void clear ( )

Clear out.

Definition at line 195 of file lagrangianFieldDecomposerCache.C.

◆ resize()

void resize ( const label  nClouds)

Resize for the number of clouds.

Definition at line 201 of file lagrangianFieldDecomposerCache.C.

◆ readAllFields()

void readAllFields ( const label  cloudi,
const IOobjectList lagrangianObjects 
)

Read all fields and field-fields for given cloud and objects.

Definition at line 213 of file lagrangianFieldDecomposerCache.C.

◆ decomposeAllFields()

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.

Definition at line 226 of file lagrangianFieldDecomposerCache.C.


The documentation for this class was generated from the following files: