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

Classes

class  ProblemParameters
 
class  HinsbergPointsSetGivenNorm
 

Functions

def CalculateErrors (points_set, pp, n_samples=40)
 
def ExactErrorTail (points_set, m_index, lower_limit)
 
def K (points_set, m_index, t, pp)
 
def PerformQuadratureOfObjectiveFunctionSecondTerm (points_set, m_index, a, b)
 
def ObjectiveFunction (points_set, m_index, pp)
 

Variables

 pp = ProblemParameters()
 
 end_time
 
 initial_time
 
int t_w_min = 2 * math.pi * 1e-5
 
int n_doublings = 6
 
list t_ws = [t_w_min * 10 ** k for k in range(n_doublings)]
 
int k_calc = 1
 
 k_max = len(t_ws)
 
 t_w
 
 end_time_minus_tw
 
 t_norm_set = HinsbergPointsSetGivenNorm('t_norm')
 
 abs_norm_set = HinsbergPointsSetGivenNorm('abs_norm')
 
 hinsberg_set = HinsbergPointsSetGivenNorm('hinsberg_norm')
 
 exponential_indices
 
 exponential_numbers
 
int size_factor = 3
 
float growth_exponent = 1.5
 
tuple line_width = (size_factor * k_calc / k_max) ** growth_exponent
 
int small_marker_size = 2 + 2 * (size_factor * k_calc / k_max) ** growth_exponent
 
int big_marker_size = 2 + 3 * (size_factor * k_calc / k_max) ** growth_exponent
 
int maker_width = 1 + 0.1 * (size_factor * k_calc) ** growth_exponent
 
 Errors
 
 markersize
 
 linewidth
 
 color
 
 marker
 
 label
 
 mew
 
 ErrorBounds
 
 linestyle
 
 fontsize
 
 labelpad
 
 lgnd = plt.legend(loc = 'lower left', prop={'size':22.5}, frameon=False)
 
 axis
 
 which
 
 labelsize
 
 ax = plt.gca()
 
 pad
 
 figure = plt.gcf()
 
 bottom
 
 left
 
 format
 
 dpi
 

Function Documentation

◆ CalculateErrors()

def exact_hinsberg_test.CalculateErrors (   points_set,
  pp,
  n_samples = 40 
)

◆ ExactErrorTail()

def exact_hinsberg_test.ExactErrorTail (   points_set,
  m_index,
  lower_limit 
)

◆ K()

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

◆ ObjectiveFunction()

def exact_hinsberg_test.ObjectiveFunction (   points_set,
  m_index,
  pp 
)

◆ PerformQuadratureOfObjectiveFunctionSecondTerm()

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

Variable Documentation

◆ abs_norm_set

exact_hinsberg_test.abs_norm_set = HinsbergPointsSetGivenNorm('abs_norm')

◆ ax

exact_hinsberg_test.ax = plt.gca()

◆ axis

exact_hinsberg_test.axis

◆ big_marker_size

exact_hinsberg_test.big_marker_size = 2 + 3 * (size_factor * k_calc / k_max) ** growth_exponent

◆ bottom

exact_hinsberg_test.bottom

◆ color

exact_hinsberg_test.color

◆ dpi

exact_hinsberg_test.dpi

◆ end_time

exact_hinsberg_test.end_time

◆ end_time_minus_tw

exact_hinsberg_test.end_time_minus_tw

◆ ErrorBounds

exact_hinsberg_test.ErrorBounds

◆ Errors

exact_hinsberg_test.Errors

◆ exponential_indices

exact_hinsberg_test.exponential_indices

◆ exponential_numbers

exact_hinsberg_test.exponential_numbers

◆ figure

exact_hinsberg_test.figure = plt.gcf()

◆ fontsize

exact_hinsberg_test.fontsize

◆ format

exact_hinsberg_test.format

◆ growth_exponent

float exact_hinsberg_test.growth_exponent = 1.5

◆ hinsberg_set

exact_hinsberg_test.hinsberg_set = HinsbergPointsSetGivenNorm('hinsberg_norm')

◆ initial_time

exact_hinsberg_test.initial_time

◆ k_calc

exact_hinsberg_test.k_calc = 1

◆ k_max

exact_hinsberg_test.k_max = len(t_ws)

◆ label

exact_hinsberg_test.label

◆ labelpad

exact_hinsberg_test.labelpad

◆ labelsize

exact_hinsberg_test.labelsize

◆ left

exact_hinsberg_test.left

◆ lgnd

exact_hinsberg_test.lgnd = plt.legend(loc = 'lower left', prop={'size':22.5}, frameon=False)

◆ line_width

exact_hinsberg_test.line_width = (size_factor * k_calc / k_max) ** growth_exponent

◆ linestyle

exact_hinsberg_test.linestyle

◆ linewidth

exact_hinsberg_test.linewidth

◆ maker_width

exact_hinsberg_test.maker_width = 1 + 0.1 * (size_factor * k_calc) ** growth_exponent

◆ marker

exact_hinsberg_test.marker

◆ markersize

exact_hinsberg_test.markersize

◆ mew

exact_hinsberg_test.mew

◆ n_doublings

int exact_hinsberg_test.n_doublings = 6

◆ pad

exact_hinsberg_test.pad

◆ pp

exact_hinsberg_test.pp = ProblemParameters()

◆ size_factor

int exact_hinsberg_test.size_factor = 3

◆ small_marker_size

exact_hinsberg_test.small_marker_size = 2 + 2 * (size_factor * k_calc / k_max) ** growth_exponent

◆ t_norm_set

exact_hinsberg_test.t_norm_set = HinsbergPointsSetGivenNorm('t_norm')

◆ t_w

exact_hinsberg_test.t_w

◆ t_w_min

int exact_hinsberg_test.t_w_min = 2 * math.pi * 1e-5

◆ t_ws

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

◆ which

exact_hinsberg_test.which