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.
Functions
utilities.custom_math Namespace Reference

Functions

def SafeConvertVectorToMatrix (_L)
 
def IsVector (_X)
 
def IsEmpty (_A)
 
def ZeroVector (m)
 
def ZeroMatrix (m, n)
 
def Ones (n)
 
def RowSize (_A)
 
def CollSize (_A)
 
def HorzCat (_A, _B)
 
def VertCat (_A, _B)
 
def Norm2 (_X)
 
def NormInf3D (_X)
 
def Dot (_X, _Y)
 
def Plus (_X, _Y)
 
def ScalarVectorProduct (scal, _X)
 
def ScalarMatrixProduct (scal, _A)
 
def Prod (_A, _B)
 
def ElemwiseProd (_X, _Y)
 
def Trans (_A)
 
def Minus (_X, _Y)
 
def TranslateToNewBasis (_A, basis)
 
def TranslateToOriginalBasis (_A, basis)
 
def SolveLinearSystem (A, b)
 
def QuadProg (A, b, max_itr, tolerance)
 
def PerformBisectioning (func, a, b, target, tolerance, max_itr)
 
def PerformGramSchmidtOrthogonalization (vector_space)
 

Function Documentation

◆ CollSize()

def utilities.custom_math.CollSize (   _A)

◆ Dot()

def utilities.custom_math.Dot (   _X,
  _Y 
)

◆ ElemwiseProd()

def utilities.custom_math.ElemwiseProd (   _X,
  _Y 
)

◆ HorzCat()

def utilities.custom_math.HorzCat (   _A,
  _B 
)

◆ IsEmpty()

def utilities.custom_math.IsEmpty (   _A)

◆ IsVector()

def utilities.custom_math.IsVector (   _X)

◆ Minus()

def utilities.custom_math.Minus (   _X,
  _Y 
)

◆ Norm2()

def utilities.custom_math.Norm2 (   _X)

◆ NormInf3D()

def utilities.custom_math.NormInf3D (   _X)

◆ Ones()

def utilities.custom_math.Ones (   n)

◆ PerformBisectioning()

def utilities.custom_math.PerformBisectioning (   func,
  a,
  b,
  target,
  tolerance,
  max_itr 
)

◆ PerformGramSchmidtOrthogonalization()

def utilities.custom_math.PerformGramSchmidtOrthogonalization (   vector_space)

◆ Plus()

def utilities.custom_math.Plus (   _X,
  _Y 
)

◆ Prod()

def utilities.custom_math.Prod (   _A,
  _B 
)

◆ QuadProg()

def utilities.custom_math.QuadProg (   A,
  b,
  max_itr,
  tolerance 
)

◆ RowSize()

def utilities.custom_math.RowSize (   _A)

◆ SafeConvertVectorToMatrix()

def utilities.custom_math.SafeConvertVectorToMatrix (   _L)

◆ ScalarMatrixProduct()

def utilities.custom_math.ScalarMatrixProduct (   scal,
  _A 
)

◆ ScalarVectorProduct()

def utilities.custom_math.ScalarVectorProduct (   scal,
  _X 
)

◆ SolveLinearSystem()

def utilities.custom_math.SolveLinearSystem (   A,
  b 
)

◆ Trans()

def utilities.custom_math.Trans (   _A)

◆ TranslateToNewBasis()

def utilities.custom_math.TranslateToNewBasis (   _A,
  basis 
)

◆ TranslateToOriginalBasis()

def utilities.custom_math.TranslateToOriginalBasis (   _A,
  basis 
)

◆ VertCat()

def utilities.custom_math.VertCat (   _A,
  _B 
)

◆ ZeroMatrix()

def utilities.custom_math.ZeroMatrix (   m,
  n 
)

◆ ZeroVector()

def utilities.custom_math.ZeroVector (   m)