Go to the documentation of this file.
18 label lRoot = strlen(the_path);
19 label lCase = strlen(filename_1);
25 lRoot = strlen(the_path);
26 lCase = strlen(filename_1);
29 if (the_path[lRoot-1] ==
'/')
31 the_path[lRoot-1] = char(NULL);
44 for (
label i=0; i<lCase-lRoot;i++)
46 tmp[i] = filename_1[i+1+lRoot];
64 Time::controlDictName,
75 fvMesh::defaultRegion,
91 IOobjectList objects(*
meshPtr, runTime.timeName());
104 bool isitScalar =
false;
120 bool isitVector =
false;
136 bool isitTensor =
false;
148 bool lagrangianNamesFound =
false;
154 Cloud<passiveParticle> lagrangian(*
meshPtr);
157 if (lagrangian.size())
159 lagrangianNamesFound =
true;
174 if (sprayHeader.headerOk())
176 Info<<
"[Found lagrangian]" <<
endl;
182 IOobjectList objects(*
meshPtr, runTime.timeName(), cloud::prefix);
static List< word > lagrangianVectorNames
static word sprayVectorFieldName
#define forAll(list, i)
Loop across all elements in list.
static word sprayScalarFieldName
Ostream & endl(Ostream &os)
Add newline and flush stream.
static int Num_structured_parts
static bool isVector[maxNames]
List< word > wordList
A List of words.
Ostream & flush(Ostream &os)
Flush stream.
static bool isSpray[maxNames]
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
int USERD_set_filenames(char filename_1[], char filename_2[], char the_path[], int swapbytes)
static List< word > lagrangianScalarNames
static bool isScalar[maxNames]
static List< word > fieldNames
static int Numparts_available
static int Num_unstructured_parts
bool isDir(const fileName &)
Does the name exist as a DIRECTORY in the file system?
static instantList timeDirs
static instantList findTimes(const fileName &, const word &constantName="constant")
Search a given directory for valid time directories.
static int Current_time_step
static label var2field[maxNames]
void size(const label)
Override size to be inconsistent with allocated storage.
static label nSprayVariables
static int Num_time_steps
static Cloud< passiveParticle > * sprayPtr
static bool isTensor[maxNames]