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
initial_time_bounds Namespace Reference

Classes

class  ProblemParameters
 
class  HinsbergPointsSetGivenNorm
 

Functions

def CalculateErrors (points_set, pp)
 
def ExactErrorTail (points_set, m_index, lower_limit)
 
def K (points_set, m_index, t, pp)
 
def K_dim (points_set, m_index, t, pp)
 
def GetMaxTime (max_a, min_b, m, pp)
 
def PerformQuadratureOfObjectiveFunctionSecondTerm (points_set, m_index, a, b)
 
def ObjectiveFunctionInfinity (points_set, m_index, pp)
 
def ObjectiveFunction (points_set, m_index, pp)
 
def Average (vector_container, current_values, k_calc, pp)
 

Variables

 pp = ProblemParameters()
 
 n_samples
 
 t_w_min
 
 n_doublings
 
 error_norm_type
 
 initial_number_of_periods
 
list phases = [i / pp.n_samples * 2 * math.pi for i in range(pp.n_samples)]
 
list t_ws = [pp.t_w_min * 10 ** k for k in range(pp.n_doublings)]
 
list exponential_numbers_t_norm = [0]
 
list exponential_numbers_abs_norm = [0]
 
list exponential_numbers_hinsberg_norm = [0]
 
list norm_of_errors_t_norm = [[]] * len(t_ws)
 
list norm_of_errors_abs_norm = [[]] * len(t_ws)
 
list norm_of_errors_hinsberg_norm = [[]] * len(t_ws)
 
list norm_of_bounds_t_norm = [[]] * len(t_ws)
 
list norm_of_bounds_abs_norm = [[]] * len(t_ws)
 
list norm_of_bounds_hinsberg_norm = [[]] * len(t_ws)
 
 rate_of_change
 
int k_sample = 0
 
 end_time
 
 initial_time
 
 Delta_t
 
int k_calc = 1
 
 k_max = len(t_ws)
 
 t_w
 
 end_time_minus_tw
 
 ND_end_time
 
 t_norm_set = HinsbergPointsSetGivenNorm('t_norm')
 
 abs_norm_set = HinsbergPointsSetGivenNorm('abs_norm')
 
 hinsberg_set = HinsbergPointsSetGivenNorm('hinsberg_norm')
 
 exponential_indices
 
 exponential_numbers
 
 size_factor = k_max
 
tuple line_width = (size_factor * k_calc / k_max) ** 1.2
 
int small_marker_size = 4 + 2 * (size_factor * k_calc / k_max) ** 1.2
 
int big_marker_size = 4 + 3 * (size_factor * k_calc / k_max) ** 1.2
 
float maker_width = 0.75 * (size_factor * k_calc / k_max) ** 1.2
 
 color
 
 linestyle
 
 label
 
 markersize
 
 marker
 
 fontsize
 
 labelpad
 
 axis
 
 which
 
 labelsize
 
 loc
 
 prop
 
 frameon
 
 ax = plt.gca()
 
 pad
 
 format
 
 dpi
 

Function Documentation

◆ Average()

def initial_time_bounds.Average (   vector_container,
  current_values,
  k_calc,
  pp 
)

◆ CalculateErrors()

def initial_time_bounds.CalculateErrors (   points_set,
  pp 
)

◆ ExactErrorTail()

def initial_time_bounds.ExactErrorTail (   points_set,
  m_index,
  lower_limit 
)

◆ GetMaxTime()

def initial_time_bounds.GetMaxTime (   max_a,
  min_b,
  m,
  pp 
)

◆ K()

def initial_time_bounds.K (   points_set,
  m_index,
  t,
  pp 
)

◆ K_dim()

def initial_time_bounds.K_dim (   points_set,
  m_index,
  t,
  pp 
)

◆ ObjectiveFunction()

def initial_time_bounds.ObjectiveFunction (   points_set,
  m_index,
  pp 
)

◆ ObjectiveFunctionInfinity()

def initial_time_bounds.ObjectiveFunctionInfinity (   points_set,
  m_index,
  pp 
)

◆ PerformQuadratureOfObjectiveFunctionSecondTerm()

def initial_time_bounds.PerformQuadratureOfObjectiveFunctionSecondTerm (   points_set,
  m_index,
  a,
  b 
)

Variable Documentation

◆ abs_norm_set

