MCPcopy Create free account

hub / github.com/chunleili/mgpbd / functions

Functions1,374 in github.com/chunleili/mgpbd

↓ 2 callersFunctionskip_whitespace
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:8576
↓ 2 callersFunctionsolve_distance_constraints_xpbd
( dual_residual: ti.template(), inv_mass:ti.template(), edge:ti.template(), rest_len:ti.templa
engine/cloth/cloth3d.py:719
↓ 2 callersFunctionsolvez
(r)
engine/linearSystem/conjugate_gradient.py:95
↓ 2 callersFunctionsparse_gauss_seidel_kernel
( Ap: ti.types.ndarray(), Aj: ti.types.ndarray(),
engine/linearSystem/sparse_gauss_seidel.py:37
↓ 2 callersFunctionspmv_ti
(dat, ind, ptr, v)
engine/linearSystem/spmv.py:61
↓ 2 callersMethodstep_one_iter_newton
(self, x)
engine/cloth/newton_method.py:224
↓ 2 callersMethodsubstep
cpp/mgcg_cuda/standalone_solver/main_softbody.cpp:253
↓ 2 callersMethodswap
cpp/mgcg_cuda/Vec.h:39
↓ 2 callersMethodtest_calc_gradient_imply_constraint
(self)
engine/cloth/newton_method.py:1026
↓ 2 callersMethodupdate
(self, pos_show, indices_show=None)
engine/visualize.py:46
↓ 2 callersMethodupdate_constraints
(self, pos)
engine/cloth/newton_method.py:859
↓ 2 callersFunctionupdate_constraints_kernel
( pos: ti.template(), #pos not pos_mid tet_indices: ti.template(), B: ti.template(), constrain
engine/soft/soft3d.py:1476
↓ 2 callersFunctionupdate_constraints_kernel
( pos:ti.template(), edge:ti.template(), rest_len:ti.template(), constraints:ti.template(), )
engine/cloth/cloth3d_lumped.py:539
↓ 2 callersFunctionupdate_constraints_kernel
( pos:ti.template(), vert:ti.template(), rest_len:ti.template(), constraints:ti.template(), )
engine/cloth/cloth3d.py:920
↓ 2 callersFunctionupdate_pos
( inv_mass:ti.template(), dpos:ti.template(), pos:ti.template(), omega:ti.f32, )
engine/cloth/cloth3d.py:708
↓ 2 callersMethodupdate_pos
cpp/mgcg_cuda/standalone_solver/main_softbody.cpp:238
↓ 2 callersMethodupdate_pos
(self, dpos, pos)
engine/cloth/newton_method.py:806
↓ 2 callersFunctionupdate_vel
(delta_t: ti.f32, pos: ti.template(), old_pos: ti.template(), vel: ti.template())
engine/soft/soft3d.py:947
↓ 2 callersMethodupdate_vel
(self)
engine/soft/soft3d.py:804
↓ 2 callersMethodwrite_bson
! @param[in] j JSON value to serialize @pre j.type() == value_t::object */
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:15882
↓ 2 callersMethodwrite_cbor
! @param[in] j JSON value to serialize */
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:15911
↓ 2 callersMethodwrite_msgpack
! @param[in] j JSON value to serialize */
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:16235
↓ 2 callersFunctionxpbd_calcr
(tic_iter, dual0, r)
engine/cloth/cloth3d_lumped.py:308
↓ 1 callersFunctionAMG_PXPBD_v1_b
(G)
engine/cloth/cloth3d_lumped.py:851
↓ 1 callersFunctionAMG_PXPBD_v1_dlam2dpos
(x,G, Minv_gg)
engine/cloth/cloth3d_lumped.py:818
↓ 1 callersFunctionAMG_PXPBD_v2_dlam2dpos
(x)
engine/cloth/cloth3d_lumped.py:828
↓ 1 callersMethodAMG_RAP
(self)
engine/solver/amg_cuda.py:118
↓ 1 callersFunctionAMG_b
()
engine/cloth/cloth3d_lumped.py:845
↓ 1 callersFunctionAMG_calc_r
(ist,r_Axb)
engine/cloth/cloth3d_lumped.py:698
↓ 1 callersMethodAMG_calc_r
(self, r,dual0, tic_iter, r_Axb)
engine/cloth/cloth3d.py:337
↓ 1 callersFunctionAMG_calc_r0
(ist)
engine/cloth/cloth3d_lumped.py:736
↓ 1 callersFunctionAMG_dlam2dpos
(x)
engine/cloth/cloth3d_lumped.py:811
↓ 1 callersMethodAMG_setup_phase
(self, A=None)
engine/solver/amg_cuda.py:132
↓ 1 callersMethodAMG_solve
(self, b, x0=None, tol=1e-5, maxiter=100)
engine/solver/amg_cuda.py:84
↓ 1 callersFunctionGraphCluster
cpp/mgcg_cuda/misc/graph_coloring.cpp:174
↓ 1 callersFunctionPXPBD_v1_mfree_transfer_back_to_pos_kernel
(Minv_gg:ti.template())
engine/cloth/cloth3d_lumped.py:793
↓ 1 callersMethodPXPBD_v1_mfree_transfer_back_to_pos_kernel
( edge:ti.template(), inv_mass:ti.template(), gradC:ti.template(), lagrangian:
engine/cloth/primal_xpbd.py:65
↓ 1 callersMethodV_cycle_v2
(self, levels, x0, b)
engine/solver/amg_python.py:162
↓ 1 callersFunction_init_restlen2_kernel
( p1:ti.template(), p2:ti.template(), pos:ti.template(), rest_len:ti.template(), )
engine/constraints/distance_constraints.py:202
↓ 1 callersFunction_init_restlen_kernel
( rest_len:ti.template(), p2:ti.template(), pos:ti.template(), target_pos:ti.template() )
engine/constraints/distance_constraints.py:59
↓ 1 callersFunction_solve_distance_attach_kernel
( inv_mass2:ti.template(), p2:ti.template(), rest_len:ti.template(), lagrangian:ti.template(),
engine/constraints/distance_constraints.py:18
↓ 1 callersFunctionadd_colliders
Add colliders from json configs json_path: path to json file return: list of colliders
engine/collision.py:11
↓ 1 callersFunctionadd_distance_constraints_from_tri_pairs
(old_vert, tri_pairs)
engine/cloth/bending.py:163
↓ 1 callersFunctionappend_exponent
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:18636
↓ 1 callersMethodassemble_A
(self, gradC)
engine/cloth/newton_method.py:745
↓ 1 callersMethodassemble_A
(self)
engine/cloth/cloth3d.py:449
↓ 1 callersMethodassign_v2
cpp/mgcg_cuda/CSR.h:35
↓ 1 callersFunctionbfs
cpp/mgcg_cuda/misc/graph_coloring.cpp:149
↓ 1 callersFunctionbuild
()
replicate.py:47
↓ 1 callersMethodbuild
(self)
engine/cloth/build_cloth_mesh.py:236
↓ 1 callersFunctionbuild_edge2tri
Args: edge: shape=(NE, 2) v2t: vertex to triangle mapping (dict of list) Returns: e2t: edge to tr
engine/mesh_io.py:593
↓ 1 callersMethodbuild_levels
(self, A, Ps=[])
engine/solver/amg_python.py:96
↓ 1 callersMethodbuild_mesh
(self,mesh_file)
engine/soft/soft3d.py:356
↓ 1 callersMethodbuild_mesh
(self,mesh_file)
engine/soft/soft3d_twist.py:353
↓ 1 callersMethodbuild_mesh
(self,)
engine/cloth/cloth3d.py:209
↓ 1 callersFunctionbuild_tri_pairs
(tri, tri_neighbor)
engine/cloth/bending.py:62
↓ 1 callersFunctionbuild_vertex2edge
(edges: np.ndarray)
engine/mesh_io.py:559
↓ 1 callersFunctionbuild_vertex2tri
(tri: np.ndarray)
engine/mesh_io.py:574
↓ 1 callersFunctioncalc_RAP_scale
(P)
engine/solver/build_Ps.py:203
↓ 1 callersFunctioncalc_conv
(r)
engine/util.py:181
↓ 1 callersFunctioncalc_conv
(r)
engine/cloth/cloth3d_lumped.py:671
↓ 1 callersFunctioncalc_dual_residual
(alpha_tilde:ti.template(), lagrangian:ti.template(), constraint
engine/soft/soft3d.py:953
↓ 1 callersFunctioncalc_dualnorm_kernel
( pos_temp: ti.types.ndarray(dtype=ti.math.vec3), tet_indices: ti.template(), lagrangian: ti.templ
engine/soft/soft3d.py:1495
↓ 1 callersFunctioncalc_dualnorm_kernel
( pos_temp: ti.types.ndarray(dtype=ti.math.vec3), tet_indices: ti.template(), lagrangian: ti.templ
engine/soft/soft3d_twist.py:1355
↓ 1 callersMethodcalc_force
(self)
engine/cloth/newton_method_legacy.py:134
↓ 1 callersMethodcalc_gradient_imply_constraint
Calculate the energy gradient by assembling the constraints # gradE = 1/(dt^2) M (x-x_tilde) + nabla C^T K C gradE =
engine/cloth/newton_method.py:386
↓ 1 callersFunctioncalc_near_nullspace_GS
(A)
engine/solver/build_Ps.py:113
↓ 1 callersFunctioncalc_near_nullspace_amg
(A)
engine/solver/build_Ps.py:138
↓ 1 callersFunctioncalc_norm
(a:ti.template())
engine/cloth/cloth3d_lumped.py:325
↓ 1 callersMethodcalc_num_nonz
(num_adjacent_edge)
engine/cloth/cloth3d_lumped.py:998
↓ 1 callersMethodcalc_predict_pos
(self)
engine/cloth/newton_method_legacy.py:131
↓ 1 callersFunctioncalc_primary_residual
(G,M_inv)
engine/cloth/cloth3d.py:796
↓ 1 callersMethodcalc_rest_len
(self,pos:ti.template())
engine/cloth/constraints.py:235
↓ 1 callersMethodcalc_spectral_radius
(self, A)
engine/solver/amg_python.py:62
↓ 1 callersMethodcalc_strain
(self)
engine/cloth/cloth3d.py:304
↓ 1 callersFunctioncalc_vertex_to_eles_kernel
(eles: ti.template(), v2e: ti.template(), nv2e: ti.template())
engine/soft/fill_A.py:47
↓ 1 callersMethodcalc_x_plus_tdx
(x_plus_tdx, x, t, descent_dir)
engine/cloth/newton_method_legacy.py:468
↓ 1 callersMethodcalc_x_plus_tdx
(x_plus_tdx, x, t, descent_dir)
engine/cloth/newton_method.py:548
↓ 1 callersMethodchebyshev
(self, A, x, b, iterations=1)
engine/solver/amg_python.py:51
↓ 1 callersMethodcheck
Check Convergence
engine/util.py:73
↓ 1 callersMethodchoose_mode
(self, converge_condition)
engine/util.py:151
↓ 1 callersFunctioncompute_ARAP_potential_energy_kernel
( pos: ti.template(), tet_indices: ti.template(), B: ti.template(), alpha: ti.template(), )
engine/energy.py:34
↓ 1 callersMethodcompute_C_and_gradC
(self)
engine/soft/soft3d.py:579
↓ 1 callersMethodcompute_C_and_gradC
(self)
engine/soft/soft3d_twist.py:527
↓ 1 callersMethodcompute_C_and_gradC
(self, pos)
engine/cloth/newton_method.py:758
↓ 1 callersFunctioncompute_C_and_gradC_distance
Compute C and gradC for distance constraint Parameters ---------- pos: taichi vector field, shape = NV, n=3. position
engine/cloth/C_and_gradC_distance.py:5
↓ 1 callersFunctioncompute_C_and_gradC_imply
TODO: Implement in cuda kernel
cpp/mgcg_cuda/standalone_solver/main_softbody.cpp:68
↓ 1 callersFunctioncompute_C_and_gradC_imply
TODO: Implement in cuda kernel
cpp/mgcg_cuda/misc/solve_soft.cpp:68
↓ 1 callersFunctioncompute_C_and_gradC_kernel
( pos: ti.template(), tet_indices: ti.template(), B: ti.template(), constraints: ti.template()
engine/soft/soft3d.py:1451
↓ 1 callersFunctioncompute_C_and_gradC_kernel
( pos: ti.template(), tet_indices: ti.template(), B: ti.template(), constraints: ti.template()
engine/soft/soft3d_twist.py:1311
↓ 1 callersFunctioncompute_C_and_gradC_kernel
( pos:ti.template(), gradC: ti.template(), vert:ti.template(), constraints:ti.
engine/cloth/C_and_gradC_distance.py:49
↓ 1 callersMethodcompute_C_and_gradC_kernel
(self, pos:ti.template(), gradC: ti.template(), vert:ti.template(), constraint
engine/cloth/newton_method.py:644
↓ 1 callersFunctioncompute_K_kernel
(K_diag:ti.types.ndarray(),)
engine/cloth/cloth3d_lumped.py:509
↓ 1 callersFunctioncompute_K_kernel
(K_diag:ti.types.ndarray(),)
engine/cloth/cloth3d.py:890
↓ 1 callersMethodcompute_b
(self)
engine/soft/soft3d.py:616
↓ 1 callersMethodcompute_b
(self)
engine/soft/soft3d_twist.py:539
↓ 1 callersMethodcompute_b
(self, constraints)
engine/cloth/newton_method.py:751
↓ 1 callersFunctioncompute_fixed_energy_kernel
(is_fixed: ti.template(), fixed_pos: ti.template(),
engine/energy.py:22
↓ 1 callersFunctioncompute_gradient
cpp/mgcg_cuda/standalone_solver/main_softbody.cpp:24
↓ 1 callersFunctioncompute_gradient
cpp/mgcg_cuda/misc/solve_soft.cpp:23
← previousnext →301–400 of 1,374, ranked by callers