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.
|
Functions | |
def | IssueDeprecationWarning (label, *message) |
def | DeleteFileIfExisting (file_name) |
This function tries to delete a file It uses try/except to also work in MPI. More... | |
def | DeleteDirectoryIfExisting (directory_name) |
This function tries to delete a folder It uses try/except to also work in MPI. More... | |
def | DeleteTimeFiles (directory_name) |
This function deletes all *.time files in a directory. More... | |
def | GetKratosMultiphysicsPath () |
Returning the path to the KratosMultiphysics-module. More... | |
def | GetListOfAvailableApplications () |
Return a list of compiled applications available in the KratosMultiphysics module. More... | |
def | GetListOfImportedApplications (module_name="KratosMultiphysics") |
Returns the list of moldules that are or were imported at call time, including the main module_name module. More... | |
def | GetMapOfImportedApplications (module_name="KratosMultiphysics") |
Returns the tree of modules that are or were imported at call time, including the main "module_name" module. More... | |
def | IsMPIAvailable () |
Check if the KratosMPI module (the MPI core) is available. More... | |
def | CheckIfApplicationsAvailable (*application_names) |
Returns whether the inquired applications are available. More... | |
def | GetNotAvailableApplications (*application_names) |
Returns a list of applications that are not available out of a provided list of applications. More... | |
def | GenerateVariableListFromInput (param) |
Retrieve variable name from input (a string) and request the corresponding C++ object to the kernel. More... | |
def | GenerateFlagsListFromInput (param) |
Retrieve flag name from input (a string) and request the corresponding C++ object to the kernel. More... | |
def kratos_utilities.CheckIfApplicationsAvailable | ( | * | application_names | ) |
Returns whether the inquired applications are available.
def kratos_utilities.DeleteDirectoryIfExisting | ( | directory_name | ) |
This function tries to delete a folder It uses try/except to also work in MPI.
def kratos_utilities.DeleteFileIfExisting | ( | file_name | ) |
This function tries to delete a file It uses try/except to also work in MPI.
def kratos_utilities.DeleteTimeFiles | ( | directory_name | ) |
This function deletes all *.time files in a directory.
def kratos_utilities.GenerateFlagsListFromInput | ( | param | ) |
Retrieve flag name from input (a string) and request the corresponding C++ object to the kernel.
def kratos_utilities.GenerateVariableListFromInput | ( | param | ) |
Retrieve variable name from input (a string) and request the corresponding C++ object to the kernel.
def kratos_utilities.GetKratosMultiphysicsPath | ( | ) |
Returning the path to the KratosMultiphysics-module.
def kratos_utilities.GetListOfAvailableApplications | ( | ) |
Return a list of compiled applications available in the KratosMultiphysics module.
def kratos_utilities.GetListOfImportedApplications | ( | module_name = "KratosMultiphysics" | ) |
Returns the list of moldules that are or were imported at call time, including the main module_name module.
def kratos_utilities.GetMapOfImportedApplications | ( | module_name = "KratosMultiphysics" | ) |
Returns the tree of modules that are or were imported at call time, including the main "module_name" module.
def kratos_utilities.GetNotAvailableApplications | ( | * | application_names | ) |
Returns a list of applications that are not available out of a provided list of applications.
def kratos_utilities.IsMPIAvailable | ( | ) |
Check if the KratosMPI module (the MPI core) is available.
def kratos_utilities.IssueDeprecationWarning | ( | label, | |
* | message | ||
) |