carputils
Doxygen code documentation for the python framework controlling openCARP
|
Namespaces | |
bin | |
csv | |
filelike | |
igb | |
limpetguihdf5 | |
lut | |
meshtool | |
msh_stats | |
quantity | |
sv | |
tagdefs | |
txt | |
Functions | |
def | show (msg, mode=1, showTime=None) |
Helper function to output status messages to the commandline. More... | |
def | print_dict (dict_config) |
def | dat2adj (datfile, adjfile, grid='intra') |
Convert a .dat file to a nodal adjustment vector file. More... | |
def | create_struct (kwargs) |
create structure with provided members More... | |
Variables | |
dictionary | READERS |
bool | globalShowTime = False |
def carputils.carpio.create_struct | ( | kwargs | ) |
create structure with provided members
kwargs dict
object of type Struct
where the attributes are the keys of the provided kwargs
holding the corresponding values
def carputils.carpio.dat2adj | ( | datfile, | |
adjfile, | |||
grid = 'intra' |
|||
) |
Convert a .dat file to a nodal adjustment vector file.
datfile | (str) Path of .dat file to convert |
adjfile | (str) Path to write nodal adjustment vector file |
grid | (str) String to enter in output file header as grid type |
def carputils.carpio.print_dict | ( | dict_config | ) |
def carputils.carpio.show | ( | msg, | |
mode = 1 , |
|||
showTime = None |
|||
) |
Helper function to output status messages to the commandline.
In case the standard terminal size can not be identified, the default message line length will be 80 characters.
msg | Message to send to the command line |
mode | 0 – message will be framed with a header and footer e.g. "===" |
1 | message will be prepended with a hash tag |
showTime | append the time to the message |
bool carputils.carpio.globalShowTime = False |
dictionary carputils.carpio.READERS |