SYMBOL INDEX (396 symbols across 114 files) FILE: 0_getting_started/simulator0.py function screen_projection (line 19) | def screen_projection(x): # convert simulated coordinates to w... FILE: 0_getting_started/simulator1.py function screen_projection (line 22) | def screen_projection(x): # convert simulated coordinates to w... FILE: 0_getting_started/simulator2.py function screen_projection (line 28) | def screen_projection(x): # convert simulated coordinates to w... FILE: 0_getting_started/square_mesh.py function generate (line 3) | def generate(side_length, n_seg): FILE: 10_mpm_elasticity/simulator.py function uniform_grid (line 21) | def uniform_grid(x0, y0, x1, y1, dx): function reset_grid (line 53) | def reset_grid(): function StVK_Hencky_PK1_2D (line 64) | def StVK_Hencky_PK1_2D(F): function particle_to_grid_transfer (line 74) | def particle_to_grid_transfer(): function update_grid (line 101) | def update_grid(): function grid_to_particle_transfer (line 115) | def grid_to_particle_transfer(): function update_particle_state (line 143) | def update_particle_state(): function step (line 149) | def step(): FILE: 11_mpm_plastic/simulator.py function poisson_disk_sampling (line 11) | def poisson_disk_sampling(radius, domain_size, k=30): function reset_grid (line 102) | def reset_grid(): function StVK_Hencky_PK1_2D (line 113) | def StVK_Hencky_PK1_2D(F): function Drucker_Prager_return_mapping (line 125) | def Drucker_Prager_return_mapping(F, diff_log_J): function particle_to_grid_transfer (line 152) | def particle_to_grid_transfer(): function update_grid (line 181) | def update_grid(): function grid_to_particle_transfer (line 209) | def grid_to_particle_transfer(): function update_particle_state (line 244) | def update_particle_state(): function step (line 259) | def step(): FILE: 11_mpm_plastic/simulator_viscoplastic.py function viscoplastic_return_mapping_stvk_2d (line 39) | def viscoplastic_return_mapping_stvk_2d(F_trial, mu_p, lam_p, yield_stre... function stvk_stress_2d (line 85) | def stvk_stress_2d(F_elastic, U, V, sig, mu_p, lam_p): function p2g2p (line 101) | def p2g2p(): function reset (line 178) | def reset(): FILE: 11_mpm_sand/simulator.py function poisson_disk_sampling (line 11) | def poisson_disk_sampling(radius, domain_size, k=30): function reset_grid (line 102) | def reset_grid(): function StVK_Hencky_PK1_2D (line 113) | def StVK_Hencky_PK1_2D(F): function Drucker_Prager_return_mapping (line 125) | def Drucker_Prager_return_mapping(F, diff_log_J): function particle_to_grid_transfer (line 152) | def particle_to_grid_transfer(): function update_grid (line 181) | def update_grid(): function grid_to_particle_transfer (line 209) | def grid_to_particle_transfer(): function update_particle_state (line 244) | def update_particle_state(): function step (line 259) | def step(): FILE: 12_pbd_cloth/constraints/bending.py function solve_bending_constraints (line 5) | def solve_bending_constraints( FILE: 12_pbd_cloth/constraints/stretching.py function solve_stretching_constraints (line 5) | def solve_stretching_constraints( FILE: 12_pbd_cloth/main.py class USDExporter (line 18) | class USDExporter: method __init__ (line 21) | def __init__(self, output_path="cloth_animation.usd", fps=60, scale=10... method export_frame (line 36) | def export_frame(self, positions, indices): method save (line 52) | def save(self): function reset_constraint_lambdas (line 141) | def reset_constraint_lambdas( function substep (line 151) | def substep(grab_id, grab_x, grab_y, grab_z): FILE: 12_pbd_cloth/utils/cloth_utils.py function pin_top_vertices (line 5) | def pin_top_vertices( function initialize_colors (line 20) | def initialize_colors( function apply_grab (line 36) | def apply_grab( FILE: 12_pbd_cloth/utils/constraint_finder.py function find_constraint_indices (line 4) | def find_constraint_indices(tri_ids_np): function find_bottom_corner (line 33) | def find_bottom_corner(pos_np): function calculate_quadratic_path_pos (line 55) | def calculate_quadratic_path_pos(start_pos, end_pos, t): FILE: 12_pbd_cloth/utils/mesh_loader.py function load_cloth_data_from_json (line 5) | def load_cloth_data_from_json(filepath="cloth_data.json"): function create_cloth_mesh_data (line 30) | def create_cloth_mesh_data(width=20, height=15, spacing=0.1): FILE: 12_pbd_cloth/xpbd_base.py function init_physics (line 11) | def init_physics( function pre_solve (line 52) | def pre_solve( function post_solve (line 74) | def post_solve( FILE: 13_pbd_mesh/constraints/edge.py function solve_edges (line 5) | def solve_edges( FILE: 13_pbd_mesh/constraints/volume.py function solve_volumes (line 12) | def solve_volumes( FILE: 13_pbd_mesh/main.py function load_dual_mesh_from_json (line 27) | def load_dual_mesh_from_json(filepath): class USDExporter (line 53) | class USDExporter: method __init__ (line 56) | def __init__(self, output_path="dragon_animation.usd", fps=60, scale=1... method export_frame (line 72) | def export_frame(self, vertices, faces): method save (line 89) | def save(self): function reset_constraint_lambdas (line 202) | def reset_constraint_lambdas( function substep (line 212) | def substep(): FILE: 13_pbd_mesh/skinning/hash_grid.py function build_hash_grid (line 15) | def build_hash_grid( FILE: 13_pbd_mesh/skinning/skinning.py function compute_skinning_info_hashed (line 18) | def compute_skinning_info_hashed( function update_vis_mesh (line 64) | def update_vis_mesh( FILE: 13_pbd_mesh/xpbd_base.py function get_tet_volume (line 12) | def get_tet_volume(p_indices, pos): function get_barycentric_coords (line 19) | def get_barycentric_coords(p, a, b, c, d): function get_grid_cell (line 30) | def get_grid_cell(p, inv_cell_spacing, grid_size): function clamp_to_box (line 36) | def clamp_to_box(p, box_min, box_max): function init_physics (line 46) | def init_physics( function pre_solve (line 78) | def pre_solve( function post_solve (line 101) | def post_solve( FILE: 14_pbf/constraints/density.py function compute_scorr (line 11) | def compute_scorr(pos_ji, h_, poly6_factor_, corr_deltaQ_coeff_, corrK_): function solve_density_constraints (line 18) | def solve_density_constraints( FILE: 14_pbf/constraints/viscosity.py function apply_xsph_viscosity (line 19) | def apply_xsph_viscosity( FILE: 14_pbf/constraints/vorticity.py function calculate_vorticity (line 19) | def calculate_vorticity( function apply_vorticity_confinement (line 45) | def apply_vorticity_confinement( FILE: 14_pbf/main.py function round_up (line 28) | def round_up(f, s): function substep (line 86) | def substep(): function main (line 132) | def main(): FILE: 14_pbf/scene.py function init_particles (line 5) | def init_particles( function move_wall (line 31) | def move_wall( function update_particle_colors (line 67) | def update_particle_colors( function create_box_edges (line 96) | def create_box_edges(wall_states, boundary): function create_original_box_edges (line 120) | def create_original_box_edges(boundary, epsilon): FILE: 14_pbf/sph_base.py function poly6_value (line 13) | def poly6_value(s, h_, poly6_factor_): function spiky_gradient (line 23) | def spiky_gradient(r, h_, spiky_grad_factor_): function get_cell (line 35) | def get_cell(pos, cell_recpr_): function is_in_grid (line 41) | def is_in_grid(c, grid_size_x: int, grid_size_y: int, grid_size_z: int): function confine_position_to_boundary (line 47) | def confine_position_to_boundary(p, wall_states_, boundary_x: float, bou... function pre_solve (line 62) | def pre_solve( function post_solve (line 125) | def post_solve( FILE: 1_mass_spring/InertiaEnergy.py function val (line 3) | def val(x, x_tilde, m): function grad (line 10) | def grad(x, x_tilde, m): function hess (line 16) | def hess(x, x_tilde, m): FILE: 1_mass_spring/MassSpringEnergy.py function val (line 4) | def val(x, e, l2, k): function grad (line 11) | def grad(x, e, l2, k): function hess (line 20) | def hess(x, e, l2, k): FILE: 1_mass_spring/simulator.py function screen_projection (line 36) | def screen_projection(x): FILE: 1_mass_spring/square_mesh.py function generate (line 5) | def generate(side_length, n_seg): function write_to_file (line 33) | def write_to_file(frameNum, x, n_seg): FILE: 1_mass_spring/time_integrator.py function step_forward (line 12) | def step_forward(x, e, v, m, l2, k, h, tol): function IP_val (line 38) | def IP_val(x, e, x_tilde, m, l2, k, h): function IP_grad (line 41) | def IP_grad(x, e, x_tilde, m, l2, k, h): function IP_hess (line 44) | def IP_hess(x, e, x_tilde, m, l2, k, h): function search_dir (line 52) | def search_dir(x, e, x_tilde, m, l2, k, h): FILE: 1_mass_spring/utils.py function make_PSD (line 4) | def make_PSD(hess): FILE: 2_dirichlet/GravityEnergy.py function val (line 5) | def val(x, m): function grad (line 11) | def grad(x, m): FILE: 2_dirichlet/InertiaEnergy.py function val (line 3) | def val(x, x_tilde, m): function grad (line 10) | def grad(x, x_tilde, m): function hess (line 16) | def hess(x, x_tilde, m): FILE: 2_dirichlet/MassSpringEnergy.py function val (line 4) | def val(x, e, l2, k): function grad (line 11) | def grad(x, e, l2, k): function hess (line 20) | def hess(x, e, l2, k): FILE: 2_dirichlet/simulator.py function screen_projection (line 40) | def screen_projection(x): FILE: 2_dirichlet/square_mesh.py function generate (line 4) | def generate(side_length, n_seg): function write_to_file (line 30) | def write_to_file(frameNum, x, n_seg): FILE: 2_dirichlet/time_integrator.py function step_forward (line 13) | def step_forward(x, e, v, m, l2, k, is_DBC, h, tol): function IP_val (line 40) | def IP_val(x, e, x_tilde, m, l2, k, h): function IP_grad (line 43) | def IP_grad(x, e, x_tilde, m, l2, k, h): function IP_hess (line 47) | def IP_hess(x, e, x_tilde, m, l2, k, h): function search_dir (line 56) | def search_dir(x, e, x_tilde, m, l2, k, is_DBC, h): FILE: 2_dirichlet/utils.py function make_PSD (line 4) | def make_PSD(hess): FILE: 3_contact/BarrierEnergy.py function val (line 8) | def val(x, y_ground, contact_area): function grad (line 17) | def grad(x, y_ground, contact_area): function hess (line 26) | def hess(x, y_ground, contact_area): function init_step_size (line 40) | def init_step_size(x, y_ground, p): FILE: 3_contact/GravityEnergy.py function val (line 5) | def val(x, m): function grad (line 11) | def grad(x, m): FILE: 3_contact/InertiaEnergy.py function val (line 3) | def val(x, x_tilde, m): function grad (line 10) | def grad(x, x_tilde, m): function hess (line 16) | def hess(x, x_tilde, m): FILE: 3_contact/MassSpringEnergy.py function val (line 4) | def val(x, e, l2, k): function grad (line 11) | def grad(x, e, l2, k): function hess (line 20) | def hess(x, e, l2, k): FILE: 3_contact/simulator.py function screen_projection (line 41) | def screen_projection(x): FILE: 3_contact/square_mesh.py function generate (line 4) | def generate(side_length, n_seg): function write_to_file (line 30) | def write_to_file(frameNum, x, n_seg): FILE: 3_contact/time_integrator.py function step_forward (line 14) | def step_forward(x, e, v, m, l2, k, y_ground, contact_area, is_DBC, h, t... function IP_val (line 42) | def IP_val(x, e, x_tilde, m, l2, k, y_ground, contact_area, h): function IP_grad (line 45) | def IP_grad(x, e, x_tilde, m, l2, k, y_ground, contact_area, h): function IP_hess (line 48) | def IP_hess(x, e, x_tilde, m, l2, k, y_ground, contact_area, h): function search_dir (line 59) | def search_dir(x, e, x_tilde, m, l2, k, y_ground, contact_area, is_DBC, h): FILE: 3_contact/utils.py function make_PSD (line 4) | def make_PSD(hess): FILE: 4_friction/BarrierEnergy.py function val (line 8) | def val(x, n, o, contact_area): function grad (line 17) | def grad(x, n, o, contact_area): function hess (line 26) | def hess(x, n, o, contact_area): function init_step_size (line 41) | def init_step_size(x, n, o, p): function compute_mu_lambda (line 51) | def compute_mu_lambda(x, n, o, contact_area, mu): FILE: 4_friction/FrictionEnergy.py function f0 (line 7) | def f0(vbarnorm, epsv, hhat): function f1_div_vbarnorm (line 15) | def f1_div_vbarnorm(vbarnorm, epsv): function f_hess_term (line 21) | def f_hess_term(vbarnorm, epsv): function val (line 29) | def val(v, mu_lambda, hhat, n): function grad (line 38) | def grad(v, mu_lambda, hhat, n): function hess (line 47) | def hess(v, mu_lambda, hhat, n): FILE: 4_friction/GravityEnergy.py function val (line 5) | def val(x, m): function grad (line 11) | def grad(x, m): FILE: 4_friction/InertiaEnergy.py function val (line 3) | def val(x, x_tilde, m): function grad (line 10) | def grad(x, x_tilde, m): function hess (line 16) | def hess(x, x_tilde, m): FILE: 4_friction/MassSpringEnergy.py function val (line 4) | def val(x, e, l2, k): function grad (line 11) | def grad(x, e, l2, k): function hess (line 20) | def hess(x, e, l2, k): FILE: 4_friction/simulator.py function screen_projection (line 46) | def screen_projection(x): FILE: 4_friction/square_mesh.py function generate (line 4) | def generate(side_length, n_seg): function write_to_file (line 30) | def write_to_file(frameNum, x, n_seg): FILE: 4_friction/time_integrator.py function step_forward (line 16) | def step_forward(x, e, v, m, l2, k, n, o, contact_area, mu, is_DBC, h, t... function IP_val (line 44) | def IP_val(x, e, x_tilde, m, l2, k, n, o, contact_area, v, mu_lambda, h): function IP_grad (line 47) | def IP_grad(x, e, x_tilde, m, l2, k, n, o, contact_area, v, mu_lambda, h): function IP_hess (line 50) | def IP_hess(x, e, x_tilde, m, l2, k, n, o, contact_area, v, mu_lambda, h): function search_dir (line 64) | def search_dir(x, e, x_tilde, m, l2, k, n, o, contact_area, v, mu_lambda... FILE: 4_friction/utils.py function make_PSD (line 4) | def make_PSD(hess): FILE: 5_mov_dirichlet/BarrierEnergy.py function val (line 7) | def val(x, n, o, contact_area): function grad (line 25) | def grad(x, n, o, contact_area): function hess (line 45) | def hess(x, n, o, contact_area): function init_step_size (line 74) | def init_step_size(x, n, o, p): function compute_mu_lambda (line 90) | def compute_mu_lambda(x, n, o, contact_area, mu): FILE: 5_mov_dirichlet/FrictionEnergy.py function f0 (line 6) | def f0(vbarnorm, epsv, hhat): function f1_div_vbarnorm (line 14) | def f1_div_vbarnorm(vbarnorm, epsv): function f_hess_term (line 20) | def f_hess_term(vbarnorm, epsv): function val (line 26) | def val(v, mu_lambda, hhat, n): function grad (line 35) | def grad(v, mu_lambda, hhat, n): function hess (line 44) | def hess(v, mu_lambda, hhat, n): FILE: 5_mov_dirichlet/GravityEnergy.py function val (line 5) | def val(x, m): function grad (line 11) | def grad(x, m): FILE: 5_mov_dirichlet/InertiaEnergy.py function val (line 3) | def val(x, x_tilde, m): function grad (line 10) | def grad(x, x_tilde, m): function hess (line 16) | def hess(x, x_tilde, m): FILE: 5_mov_dirichlet/MassSpringEnergy.py function val (line 4) | def val(x, e, l2, k): function grad (line 11) | def grad(x, e, l2, k): function hess (line 20) | def hess(x, e, l2, k): FILE: 5_mov_dirichlet/SpringEnergy.py function val (line 3) | def val(x, m, DBC, DBC_target, k): function grad (line 10) | def grad(x, m, DBC, DBC_target, k): function hess (line 16) | def hess(x, m, DBC, DBC_target, k): FILE: 5_mov_dirichlet/simulator.py function screen_projection (line 50) | def screen_projection(x): FILE: 5_mov_dirichlet/square_mesh.py function generate (line 4) | def generate(side_length, n_seg): function write_to_file (line 30) | def write_to_file(frameNum, x, n_seg): FILE: 5_mov_dirichlet/time_integrator.py function step_forward (line 16) | def step_forward(x, e, v, m, l2, k, n, o, contact_area, mu, is_DBC, DBC,... function IP_val (line 58) | def IP_val(x, e, x_tilde, m, l2, k, n, o, contact_area, v, mu_lambda, DB... function IP_grad (line 66) | def IP_grad(x, e, x_tilde, m, l2, k, n, o, contact_area, v, mu_lambda, D... function IP_hess (line 74) | def IP_hess(x, e, x_tilde, m, l2, k, n, o, contact_area, v, mu_lambda, D... function search_dir (line 90) | def search_dir(x, e, x_tilde, m, l2, k, n, o, contact_area, v, mu_lambda... FILE: 5_mov_dirichlet/utils.py function make_PSD (line 4) | def make_PSD(hess): FILE: 6_inv_free/BarrierEnergy.py function val (line 7) | def val(x, n, o, contact_area): function grad (line 24) | def grad(x, n, o, contact_area): function hess (line 43) | def hess(x, n, o, contact_area): function init_step_size (line 71) | def init_step_size(x, n, o, p): function compute_mu_lambda (line 86) | def compute_mu_lambda(x, n, o, contact_area, mu): FILE: 6_inv_free/FrictionEnergy.py function f0 (line 6) | def f0(vbarnorm, epsv, hhat): function f1_div_vbarnorm (line 14) | def f1_div_vbarnorm(vbarnorm, epsv): function f_hess_term (line 20) | def f_hess_term(vbarnorm, epsv): function val (line 26) | def val(v, mu_lambda, hhat, n): function grad (line 35) | def grad(v, mu_lambda, hhat, n): function hess (line 44) | def hess(v, mu_lambda, hhat, n): FILE: 6_inv_free/GravityEnergy.py function val (line 5) | def val(x, m): function grad (line 11) | def grad(x, m): FILE: 6_inv_free/InertiaEnergy.py function val (line 3) | def val(x, x_tilde, m): function grad (line 10) | def grad(x, x_tilde, m): function hess (line 16) | def hess(x, x_tilde, m): FILE: 6_inv_free/NeoHookeanEnergy.py function polar_svd (line 6) | def polar_svd(F): function dPsi_div_dsigma (line 16) | def dPsi_div_dsigma(s, mu, lam): function d2Psi_div_dsigma2 (line 24) | def d2Psi_div_dsigma2(s, mu, lam): function B_left_coef (line 33) | def B_left_coef(s, mu, lam): function Psi (line 37) | def Psi(F, mu, lam): function dPsi_div_dF (line 42) | def dPsi_div_dF(F, mu, lam): function d2Psi_div_dF2 (line 46) | def d2Psi_div_dF2(F, mu, lam): function deformation_grad (line 85) | def deformation_grad(x, elemVInd, IB): function dPsi_div_dx (line 89) | def dPsi_div_dx(P, IB): # applying chain-rule, dPsi_div_dx = dPsi_div_d... function d2Psi_div_dx2 (line 96) | def d2Psi_div_dx2(dP_div_dF, IB): # applying chain-rule, d2Psi_div_dx2 ... function val (line 133) | def val(x, e, vol, IB, mu, lam): function grad (line 140) | def grad(x, e, vol, IB, mu, lam): function hess (line 150) | def hess(x, e, vol, IB, mu, lam): function init_step_size (line 168) | def init_step_size(x, e, p): FILE: 6_inv_free/SpringEnergy.py function val (line 3) | def val(x, m, DBC, DBC_target, k): function grad (line 10) | def grad(x, m, DBC, DBC_target, k): function hess (line 16) | def hess(x, m, DBC, DBC_target, k): FILE: 6_inv_free/simulator.py function screen_projection (line 54) | def screen_projection(x): FILE: 6_inv_free/square_mesh.py function generate (line 4) | def generate(side_length, n_seg): function write_to_file (line 28) | def write_to_file(frameNum, x, e): FILE: 6_inv_free/time_integrator.py function step_forward (line 19) | def step_forward(x, e, v, m, vol, IB, mu_lame, lam, n, o, contact_area, ... function IP_val (line 59) | def IP_val(x, e, x_tilde, m, vol, IB, mu_lame, lam, n, o, contact_area, ... function IP_grad (line 67) | def IP_grad(x, e, x_tilde, m, vol, IB, mu_lame, lam, n, o, contact_area,... function IP_hess (line 75) | def IP_hess(x, e, x_tilde, m, vol, IB, mu_lame, lam, n, o, contact_area,... function search_dir (line 91) | def search_dir(x, e, x_tilde, m, vol, IB, mu_lame, lam, n, o, contact_ar... FILE: 6_inv_free/utils.py function make_PSD (line 5) | def make_PSD(hess): function smallest_positive_real_root_quad (line 13) | def smallest_positive_real_root_quad(a, b, c, tol = 1e-6): FILE: 7_self_contact/BarrierEnergy.py function val (line 12) | def val(x, n, o, bp, be, contact_area): function grad (line 41) | def grad(x, n, o, bp, be, contact_area): function hess (line 75) | def hess(x, n, o, bp, be, contact_area): function init_step_size (line 125) | def init_step_size(x, n, o, bp, be, p): function compute_mu_lambda (line 150) | def compute_mu_lambda(x, n, o, bp, be, contact_area, mu): FILE: 7_self_contact/FrictionEnergy.py function f0 (line 6) | def f0(vbarnorm, epsv, hhat): function f1_div_vbarnorm (line 14) | def f1_div_vbarnorm(vbarnorm, epsv): function f_hess_term (line 20) | def f_hess_term(vbarnorm, epsv): function val (line 26) | def val(v, mu_lambda, hhat, n): function grad (line 36) | def grad(v, mu_lambda, hhat, n): function hess (line 46) | def hess(v, mu_lambda, hhat, n): FILE: 7_self_contact/GravityEnergy.py function val (line 5) | def val(x, m): function grad (line 11) | def grad(x, m): FILE: 7_self_contact/InertiaEnergy.py function val (line 3) | def val(x, x_tilde, m): function grad (line 10) | def grad(x, x_tilde, m): function hess (line 16) | def hess(x, x_tilde, m): FILE: 7_self_contact/NeoHookeanEnergy.py function polar_svd (line 5) | def polar_svd(F): function dPsi_div_dsigma (line 15) | def dPsi_div_dsigma(s, mu, lam): function d2Psi_div_dsigma2 (line 23) | def d2Psi_div_dsigma2(s, mu, lam): function B_left_coef (line 32) | def B_left_coef(s, mu, lam): function Psi (line 36) | def Psi(F, mu, lam): function dPsi_div_dF (line 41) | def dPsi_div_dF(F, mu, lam): function d2Psi_div_dF2 (line 45) | def d2Psi_div_dF2(F, mu, lam): function deformation_grad (line 82) | def deformation_grad(x, elemVInd, IB): function dPsi_div_dx (line 86) | def dPsi_div_dx(P, IB): # applying chain-rule, dPsi_div_dx = dPsi_div_d... function d2Psi_div_dx2 (line 93) | def d2Psi_div_dx2(dP_div_dF, IB): # applying chain-rule, d2Psi_div_dx2 ... function val (line 128) | def val(x, e, vol, IB, mu, lam): function grad (line 135) | def grad(x, e, vol, IB, mu, lam): function hess (line 145) | def hess(x, e, vol, IB, mu, lam): function init_step_size (line 161) | def init_step_size(x, e, p): FILE: 7_self_contact/SpringEnergy.py function val (line 3) | def val(x, m, DBC, DBC_target, k): function grad (line 10) | def grad(x, m, DBC, DBC_target, k): function hess (line 16) | def hess(x, m, DBC, DBC_target, k): FILE: 7_self_contact/distance/CCD.py function bbox_overlap (line 9) | def bbox_overlap(p, e0, e1, dp, de0, de1, toc_upperbound): function narrow_phase_CCD (line 23) | def narrow_phase_CCD(_p, _e0, _e1, _dp, _de0, _de1, toc_upperbound): FILE: 7_self_contact/distance/PointEdgeDistance.py function val (line 7) | def val(p, e0, e1): function grad (line 17) | def grad(p, e0, e1): function hess (line 30) | def hess(p, e0, e1): FILE: 7_self_contact/distance/PointLineDistance.py function val (line 4) | def val(p, e0, e1): function grad (line 9) | def grad(p, e0, e1): function hess (line 29) | def hess(p, e0, e1): FILE: 7_self_contact/distance/PointPointDistance.py function val (line 3) | def val(p0, p1): function grad (line 7) | def grad(p0, p1): function hess (line 11) | def hess(p0, p1): FILE: 7_self_contact/simulator.py function screen_projection (line 55) | def screen_projection(x): FILE: 7_self_contact/square_mesh.py function generate (line 4) | def generate(side_length, n_seg): function find_boundary (line 27) | def find_boundary(e): function write_to_file (line 47) | def write_to_file(frameNum, x, e): FILE: 7_self_contact/time_integrator.py function step_forward (line 16) | def step_forward(x, e, v, m, vol, IB, mu_lame, lam, n, o, bp, be, contac... function IP_val (line 54) | def IP_val(x, e, x_tilde, m, vol, IB, mu_lame, lam, n, o, bp, be, contac... function IP_grad (line 62) | def IP_grad(x, e, x_tilde, m, vol, IB, mu_lame, lam, n, o, bp, be, conta... function IP_hess (line 70) | def IP_hess(x, e, x_tilde, m, vol, IB, mu_lame, lam, n, o, bp, be, conta... function search_dir (line 86) | def search_dir(x, e, x_tilde, m, vol, IB, mu_lame, lam, n, o, bp, be, co... FILE: 7_self_contact/utils.py function make_PSD (line 5) | def make_PSD(hess): function smallest_positive_real_root_quad (line 12) | def smallest_positive_real_root_quad(a, b, c, tol = 1e-6): FILE: 8_self_friction/BarrierEnergy.py function val (line 12) | def val(x, n, o, bp, be, contact_area): function grad (line 39) | def grad(x, n, o, bp, be, contact_area): function hess (line 71) | def hess(x, n, o, bp, be, contact_area): function init_step_size (line 119) | def init_step_size(x, n, o, bp, be, p): function compute_mu_lambda (line 142) | def compute_mu_lambda(x, n, o, bp, be, contact_area, mu): FILE: 8_self_friction/FrictionEnergy.py function f0 (line 6) | def f0(vbarnorm, epsv, hhat): function f1_div_vbarnorm (line 14) | def f1_div_vbarnorm(vbarnorm, epsv): function f_hess_term (line 20) | def f_hess_term(vbarnorm, epsv): function val (line 26) | def val(v, mu_lambda, mu_lambda_self, hhat, n): function grad (line 45) | def grad(v, mu_lambda, mu_lambda_self, hhat, n): function hess (line 67) | def hess(v, mu_lambda, mu_lambda_self, hhat, n): FILE: 8_self_friction/GravityEnergy.py function val (line 5) | def val(x, m): function grad (line 11) | def grad(x, m): FILE: 8_self_friction/InertiaEnergy.py function val (line 3) | def val(x, x_tilde, m): function grad (line 10) | def grad(x, x_tilde, m): function hess (line 16) | def hess(x, x_tilde, m): FILE: 8_self_friction/NeoHookeanEnergy.py function polar_svd (line 5) | def polar_svd(F): function dPsi_div_dsigma (line 15) | def dPsi_div_dsigma(s, mu, lam): function d2Psi_div_dsigma2 (line 23) | def d2Psi_div_dsigma2(s, mu, lam): function B_left_coef (line 32) | def B_left_coef(s, mu, lam): function Psi (line 36) | def Psi(F, mu, lam): function dPsi_div_dF (line 41) | def dPsi_div_dF(F, mu, lam): function d2Psi_div_dF2 (line 45) | def d2Psi_div_dF2(F, mu, lam): function deformation_grad (line 82) | def deformation_grad(x, elemVInd, IB): function dPsi_div_dx (line 86) | def dPsi_div_dx(P, IB): # applying chain-rule, dPsi_div_dx = dPsi_div_d... function d2Psi_div_dx2 (line 93) | def d2Psi_div_dx2(dP_div_dF, IB): # applying chain-rule, d2Psi_div_dx2 ... function val (line 128) | def val(x, e, vol, IB, mu, lam): function grad (line 135) | def grad(x, e, vol, IB, mu, lam): function hess (line 145) | def hess(x, e, vol, IB, mu, lam): function init_step_size (line 161) | def init_step_size(x, e, p): FILE: 8_self_friction/SpringEnergy.py function val (line 3) | def val(x, m, DBC, DBC_target, k): function grad (line 10) | def grad(x, m, DBC, DBC_target, k): function hess (line 16) | def hess(x, m, DBC, DBC_target, k): FILE: 8_self_friction/distance/CCD.py function bbox_overlap (line 8) | def bbox_overlap(p, e0, e1, dp, de0, de1, toc_upperbound): function narrow_phase_CCD (line 20) | def narrow_phase_CCD(_p, _e0, _e1, _dp, _de0, _de1, toc_upperbound): FILE: 8_self_friction/distance/PointEdgeDistance.py function val (line 6) | def val(p, e0, e1): function grad (line 16) | def grad(p, e0, e1): function hess (line 28) | def hess(p, e0, e1): function tangent (line 52) | def tangent(p, e0, e1): FILE: 8_self_friction/distance/PointLineDistance.py function val (line 3) | def val(p, e0, e1): function grad (line 8) | def grad(p, e0, e1): function hess (line 27) | def hess(p, e0, e1): FILE: 8_self_friction/distance/PointPointDistance.py function val (line 3) | def val(p0, p1): function grad (line 7) | def grad(p0, p1): function hess (line 11) | def hess(p0, p1): FILE: 8_self_friction/simulator.py function screen_projection (line 53) | def screen_projection(x): FILE: 8_self_friction/square_mesh.py function generate (line 4) | def generate(side_length, n_seg): function find_boundary (line 26) | def find_boundary(e): function write_to_file (line 45) | def write_to_file(frameNum, x, e): FILE: 8_self_friction/time_integrator.py function step_forward (line 16) | def step_forward(x, e, v, m, vol, IB, mu_lame, lam, n, o, bp, be, contac... function IP_val (line 54) | def IP_val(x, e, x_tilde, m, vol, IB, mu_lame, lam, n, o, bp, be, contac... function IP_grad (line 62) | def IP_grad(x, e, x_tilde, m, vol, IB, mu_lame, lam, n, o, bp, be, conta... function IP_hess (line 70) | def IP_hess(x, e, x_tilde, m, vol, IB, mu_lame, lam, n, o, bp, be, conta... function search_dir (line 86) | def search_dir(x, e, x_tilde, m, vol, IB, mu_lame, lam, n, o, bp, be, co... FILE: 8_self_friction/utils.py function make_PSD (line 5) | def make_PSD(hess): function smallest_positive_real_root_quad (line 12) | def smallest_positive_real_root_quad(a, b, c, tol = 1e-6): FILE: 9_reduced_DOF/BarrierEnergy.py function val (line 8) | def val(x, y_ground, contact_area): function grad (line 17) | def grad(x, y_ground, contact_area): function hess (line 26) | def hess(x, y_ground, contact_area): function init_step_size (line 40) | def init_step_size(x, y_ground, p): FILE: 9_reduced_DOF/GravityEnergy.py function val (line 5) | def val(x, m): function grad (line 11) | def grad(x, m): FILE: 9_reduced_DOF/InertiaEnergy.py function val (line 3) | def val(x, x_tilde, m): function grad (line 10) | def grad(x, x_tilde, m): function hess (line 16) | def hess(x, x_tilde, m): FILE: 9_reduced_DOF/NeoHookeanEnergy.py function polar_svd (line 6) | def polar_svd(F): function dPsi_div_dsigma (line 16) | def dPsi_div_dsigma(s, mu, lam): function d2Psi_div_dsigma2 (line 24) | def d2Psi_div_dsigma2(s, mu, lam): function B_left_coef (line 33) | def B_left_coef(s, mu, lam): function Psi (line 37) | def Psi(F, mu, lam): function dPsi_div_dF (line 42) | def dPsi_div_dF(F, mu, lam): function d2Psi_div_dF2 (line 46) | def d2Psi_div_dF2(F, mu, lam, project_PSD = True): function deformation_grad (line 89) | def deformation_grad(x, elemVInd, IB): function dPsi_div_dx (line 93) | def dPsi_div_dx(P, IB): # applying chain-rule, dPsi_div_dx = dPsi_div_d... function d2Psi_div_dx2 (line 100) | def d2Psi_div_dx2(dP_div_dF, IB): # applying chain-rule, d2Psi_div_dx2 ... function val (line 137) | def val(x, e, vol, IB, mu, lam): function grad (line 144) | def grad(x, e, vol, IB, mu, lam): function hess (line 154) | def hess(x, e, vol, IB, mu, lam, project_PSD = True): function init_step_size (line 172) | def init_step_size(x, e, p): FILE: 9_reduced_DOF/linear.py function generate_2d_mesh (line 38) | def generate_2d_mesh(L_mesh, H_mesh, Nx_mesh, Ny_mesh): function get_element_matrices (line 53) | def get_element_matrices(element_nodes, D, rho, t): function animate (line 206) | def animate(frame): FILE: 9_reduced_DOF/simulator.py function screen_projection (line 55) | def screen_projection(x): FILE: 9_reduced_DOF/square_mesh.py function generate (line 4) | def generate(side_length, n_seg): function write_to_file (line 28) | def write_to_file(frameNum, x, e): FILE: 9_reduced_DOF/time_integrator.py function step_forward (line 14) | def step_forward(x, e, v, m, vol, IB, mu_lame, lam, y_ground, contact_ar... function IP_val (line 42) | def IP_val(x, e, x_tilde, m, vol, IB, mu_lame, lam, y_ground, contact_ar... function IP_grad (line 45) | def IP_grad(x, e, x_tilde, m, vol, IB, mu_lame, lam, y_ground, contact_a... function IP_hess (line 48) | def IP_hess(x, e, x_tilde, m, vol, IB, mu_lame, lam, y_ground, contact_a... function search_dir (line 60) | def search_dir(x, e, x_tilde, m, vol, IB, mu_lame, lam, y_ground, contac... FILE: 9_reduced_DOF/utils.py function make_PSD (line 10) | def make_PSD(hess): function smallest_positive_real_root_quad (line 18) | def smallest_positive_real_root_quad(a, b, c, tol = 1e-6): function compute_abd_anchor_basis (line 38) | def compute_abd_anchor_basis(x): function compute_reduced_basis (line 54) | def compute_reduced_basis(x, e, vol, IB, mu_lame, lam, method, order):