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.
Classes | Functions
utils.io Namespace Reference

Classes

class  bcolors
 

Functions

def TestCamel (s)
 
def RemoveSubstring (s, d)
 
def Formatc (stringList, where)
 
def ToUpperFromCamel (appCamel)
 Converts a Camel-Case string into a uppercase snake_case string. More...
 
def ToLowerFromCamel (appCamel)
 Converts a Camel-Case string into a lowercase snake_case string. More...
 
def CheckNameAvail (appsdir, appname)
 Checks that the application does not exists. More...
 
def GetApplicationsDirectory ()
 Return the path to the applications directory. More...
 
def GetKratosDirectory ()
 Return the path to the applications directory. More...
 

Function Documentation

◆ CheckNameAvail()

def utils.io.CheckNameAvail (   appsdir,
  appname 
)

Checks that the application does not exists.

Raises

Error : If the application "appname" already exists

◆ Formatc()

def utils.io.Formatc (   stringList,
  where 
)

◆ GetApplicationsDirectory()

def utils.io.GetApplicationsDirectory ( )

Return the path to the applications directory.

◆ GetKratosDirectory()

def utils.io.GetKratosDirectory ( )

Return the path to the applications directory.

◆ RemoveSubstring()

def utils.io.RemoveSubstring (   s,
  d 
)

◆ TestCamel()

def utils.io.TestCamel (   s)

◆ ToLowerFromCamel()

def utils.io.ToLowerFromCamel (   appCamel)

Converts a Camel-Case string into a lowercase snake_case string.

◆ ToUpperFromCamel()

def utils.io.ToUpperFromCamel (   appCamel)

Converts a Camel-Case string into a uppercase snake_case string.