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.
|
Extends KratosClassCreator for a Kratos Element. More...
Public Member Functions | |
def | __init__ (self, name, base='Element', template=None, members=None, procedures=None, author='KratosAppGenerator') |
def | AddFlags (self, flagList) |
Adds a list of flags to the element and initializes. More... | |
def | AddDofs (self, dofList) |
Adds a list of dofs to the element and initializes. More... | |
Public Member Functions inherited from classes.classCreator.ClassCreator | |
def | AddClassMemberVariables (self, members) |
Adds a list of class member variables to the class and initializes them in case it is possible. More... | |
def | AddProcudures (self, procedures) |
Public Member Functions inherited from utils.templateRule.TemplateRule | |
def | __init__ (self) |
def | GetRule (self, ruleName) |
Additional Inherited Members | |
Public Attributes inherited from classes.classCreator.ClassCreator | |
author | |
nameCamel | |
nameUpper | |
nameLower | |
baseHead | |
base | |
template | |
procedures | |
Public Attributes inherited from utils.templateRule.TemplateRule | |
rules | |
Extends KratosClassCreator for a Kratos Element.
It expects a element_template.cpp and element_template.h as base file.
def classes.elementCreator.ElementCreator.__init__ | ( | self, | |
name, | |||
base = 'Element' , |
|||
template = None , |
|||
members = None , |
|||
procedures = None , |
|||
author = 'KratosAppGenerator' |
|||
) |
Reimplemented from classes.classCreator.ClassCreator.
def classes.elementCreator.ElementCreator.AddDofs | ( | self, | |
dofList | |||
) |
Adds a list of dofs to the element and initializes.
It is guaranteed that the order of the list will be respected.
def classes.elementCreator.ElementCreator.AddFlags | ( | self, | |
flagList | |||
) |
Adds a list of flags to the element and initializes.
Input ----- - flagList: list of strings the list of flag names to be added Output ------ - returns itself to allow chaining Rules ----- - @{KRATOS_CLASS_LOCAL_FLAGS}: The flag list