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.
Functions | Variables
radii_error_plotter Namespace Reference

Functions

def flip (items, ncol)
 

Variables

 dir = os.path.dirname(__file__)
 
list my_paths = []
 
list my_labels = []
 
list my_Nqs = []
 
 my_file_path = os.path.join(dir, 'Daitche_1_order_2Post_Files/radii1.txt')
 
 exact_file_path = os.path.join(dir, 'Reference_Post_Files/exact_radii.txt')
 
list my_radii_arrays = []
 
 mode
 
list ts = []
 
list my_radii = []
 
 data = str.split(line)
 
list exact_radii = []
 
 exact_file_path_2 = os.path.join(dir, 'Reference_Post_Files_2/exact_radii.txt')
 
 exact_file_path_4 = os.path.join(dir, 'Reference_Post_Files_4/exact_radii.txt')
 
 exact_file_path_8 = os.path.join(dir, 'Reference_Post_Files_8/exact_radii.txt')
 
 exact_file_path_16 = os.path.join(dir, 'Reference_Post_Files_16/exact_radii.txt')
 
list exact_radii_2 = []
 
list exact_radii_4 = []
 
list exact_radii_8 = []
 
list exact_radii_16 = []
 
int j = 0
 
list rel_error = [abs(exact_radii[i] - my_radii[i]) / exact_radii[i] for i in range(len(ts))]
 
 label
 
 marker
 
 markevery
 
 color
 
 my_file_path_2 = os.path.join(dir, 'Daitche_t_step_2Post_Files/radii1.txt')
 
 linestyle
 
 my_file_path_4 = os.path.join(dir, 'Daitche_t_step_4Post_Files/radii1.txt')
 
 my_file_path_8 = os.path.join(dir, 'Daitche_t_step_8Post_Files/radii1.txt')
 
 my_file_path_16 = os.path.join(dir, 'Daitche_t_step_16Post_Files/radii1.txt')
 
 loc
 
 ax = plt.subplot(111)
 
 handles
 
 labels
 
 ncol
 
 format
 
 dpi
 

Function Documentation

◆ flip()

def radii_error_plotter.flip (   items,
  ncol 
)

Variable Documentation

◆ ax

radii_error_plotter.ax = plt.subplot(111)

◆ color

radii_error_plotter.color

◆ data

radii_error_plotter.data = str.split(line)

◆ dir

radii_error_plotter.dir = os.path.dirname(__file__)

◆ dpi

radii_error_plotter.dpi

◆ exact_file_path

radii_error_plotter.exact_file_path = os.path.join(dir, 'Reference_Post_Files/exact_radii.txt')

◆ exact_file_path_16

radii_error_plotter.exact_file_path_16 = os.path.join(dir, 'Reference_Post_Files_16/exact_radii.txt')

◆ exact_file_path_2

radii_error_plotter.exact_file_path_2 = os.path.join(dir, 'Reference_Post_Files_2/exact_radii.txt')

◆ exact_file_path_4

radii_error_plotter.exact_file_path_4 = os.path.join(dir, 'Reference_Post_Files_4/exact_radii.txt')

◆ exact_file_path_8

radii_error_plotter.exact_file_path_8 = os.path.join(dir, 'Reference_Post_Files_8/exact_radii.txt')

◆ exact_radii

list radii_error_plotter.exact_radii = []

◆ exact_radii_16

list radii_error_plotter.exact_radii_16 = []

◆ exact_radii_2

list radii_error_plotter.exact_radii_2 = []

◆ exact_radii_4

list radii_error_plotter.exact_radii_4 = []

◆ exact_radii_8

list radii_error_plotter.exact_radii_8 = []

◆ format

radii_error_plotter.format

◆ handles

radii_error_plotter.handles

◆ j

radii_error_plotter.j = 0

◆ label

radii_error_plotter.label

◆ labels

radii_error_plotter.labels

◆ linestyle

radii_error_plotter.linestyle

◆ loc

radii_error_plotter.loc

◆ marker

radii_error_plotter.marker

◆ markevery

radii_error_plotter.markevery

◆ mode

radii_error_plotter.mode

◆ my_file_path

radii_error_plotter.my_file_path = os.path.join(dir, 'Daitche_1_order_2Post_Files/radii1.txt')

◆ my_file_path_16

radii_error_plotter.my_file_path_16 = os.path.join(dir, 'Daitche_t_step_16Post_Files/radii1.txt')

◆ my_file_path_2

radii_error_plotter.my_file_path_2 = os.path.join(dir, 'Daitche_t_step_2Post_Files/radii1.txt')

◆ my_file_path_4

radii_error_plotter.my_file_path_4 = os.path.join(dir, 'Daitche_t_step_4Post_Files/radii1.txt')

◆ my_file_path_8

radii_error_plotter.my_file_path_8 = os.path.join(dir, 'Daitche_t_step_8Post_Files/radii1.txt')

◆ my_labels

list radii_error_plotter.my_labels = []

◆ my_Nqs

list radii_error_plotter.my_Nqs = []

◆ my_paths

list radii_error_plotter.my_paths = []

◆ my_radii

list radii_error_plotter.my_radii = []

◆ my_radii_arrays

list radii_error_plotter.my_radii_arrays = []

◆ ncol

radii_error_plotter.ncol

◆ rel_error

list radii_error_plotter.rel_error = [abs(exact_radii[i] - my_radii[i]) / exact_radii[i] for i in range(len(ts))]

◆ ts

list radii_error_plotter.ts = []