|
ug4
|
Modules | |
| common Utility | |
| Domain Discretization Utility | |
| functions to create DomainDiscs using a string disc-type identifier | |
| Domain Distribution Utility | |
| creates partition maps of different structure and provides some easy to use domain distribution methods. | |
| GNUPlot Utility | |
| Load Balancing Utility | |
| Parses parameters related to load-balancing and creates a load-balancer accordingly. | |
| Metaprogramming Utility | |
| Meta Programming Functions for Lua Scripts. | |
| Lua Utility Scripts | |
| Helpers for profiling output. | |
| Solver Util | |
| Table based solver creation. | |
| Statistics Utility | |
| Table Utility | |
| Tests Utility | |
| Timestep Utility | |
| UserData Utility | |
Files | |
| file | scaling_analyzer.lua |
| lua script to compare profiling outputs from different runs of one problem | |
Functions | |
| function util FileDummy | close () end |
| function | FillSpaces (str, minSize) |
| function | FindEntry (entryList, name, guessInd) |
| function util | ParallelMaxMinAvg (s) |
| function util FileDummy | read (...) error("io.open_0 does not support read.") end |
| function util FileDummy | write (...) end |
General Lua utility scripts for ug4.
| function util FileDummy close | ( | ) |
location: /home/runner/work/docs/docs/ug4/ugcore/scripts / ug_util.lua :178
Referenced by available_terminals().
| function FillSpaces | ( | str | , |
| minSize | |||
| ) |
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/tools / scaling_analyzer.lua :79-85
| function FindEntry | ( | entryList | , |
| name | , | ||
| guessInd | |||
| ) |
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/tools / scaling_analyzer.lua :92-140
| function util ParallelMaxMinAvg | ( | s | ) |
io.open_ONE opens the file on exactly one core all other cores get dummy file objects (FileDummy)
/** ParallelMaxMinAvg prints "min: (minimum), max: (maximum), avg: (average)" for parallel different integers s
location: /home/runner/work/docs/docs/ug4/ugcore/scripts / ug_util.lua :194-198
| function util FileDummy read | ( | ... | ) |
location: /home/runner/work/docs/docs/ug4/ugcore/scripts / ug_util.lua :177
| function util FileDummy write | ( | ... | ) |
returns the standard path at which grids are stored
/** perhaps move this to bridge, and use function
/** perhaps move this to file_util*
/** pairsSortedByKeys the normal pairs(table) function returns elements unsorted this function goes through elements sorted. see http://www.lua.org/pil/19.3.html use it like e.g. for name,arg in pairsSortedByKeys(util.args) do f can be nil (= std sort)
/** adds writeln
/**
/**
/** fsize returns the filesize of a file (http://www.lua.org/pil/21.3.html)
| file |
/**
/**
/** WARNING: Parallel File open is REALLY slow on clusters this function overwrite io.open and prints a warning if you use it on a core which is not 0 to remove this warning
/** location: /home/runner/work/docs/docs/ug4/ugcore/scripts / ug_util.lua :176
Referenced by available_terminals().