initial_time_bounds.abs_norm_set = HinsbergPointsSetGivenNorm('abs_norm')

◆ ax

initial_time_bounds.ax = plt.gca()

◆ axis

initial_time_bounds.axis

◆ big_marker_size

int initial_time_bounds.big_marker_size = 4 + 3 * (size_factor * k_calc / k_max) ** 1.2

◆ color

initial_time_bounds.color

◆ Delta_t

initial_time_bounds.Delta_t

◆ dpi

initial_time_bounds.dpi

◆ end_time

initial_time_bounds.end_time

◆ end_time_minus_tw

initial_time_bounds.end_time_minus_tw

◆ error_norm_type

initial_time_bounds.error_norm_type

◆ exponential_indices

initial_time_bounds.exponential_indices

◆ exponential_numbers

initial_time_bounds.exponential_numbers

◆ exponential_numbers_abs_norm

initial_time_bounds.exponential_numbers_abs_norm = [0]

◆ exponential_numbers_hinsberg_norm

initial_time_bounds.exponential_numbers_hinsberg_norm = [0]

◆ exponential_numbers_t_norm

initial_time_bounds.exponential_numbers_t_norm = [0]

◆ fontsize

initial_time_bounds.fontsize

◆ format

initial_time_bounds.format

◆ frameon

initial_time_bounds.frameon

◆ hinsberg_set

initial_time_bounds.hinsberg_set = HinsbergPointsSetGivenNorm('hinsberg_norm')

◆ initial_number_of_periods

initial_time_bounds.initial_number_of_periods

◆ initial_time

initial_time_bounds.initial_time

◆ k_calc

int initial_time_bounds.k_calc = 1

◆ k_max

initial_time_bounds.k_max = len(t_ws)

◆ k_sample

int initial_time_bounds.k_sample = 0

◆ label

initial_time_bounds.label

◆ labelpad

initial_time_bounds.labelpad

◆ labelsize

initial_time_bounds.labelsize

◆ line_width

tuple initial_time_bounds.line_width = (size_factor * k_calc / k_max) ** 1.2

◆ linestyle

initial_time_bounds.linestyle

◆ loc

initial_time_bounds.loc

◆ maker_width

float initial_time_bounds.maker_width = 0.75 * (size_factor * k_calc / k_max) ** 1.2

◆ marker

initial_time_bounds.marker

◆ markersize

initial_time_bounds.markersize

◆ n_doublings

initial_time_bounds.n_doublings

◆ n_samples

initial_time_bounds.n_samples

◆ ND_end_time

initial_time_bounds.ND_end_time

◆ norm_of_bounds_abs_norm

list initial_time_bounds.norm_of_bounds_abs_norm = [[]] * len(t_ws)

◆ norm_of_bounds_hinsberg_norm

list initial_time_bounds.norm_of_bounds_hinsberg_norm = [[]] * len(t_ws)

◆ norm_of_bounds_t_norm

list initial_time_bounds.norm_of_bounds_t_norm = [[]] * len(t_ws)

◆ norm_of_errors_abs_norm

list initial_time_bounds.norm_of_errors_abs_norm = [[]] * len(t_ws)

◆ norm_of_errors_hinsberg_norm

list initial_time_bounds.norm_of_errors_hinsberg_norm = [[]] * len(t_ws)

◆ norm_of_errors_t_norm

list initial_time_bounds.norm_of_errors_t_norm = [[]] * len(t_ws)

◆ pad

initial_time_bounds.pad

◆ phases

list initial_time_bounds.phases = [i / pp.n_samples * 2 * math.pi for i in range(pp.n_samples)]

◆ pp

initial_time_bounds.pp = ProblemParameters()

◆ prop

initial_time_bounds.prop

◆ rate_of_change

initial_time_bounds.rate_of_change

◆ size_factor

initial_time_bounds.size_factor = k_max

◆ small_marker_size

int initial_time_bounds.small_marker_size = 4 + 2 * (size_factor * k_calc / k_max) ** 1.2

◆ t_norm_set

initial_time_bounds.t_norm_set = HinsbergPointsSetGivenNorm('t_norm')

◆ t_w

initial_time_bounds.t_w

◆ t_w_min

initial_time_bounds.t_w_min

◆ t_ws

list initial_time_bounds.t_ws = [pp.t_w_min * 10 ** k for k in range(pp.n_doublings)]

◆ which

initial_time_bounds.which