Skip to content

KratosMultiphysics.kratos_globals

Vicente Mataix Ferrándiz edited this page Jun 9, 2018 · 5 revisions

KratosMultiphysics.kratos_globals index

[/home/vicente/src/Kratos/KratosMultiphysics/kratos_globals.py](file:/home/vic ente/src/Kratos/KratosMultiphysics/kratos_globals.py)

Classes

builtins.object

KratosGlobals

class KratosGlobals(builtins.object)

Methods defined here:

GetConstitutiveLaw(self, ConstitutiveLawName) This method returns the constitutive law with the given name
It throws an error if the ConstitutiveLawName does not exist/is not

registered in KratosComponenets. In this case it prints the names

of the registeres constitutive laws

Keyword arguments:

self -- It signifies an instance of a class.

ConstitutiveLawName -- The name of the constitutive law to return

GetFlag(self, FlagName) This method returns the flag with the given name
Keyword arguments:

self -- It signifies an instance of a class.

FlagName -- The name of the flag to return

GetVariable(self, VarName) This method returns the variable with the given name
Keyword arguments:

self -- It signifies an instance of a class.

VarName -- The name of the variable to return

GetVariableType(self, VarName) This method checks the type of variable
Keyword arguments:

self -- It signifies an instance of a class.

VarName -- The name of the variable to check

HasConstitutiveLaw(self, ConstitutiveLawName) This method checks if a constitutive law exists
Keyword arguments:

self -- It signifies an instance of a class.

ConstitutiveLawName -- The name of the constitutive law to check

HasVariable(self, VarName) This method checks if a variable exists
Keyword arguments:

self -- It signifies an instance of a class.

VarName -- The name of the variable to check

init(self, ThisKernel, ThisCaller, ApplicationsRoot) Initialize self. See help(type(self)) for accurate signature.

setattr(self, name, value) Implement setattr(self, name, value).

echo(self)


Data descriptors defined here:

dict dictionary for instance variables (if defined)

weakref list of weak references to the object (if defined)

Data

absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 16384)
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)
print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 65536)

Project information

Getting Started

Tutorials

Developers

Kratos structure

Conventions

Solvers

Debugging, profiling and testing

HOW TOs

Utilities

Kratos API

Kratos Structural Mechanics API

Clone this wiki locally