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.
Namespaces | Functions
kratos_utilities.py File Reference

Namespaces

 kratos_utilities
 

Functions

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