|
def | __init__ (self) |
|
def | set_initial_data (self, modelpart, rigid_face_model_part, iteration, number_of_points_in_the_graphic, coeff_of_restitution_iteration) |
|
def | get_final_data (self, modelpart, rigid_face_model_part, cluster_model_part) |
|
def | ApplyNodalRotation (self, time, dt, modelpart) |
|
def | generate_graph_points (self, modelpart, rigid_face_model_part, cluster_model_part, time, graph_print_interval, dt) |
|
def | print_results (self, number_of_points_in_the_graphic, dt=0, elapsed_time=0.0) |
| gnuplot_script_name = 'benchmark3_dt_' + str(dt) + 's.gp' self.gnuplot_outfile = open(gnuplot_script_name, 'w') self.gnuplot_outfile.write("set grid; plot '" + self.output_filename + "' u 1:2 w lp lt 3 lw 1.5 ps 2 pt 4, '"\ More...
|
|
def | compute_errors (self, output_filename) |
|
def | create_gnuplot_scripts (self, output_filename, dt) |
|
◆ __init__()
def DEM_benchmarks_class.Benchmark20.__init__ |
( |
|
self | ) |
|
◆ ApplyNodalRotation()
def DEM_benchmarks_class.Benchmark20.ApplyNodalRotation |
( |
|
self, |
|
|
|
time, |
|
|
|
dt, |
|
|
|
modelpart |
|
) |
| |
◆ compute_errors()
def DEM_benchmarks_class.Benchmark20.compute_errors |
( |
|
self, |
|
|
|
output_filename |
|
) |
| |
◆ create_gnuplot_scripts()
def DEM_benchmarks_class.Benchmark20.create_gnuplot_scripts |
( |
|
self, |
|
|
|
output_filename, |
|
|
|
dt |
|
) |
| |
◆ generate_graph_points()
def DEM_benchmarks_class.Benchmark20.generate_graph_points |
( |
|
self, |
|
|
|
modelpart, |
|
|
|
rigid_face_model_part, |
|
|
|
cluster_model_part, |
|
|
|
time, |
|
|
|
graph_print_interval, |
|
|
|
dt |
|
) |
| |
◆ get_final_data()
def DEM_benchmarks_class.Benchmark20.get_final_data |
( |
|
self, |
|
|
|
modelpart, |
|
|
|
rigid_face_model_part, |
|
|
|
cluster_model_part |
|
) |
| |
◆ print_results()
def DEM_benchmarks_class.Benchmark20.print_results |
( |
|
self, |
|
|
|
number_of_points_in_the_graphic, |
|
|
|
dt = 0 , |
|
|
|
elapsed_time = 0.0 |
|
) |
| |
gnuplot_script_name = 'benchmark3_dt_' + str(dt) + 's.gp' self.gnuplot_outfile = open(gnuplot_script_name, 'w') self.gnuplot_outfile.write("set grid; plot '" + self.output_filename + "' u 1:2 w lp lt 3 lw 1.5 ps 2 pt 4, '"\
- self.output_filename + "' u 1:3 w lp lt 2 lw 1.5 ps 2 pt 6") self.gnuplot_outfile.close() self.create_gnuplot_scripts(self.output_filename, dt)
◆ set_initial_data()
def DEM_benchmarks_class.Benchmark20.set_initial_data |
( |
|
self, |
|
|
|
modelpart, |
|
|
|
rigid_face_model_part, |
|
|
|
iteration, |
|
|
|
number_of_points_in_the_graphic, |
|
|
|
coeff_of_restitution_iteration |
|
) |
| |
◆ balls_graph_counter
DEM_benchmarks_class.Benchmark20.balls_graph_counter |
◆ generated_data
DEM_benchmarks_class.Benchmark20.generated_data |
◆ graph_frequency
DEM_benchmarks_class.Benchmark20.graph_frequency |
◆ number
DEM_benchmarks_class.Benchmark20.number |
◆ output_filename
DEM_benchmarks_class.Benchmark20.output_filename |
◆ simulation_graph
DEM_benchmarks_class.Benchmark20.simulation_graph |
◆ total_force_x
DEM_benchmarks_class.Benchmark20.total_force_x |
◆ total_force_y
DEM_benchmarks_class.Benchmark20.total_force_y |
The documentation for this class was generated from the following file:
- /home/runner/work/Documentation/Documentation/master/applications/DEMApplication/python_scripts/DEM_benchmarks_class.py