WRApplication
External kratos "application" for multiscale time integration.
|
Classes | |
class | HDF5Path |
Filesystem path to an HDF5 file and a prefix within, uniquely identifying dataset/group. More... | |
class | GenerateHDF5Journal |
Generate a Kratos::Journal from globbed HDF5 results. More... | |
Functions | |
"dict[str,list[str]]" | MapUnion ("dict[str,list[str]]" left, "dict[str,list[str]]" right) |
Try combing the two placeholder maps. More... | |
typing.Union[int, float] | ExtractTimeLabel ("dict[str,list[str]]" placeholders, typing.Union[int, float] fallback) |
"list[str]" | GlobHDF5 (WRApp.ModelPartPattern pattern, h5py.File file, verbose=False) |
None | MakeJournal (str input_file_pattern, str results_prefix, str mesh_prefix, str output_path, bool verbose=False) |
Create a Kratos::Journal from globbed paths. More... | |
typing.Union[int, float, str] | InputFileOrdering ("tuple[str,dict[str,list[str]],bool]" item) |
Takes a file name and its output from ModelPartPattern, and extract data on which it should be ordered. More... | |
typing.Union[int,float] python_scripts.utilities.GenerateHDF5Journal.ExtractTimeLabel | ( | "dict[str,list[str]]" | placeholders, |
typing.Union[int,float] | fallback | ||
) |
"list[str]" python_scripts.utilities.GenerateHDF5Journal.GlobHDF5 | ( | WRApp.ModelPartPattern | pattern, |
h5py.File | file, | ||
verbose = False |
|||
) |
typing.Union[int,float,str] python_scripts.utilities.GenerateHDF5Journal.InputFileOrdering | ( | "tuple[str,dict[str,list[str]],bool]" | item | ) |
Takes a file name and its output from ModelPartPattern, and extract data on which it should be ordered.
Ordering happens on the first available variable in the following list:
None python_scripts.utilities.GenerateHDF5Journal.MakeJournal | ( | str | input_file_pattern, |
str | results_prefix, | ||
str | mesh_prefix, | ||
str | output_path, | ||
bool | verbose = False |
||
) |
Create a Kratos::Journal from globbed paths.
"dict[str,list[str]]" python_scripts.utilities.GenerateHDF5Journal.MapUnion | ( | "dict[str,list[str]]" | left, |
"dict[str,list[str]]" | right | ||
) |
Try combing the two placeholder maps.
If the two maps have identical keys, their values must match.