PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
util.py File Reference

Go to the source code of this file.

Namespaces

namespace  util
 Collection of methods useful in simulation.
 

Functions

 util.print_const (arg, fmt='%4.6e', prefix="")
 
 util.print_list (arg, fmt='%4.6e', delim=', ')
 
 util.print_bool (arg, prefix="")
 
 util.print_dbl (arg, prefix="")
 
 util.print_int (arg, prefix="")
 
 util.print_dbl_list (arg, prefix="")
 
 util.print_int_list (arg, prefix="")
 
 util.print_point_gmsh (arg, n)
 
 util.print_cir_gmsh (arg, n)
 
 util.print_line_gmsh (arg, n)
 
 util.print_lineloop_gmsh (arg, n)
 
 util.gmsh_file_hdr (f)
 
 util.get_E (K, nu)
 
 util.get_G (E, nu)
 
 util.get_eff_k (k1, k2)
 
 util.get_max (l)
 
 util.rotate (p, theta, axis)
 
 util.get_ref_hex_points (center, radius, add_center=False)
 
 util.get_ref_drum_points (center, radius, width, add_center=False)
 
 util.does_intersect (p, particles, padding)
 
 util.does_intersect_rect (p, particles, padding, rect, is_3d=False)
 
 util.generate_circle_gmsh_input (filename, center, radius, mesh_size, pp_tag=None)
 
 util.generate_rectangle_gmsh_input (filename, rectangle, mesh_size, pp_tag=None)
 
 util.generate_hexagon_gmsh_input (filename, center, radius, mesh_size, pp_tag=None)
 
 util.generate_drum_gmsh_input (filename, center, radius, width, mesh_size, pp_tag=None)