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
python_interface.python_registry Namespace Reference

Classes

class  RegistryContext
 
class  PythonRegistryIterator
 PythonRegistry iterator class. More...
 
class  PythonRegistry
 

Functions

def RegisterPrototype (str RegistryPointName)
 Auxiliary function to be used as a class decorator This function is intended to be used as a class decorator in order to manually create a registry entry for the class of interest. More...
 

Function Documentation

◆ RegisterPrototype()

def python_interface.python_registry.RegisterPrototype ( str  RegistryPointName)

Auxiliary function to be used as a class decorator This function is intended to be used as a class decorator in order to manually create a registry entry for the class of interest.

The decorator has only one argument, which is the registry point string. The registry point is expected to have the item keyword in front followed by the application module or by 'UserDefined' for those modules placed in the current work directory. Some examples are:

  • Processes.KratosMultiphysics
  • Processes.KratosMultiphysics.FluidDynamicsApplication
  • Processes.UserDefined