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 | |
class | ProblemParameters |
class | HinsbergPointsSetGivenNorm |
Functions | |
def | CalculateErrors (points_set, pp, samples=10) |
def | CalculateError (t_w) |
def | CalculateApproxTailContribution (points_set, m_index, lower_limit) |
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) |
def | sign (x) |
def | samesign (a, b) |
def | bisect (func, low, high) |
def | regula_falsi (func, a, b, max_steps=100, tolerance=1e-8) |
def | CalculateTws (m, max_t_w, points_set, ref_error, n_samples=40) |
Variables | |
pp = ProblemParameters() | |
end_time | |
initial_time | |
list | ref_errors = [1e-1, 5e-2, 1e-2, 5e-3, 1e-3, 5e-4, 1e-4] |
list | max_t_w_t_norms = [] |
list | max_t_w_t_norm = [10 ** 3] * 11 |
list | max_t_w_abs_norm = [10 ** 3] * 11 |
list | max_t_w_hinsberg = [10 ** 3] |
t_norm_set = HinsbergPointsSetGivenNorm('t_norm') | |
abs_norm_set = HinsbergPointsSetGivenNorm('abs_norm') | |
hinsberg_set = HinsbergPointsSetGivenNorm('hinsberg_norm') | |
figsize | |
float | tw_max = 1.0 |
color | |
ms | |
i_plot | |
linewidth | |
label | |
mew | |
fontsize | |
string | percentage = '%g' % (100 * ref_error) |
ax = plt.gca() | |
axis | |
pad | |
labelsize | |
figure = plt.gcf() | |
string | base_t_w = '%.2f' % tw_max |
string | file_name = 'all_tw_for_x_percent_error.pdf' |
format | |
dpi | |
def all_t_win_vs_m_fixed_error.bisect | ( | func, | |
low, | |||
high | |||
) |
def all_t_win_vs_m_fixed_error.CalculateApproxTailContribution | ( | points_set, | |
m_index, | |||
lower_limit | |||
) |
def all_t_win_vs_m_fixed_error.CalculateError | ( | t_w | ) |
def all_t_win_vs_m_fixed_error.CalculateErrors | ( | points_set, | |
pp, | |||
samples = 10 |
|||
) |
def all_t_win_vs_m_fixed_error.CalculateTws | ( | m, | |
max_t_w, | |||
points_set, | |||
ref_error, | |||
n_samples = 40 |
|||
) |
def all_t_win_vs_m_fixed_error.ExactErrorTail | ( | points_set, | |
m_index, | |||
lower_limit | |||
) |
def all_t_win_vs_m_fixed_error.K | ( | points_set, | |
m_index, | |||
t, | |||
pp | |||
) |
def all_t_win_vs_m_fixed_error.ObjectiveFunction | ( | points_set, | |
m_index, | |||
pp | |||
) |
def all_t_win_vs_m_fixed_error.PerformQuadratureOfObjectiveFunctionSecondTerm | ( | points_set, | |
m_index, | |||
a, | |||
b | |||
) |
def all_t_win_vs_m_fixed_error.regula_falsi | ( | func, | |
a, | |||
b, | |||
max_steps = 100 , |
|||
tolerance = 1e-8 |
|||
) |
def all_t_win_vs_m_fixed_error.samesign | ( | a, | |
b | |||
) |
def all_t_win_vs_m_fixed_error.sign | ( | x | ) |
all_t_win_vs_m_fixed_error.abs_norm_set = HinsbergPointsSetGivenNorm('abs_norm') |
all_t_win_vs_m_fixed_error.ax = plt.gca() |
all_t_win_vs_m_fixed_error.axis |
string all_t_win_vs_m_fixed_error.base_t_w = '%.2f' % tw_max |
all_t_win_vs_m_fixed_error.color |
all_t_win_vs_m_fixed_error.dpi |
all_t_win_vs_m_fixed_error.end_time |
all_t_win_vs_m_fixed_error.figsize |
all_t_win_vs_m_fixed_error.figure = plt.gcf() |
all_t_win_vs_m_fixed_error.file_name = 'all_tw_for_x_percent_error.pdf' |
all_t_win_vs_m_fixed_error.fontsize |
all_t_win_vs_m_fixed_error.format |
all_t_win_vs_m_fixed_error.hinsberg_set = HinsbergPointsSetGivenNorm('hinsberg_norm') |
all_t_win_vs_m_fixed_error.i_plot |
all_t_win_vs_m_fixed_error.initial_time |
all_t_win_vs_m_fixed_error.label |
all_t_win_vs_m_fixed_error.labelsize |
all_t_win_vs_m_fixed_error.linewidth |
list all_t_win_vs_m_fixed_error.max_t_w_abs_norm = [10 ** 3] * 11 |
list all_t_win_vs_m_fixed_error.max_t_w_hinsberg = [10 ** 3] |
list all_t_win_vs_m_fixed_error.max_t_w_t_norm = [10 ** 3] * 11 |
list all_t_win_vs_m_fixed_error.max_t_w_t_norms = [] |
all_t_win_vs_m_fixed_error.mew |
all_t_win_vs_m_fixed_error.ms |
all_t_win_vs_m_fixed_error.pad |
string all_t_win_vs_m_fixed_error.percentage = '%g' % (100 * ref_error) |
all_t_win_vs_m_fixed_error.pp = ProblemParameters() |
list all_t_win_vs_m_fixed_error.ref_errors = [1e-1, 5e-2, 1e-2, 5e-3, 1e-3, 5e-4, 1e-4] |
all_t_win_vs_m_fixed_error.t_norm_set = HinsbergPointsSetGivenNorm('t_norm') |
float all_t_win_vs_m_fixed_error.tw_max = 1.0 |