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 | Namespaces | Functions | Variables
t_win_vs_m_fixed_error.py File Reference

Classes

class  t_win_vs_m_fixed_error.ProblemParameters
 
class  t_win_vs_m_fixed_error.HinsbergPointsSetGivenNorm
 

Namespaces

 t_win_vs_m_fixed_error
 

Functions

def t_win_vs_m_fixed_error.CalculateErrors (points_set, pp, samples=10)
 
def t_win_vs_m_fixed_error.CalculateError (t_w)
 
def t_win_vs_m_fixed_error.CalculateApproxTailContribution (points_set, m_index, lower_limit)
 
def t_win_vs_m_fixed_error.ExactErrorTail (points_set, m_index, lower_limit)
 
def t_win_vs_m_fixed_error.K (points_set, m_index, t, pp)
 
def t_win_vs_m_fixed_error.PerformQuadratureOfObjectiveFunctionSecondTerm (points_set, m_index, a, b)
 
def t_win_vs_m_fixed_error.ObjectiveFunction (points_set, m_index, pp)
 
def t_win_vs_m_fixed_error.sign (x)
 
def t_win_vs_m_fixed_error.samesign (a, b)
 
def t_win_vs_m_fixed_error.bisect (func, low, high)
 
def t_win_vs_m_fixed_error.regula_falsi (func, a, b, max_steps=100, tolerance=1e-8)
 
def t_win_vs_m_fixed_error.CalculateTws (m, max_t_w, points_set, ref_error, n_samples=40)
 

Variables

 t_win_vs_m_fixed_error.pp = ProblemParameters()
 
 t_win_vs_m_fixed_error.end_time
 
 t_win_vs_m_fixed_error.initial_time
 
list t_win_vs_m_fixed_error.ref_errors = [1e-1, 1e-2, 1e-3]
 
list t_win_vs_m_fixed_error.max_t_w_t_norms = []
 
list t_win_vs_m_fixed_error.max_t_w_t_norm = [10 ** 3] * 11
 
list t_win_vs_m_fixed_error.max_t_w_abs_norm = [10 ** 3] * 11
 
list t_win_vs_m_fixed_error.max_t_w_hinsberg = [10 ** 3]
 
 t_win_vs_m_fixed_error.t_norm_set = HinsbergPointsSetGivenNorm('t_norm')
 
 t_win_vs_m_fixed_error.abs_norm_set = HinsbergPointsSetGivenNorm('abs_norm')
 
 t_win_vs_m_fixed_error.hinsberg_set = HinsbergPointsSetGivenNorm('hinsberg_norm')
 
 t_win_vs_m_fixed_error.figsize
 
list t_win_vs_m_fixed_error.tw_max = max_t_w_abs_norm[0]
 
 t_win_vs_m_fixed_error.color
 
 t_win_vs_m_fixed_error.ms
 
 t_win_vs_m_fixed_error.linewidth
 
 t_win_vs_m_fixed_error.label
 
 t_win_vs_m_fixed_error.mew
 
 t_win_vs_m_fixed_error.fontsize
 
string t_win_vs_m_fixed_error.percentage = '%g' % (100 * ref_error)
 
 t_win_vs_m_fixed_error.ax = plt.gca()
 
 t_win_vs_m_fixed_error.axis
 
 t_win_vs_m_fixed_error.pad
 
 t_win_vs_m_fixed_error.labelsize
 
 t_win_vs_m_fixed_error.figure = plt.gcf()
 
string t_win_vs_m_fixed_error.base_t_w = '%.2f' % tw_max
 
string t_win_vs_m_fixed_error.file_name = 'non_dimensional_tw_for_x_percent_error.pdf'
 
 t_win_vs_m_fixed_error.lgnd = plt.legend(loc = 'center left', prop={'size':22},frameon=False, bbox_to_anchor=(1.1, 0.5, 0.5, 0.5))
 
 t_win_vs_m_fixed_error.format
 
 t_win_vs_m_fixed_error.dpi