|
carputils
Doxygen code documentation for the python framework controlling openCARP
|
Functions to adjust an openCARP parameter file to be included in a bundle. More...
Classes | |
| class | _OCParam |
| An object of this class represents an OpenCARP parameter. More... | |
Functions | |
| def | get_OCparams () |
| Gets the list of openCARP parameters. More... | |
| def | standardize_param_str (s) |
| Computes the standardized string representing a parameter. More... | |
| def | find_param (s, params) |
| Find the parameter corresponding to the string s in params, if it exists. More... | |
| def | filter_params (params, param_types) |
| Filters a list of parameters (instances of _OCParam), keeping only those having a type contained in param_types. More... | |
Variables | |
| list | MESH_EXTENSIONS = ['.elem', '.pts', '.lon', '.belem', '.bpts', '.blon', '.surf'] |
| StringFileParam = namedtuple('StringFileParam', 'name type separator') | |
| list | STRING_FILEPARAMS |
Functions to adjust an openCARP parameter file to be included in a bundle.
| def carputils.bundle.parfileadjustment.filter_params | ( | params, | |
| param_types | |||
| ) |
| def carputils.bundle.parfileadjustment.find_param | ( | s, | |
| params | |||
| ) |
Find the parameter corresponding to the string s in params, if it exists.
| s | str string representing a parameter |
| def carputils.bundle.parfileadjustment.get_OCparams | ( | ) |
Gets the list of openCARP parameters.
| def carputils.bundle.parfileadjustment.standardize_param_str | ( | s | ) |
Computes the standardized string representing a parameter.
| list carputils.bundle.parfileadjustment.MESH_EXTENSIONS = ['.elem', '.pts', '.lon', '.belem', '.bpts', '.blon', '.surf'] |
| list carputils.bundle.parfileadjustment.STRING_FILEPARAMS |
| carputils.bundle.parfileadjustment.StringFileParam = namedtuple('StringFileParam', 'name type separator') |
1.8.13