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.
Public Member Functions | Static Public Attributes | List of all members
python_interface.python_registry.PythonRegistry Class Reference
Inheritance diagram for python_interface.python_registry.PythonRegistry:
Collaboration diagram for python_interface.python_registry.PythonRegistry:

Public Member Functions

def __init__ (self)
 
def __getitem__ (self, Name)
 
def __iter__ (self)
 Returns the Iterator object. More...
 
def keys (self, Name)
 
def values (self, Name)
 
def items (self, Name)
 
def NumberOfItems (self, Name, Context=RegistryContext.ALL)
 Returns the total number of items in the registry. More...
 
def HasItem (self, Name, Context=RegistryContext.ALL)
 
def HasValue (self, Name)
 Checks if Name registry item holds a value. More...
 
def HasItems (self, Name, Context=RegistryContext.ALL)
 Checks if Name registry item saves a value. More...
 
def AddItem (self, Name, ModuleName)
 
def RemoveItem (self, Name)
 

Static Public Attributes

dictionary CppGetFunctionNamesMap
 

Constructor & Destructor Documentation

◆ __init__()

def python_interface.python_registry.PythonRegistry.__init__ (   self)

Member Function Documentation

◆ __getitem__()

def python_interface.python_registry.PythonRegistry.__getitem__ (   self,
  Name 
)

◆ __iter__()

def python_interface.python_registry.PythonRegistry.__iter__ (   self)

Returns the Iterator object.

◆ AddItem()

def python_interface.python_registry.PythonRegistry.AddItem (   self,
  Name,
  ModuleName 
)

◆ HasItem()

def python_interface.python_registry.PythonRegistry.HasItem (   self,
  Name,
  Context = RegistryContext.ALL 
)

◆ HasItems()

def python_interface.python_registry.PythonRegistry.HasItems (   self,
  Name,
  Context = RegistryContext.ALL 
)

Checks if Name registry item saves a value.

◆ HasValue()

def python_interface.python_registry.PythonRegistry.HasValue (   self,
  Name 
)

Checks if Name registry item holds a value.

◆ items()

def python_interface.python_registry.PythonRegistry.items (   self,
  Name 
)

◆ keys()

def python_interface.python_registry.PythonRegistry.keys (   self,
  Name 
)

◆ NumberOfItems()

def python_interface.python_registry.PythonRegistry.NumberOfItems (   self,
  Name,
  Context = RegistryContext.ALL 
)

Returns the total number of items in the registry.

◆ RemoveItem()

def python_interface.python_registry.PythonRegistry.RemoveItem (   self,
  Name 
)

◆ values()

def python_interface.python_registry.PythonRegistry.values (   self,
  Name 
)

Member Data Documentation

◆ CppGetFunctionNamesMap

dictionary python_interface.python_registry.PythonRegistry.CppGetFunctionNamesMap
static
Initial value:
= {
"Modelers": "GetModeler",
"Operations": "GetOperation",
"Processes": "GetProcess"
}

The documentation for this class was generated from the following file: