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 | Variables
hinsberg_optimization Namespace Reference

Classes

class  K_B
 
class  K_component
 
class  K_sum
 
class  Functional
 

Functions

def FillUpMatrices (F, a)
 
def GetExponentialsCoefficients (functional, a0)
 

Variables

list tis = [0.1, 0.3, 1., 3., 10., 40., 190., 1000., 6500., 50000.]
 
list a0 = [0.2 for ti in tis]
 
int tol = 1e-9
 
int max_iter = 10
 
bool still_changes = True
 
 a = np.array(a0)
 
 a_old = np.array(a0)
 
int iteration = 0
 
 F = Functional(tis)
 
 grad
 
 H_inv
 

Function Documentation

◆ FillUpMatrices()

def hinsberg_optimization.FillUpMatrices (   F,
  a 
)

◆ GetExponentialsCoefficients()

def hinsberg_optimization.GetExponentialsCoefficients (   functional,
  a0 
)

Variable Documentation

◆ a

hinsberg_optimization.a = np.array(a0)

◆ a0

list hinsberg_optimization.a0 = [0.2 for ti in tis]

◆ a_old

hinsberg_optimization.a_old = np.array(a0)

◆ F

hinsberg_optimization.F = Functional(tis)

◆ grad

hinsberg_optimization.grad

◆ H_inv

hinsberg_optimization.H_inv

◆ iteration

int hinsberg_optimization.iteration = 0

◆ max_iter

int hinsberg_optimization.max_iter = 10

◆ still_changes

int hinsberg_optimization.still_changes = True

◆ tis

list hinsberg_optimization.tis = [0.1, 0.3, 1., 3., 10., 40., 190., 1000., 6500., 50000.]

◆ tol

int hinsberg_optimization.tol = 1e-9