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 Condition. More...
Public Member Functions | |
def | __init__ (self, name, base='Condition', template=None, members=None, procedures=None, author='KratosAppGenerator') |
def | AddFlags (self, flagList) |
Adds a list of flags to the condition and initializes. More... | |
def | AddDofs (self, dofList) |
Adds a list of dofs to the condition 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 Condition.
It expects a condition_template.cpp and condition_template.h as base file.
def classes.conditionCreator.ConditionCreator.__init__ | ( | self, | |
name, | |||
base = 'Condition' , |
|||
template = None , |
|||
members = None , |
|||
procedures = None , |
|||
author = 'KratosAppGenerator' |
|||
) |
Reimplemented from classes.classCreator.ClassCreator.
def classes.conditionCreator.ConditionCreator.AddDofs | ( | self, | |
dofList | |||
) |
Adds a list of dofs to the condition and initializes.
It is guaranteed that the order of the list will be respected.
def classes.conditionCreator.ConditionCreator.AddFlags | ( | self, | |
flagList | |||
) |
Adds a list of flags to the condition 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