KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
This class is intended to encapsulate common operations that may be needed when dealing with deprecated input variable names. More...
Static Public Member Functions | |
def | HasDeprecatedVariable (context_string, parameters, old_variable_name, new_variable_name) |
Check if a given deprecated variable is present in a given parameters object (Parameters object) More... | |
def | ReplaceDeprecatedVariableName (parameters, old_variable_name, new_variable_name) |
Replace a key by another. More... | |
This class is intended to encapsulate common operations that may be needed when dealing with deprecated input variable names.
Its original purpose is the management of json-type input, although it may be extended to other input types.
The basic goals that inspired this encapsulation are:
|
static |
Check if a given deprecated variable is present in a given parameters object (Parameters object)
|
static |
Replace a key by another.
The old key is assumed to be present.