MCPcopy Create free account

hub / github.com/chunleili/mgpbd / functions

Functions1,374 in github.com/chunleili/mgpbd

↓ 1 callersMethodcompute_inertial_energy
(self)
engine/physical_base.py:84
↓ 1 callersFunctioncompute_inertial_kernel
( inv_mass: ti.template(), pos: ti.template(), predict_pos: ti.template(), dt: ti.f32, )
engine/energy.py:60
↓ 1 callersMethodcompute_potential_energy
(self)
engine/physical_base.py:80
↓ 1 callersFunctionconcat_into
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:4421
↓ 1 callersFunctionconcat_length
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:4390
↓ 1 callersFunctioncopy_field
(dst: ti.template(), src: ti.template())
engine/cloth/cloth3d_lumped.py:910
↓ 1 callersFunctioncopy_field
(dst: ti.template(), src: ti.template())
engine/cloth/primal_xpbd.py:118
↓ 1 callersMethodcopy_field
(f1)
engine/cloth/newton_method_legacy.py:481
↓ 1 callersMethodcopy_field
(f1)
engine/cloth/newton_method.py:561
↓ 1 callersFunctioncrbegin
@brief returns a const reverse iterator to the last element @sa https://json.nlohmann.me/api/basic_json/crbegin/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:22978
↓ 1 callersFunctioncreate_cylinder_mesh
生成圆柱体网格,轴向为z轴 Args: center: 圆柱体中心坐标 [x,y,z] radius: 圆柱体半径 height: 圆柱体高度 segments: 圆周细分段数 Returns: vert
engine/mesh_io.py:674
↓ 1 callersFunctioncreate_sphere_mesh
生成球体网格 Args: center: 球心坐标 [x,y,z] radius: 球体半径 segments: 细分段数 Returns: vertices: 顶点坐标数组 triangles: 三角形
engine/mesh_io.py:634
↓ 1 callersFunctioncrend
@brief returns a const reverse iterator to one before the first @sa https://json.nlohmann.me/api/basic_json/crend/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:22985
↓ 1 callersMethodcsr_index_to_coo_index
(indptr, indices)
engine/cloth/fill_A.py:205
↓ 1 callersMethodcsr_index_to_coo_index
(indptr, indices)
engine/cloth/cloth3d_lumped.py:1026
↓ 1 callersFunctioncylinder_collision_kernel
(pos: ti.template(), old_pos:ti.template(), cylinder_pos: ti.template(), cylinder_radius: ti.f32, inv_mass: ti
engine/collision.py:116
↓ 1 callersFunctiondelete_from_csr
(mat, row_indices=[], col_indices=[])
engine/util.py:552
↓ 1 callersMethoddiag_sweep
(self, A,x,b,iterations=1)
engine/solver/amg_python.py:117
↓ 1 callersFunctiondict_to_ndarr
(d:dict)
engine/soft/fill_A.py:62
↓ 1 callersMethoddlam2dpos
(self, dlam, gradC)
engine/cloth/newton_method.py:773
↓ 1 callersFunctiondlam2dpos_kernel
(gradC:ti.template(), tet_indices:ti.template(), inv_mass:ti.templat
engine/soft/soft3d.py:1589
↓ 1 callersFunctiondlam2dpos_kernel
(gradC:ti.template(), tet_indices:ti.template(), inv_mass:ti.templat
engine/soft/soft3d_twist.py:1449
↓ 1 callersFunctiondo_filter_P
(P, theta=0.25)
engine/solver/build_Ps.py:157
↓ 1 callersFunctiondo_post_iter
(ist, get_A0_cuda=None)
engine/util.py:361
↓ 1 callersFunctiondo_set_01_P
(P)
engine/solver/build_Ps.py:176
↓ 1 callersFunctiondo_set_avg_P
(P)
engine/solver/build_Ps.py:185
↓ 1 callersFunctiondraw_bounds
(x_min=0, y_min=0, z_min=0, x_max=1, y_max=1, z_max=1)
engine/visualize.py:323
↓ 1 callersFunctiondump_float
! @brief dump a floating-point number Dump a given floating-point number to output stream @a o. Works internally with @a number_buffer.
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:19608
↓ 1 callersFunctionedge_data_to_tri_data
(e2t, edge_data, tri)
engine/mesh_io.py:623
↓ 1 callersFunctioneleToDualGraph
cpp/mgcg_cuda/misc/graph_coloring.cpp:106
↓ 1 callersFunctionerase
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:19967
↓ 1 callersMethodevaluateGradient
(self, x)
engine/cloth/newton_method_legacy.py:91
↓ 1 callersMethodevaluateGradient
(self, x)
engine/cloth/newton_method.py:123
↓ 1 callersMethodevaluateHessian
(self, x)
engine/cloth/newton_method_legacy.py:96
↓ 1 callersMethodevaluateHessian
(self, x)
engine/cloth/newton_method.py:128
↓ 1 callersFunctionexport_after_substep
(ist, args, **kwargs)
engine/util.py:264
↓ 1 callersFunctionexport_after_substep
()
engine/cloth/cloth3d_lumped.py:1360
↓ 1 callersFunctionexport_all_levels_A
(ist)
engine/soft/soft3d.py:1764
↓ 1 callersFunctionexport_all_levels_A
(ist)
engine/soft/soft3d_twist.py:1624
↓ 1 callersFunctionfetch_A_from_cuda
(lv=0)
engine/cloth/cloth3d_lumped.py:1236
↓ 1 callersMethodfetch_A_from_cuda
(self,lv=0)
engine/cloth/cloth3d.py:465
↓ 1 callersFunctionfill_A_CSR_kernel
(data:ti.types.ndarray(dtype=ti.f32), indptr:ti.types.ndarray(dtype=ti.i32),
engine/cloth/cloth3d_lumped.py:1121
↓ 1 callersMethodfill_A_CSR_kernel
(self, data:ti.types.ndarray(dtype=ti.f32), indptr:ti.types.n
engine/cloth/cloth3d.py:565
↓ 1 callersMethodfill_A_by_spmm
(self, M_inv, ALPHA_TILDE, gradC)
engine/cloth/newton_method.py:701
↓ 1 callersFunctionfill_A_csr_lessmem_kernel
(data:ti.types.ndarray(dtype=ti.f32), indptr:ti.types.ndarray(dtype=ti.i32),
engine/soft/soft3d.py:1655
↓ 1 callersFunctionfill_A_csr_lessmem_kernel
(data:ti.types.ndarray(dtype=ti.f32), indptr:ti.types.ndarray(dtype=ti.i32),
engine/soft/soft3d_twist.py:1515
↓ 1 callersFunctionfill_A_csr_ti
(ist)
engine/soft/soft3d.py:1630
↓ 1 callersFunctionfill_A_csr_ti
(ist)
engine/soft/soft3d_twist.py:1490
↓ 1 callersFunctionfill_A_in_cuda
Assemble A in cuda end
engine/cloth/cloth3d_lumped.py:1249
↓ 1 callersFunctionfill_G
(ist)
engine/soft/soft3d.py:1609
↓ 1 callersFunctionfill_G
(ist)
engine/soft/soft3d_twist.py:1469
↓ 1 callersMethodfill_G
(self, gradC)
engine/cloth/newton_method.py:667
↓ 1 callersFunctionfill_G_distance
Fill dense array form gradC into a sparse matrix G. Parameters ---------- gradC: taichi vector field, shape=(NCONS,2), n=3
engine/cloth/C_and_gradC_distance.py:80
↓ 1 callersFunctionfill_gradC_triplets_kernel
( ii:ti.types.ndarray(dtype=ti.i32), jj:ti.types.ndarray(dtype=ti.i32), vv:ti.types.nd
engine/cloth/C_and_gradC_distance.py:118
↓ 1 callersFunctionfind_largest_pow10
! For n != 0, returns k, such that pow10 := 10^(k-1) <= n < 10^k. For n == 0, returns 1 and sets pow10 := 1. */
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:18200
↓ 1 callersFunctionfind_tri_neighbors
(tri)
engine/cloth/bending.py:19
↓ 1 callersFunctionformat_buffer
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:18688
↓ 1 callersMethodget
cpp/mgcg_cuda/misc/initFillCloth.cpp:72
↓ 1 callersFunctionget_A0
()
engine/solver/amg_cuda_easy.py:26
↓ 1 callersFunctionget_A0_cuda
(ist)
engine/soft/soft3d.py:1758
↓ 1 callersFunctionget_A0_python
(ist)
engine/soft/soft3d.py:1754
↓ 1 callersFunctionget_cached_power_for_binary_exponent
! For a normalized diyfp w = f * 2^e, this function returns a (normalized) cached power-of-ten c = f_c * 2^e_c, such that the exponent of the product
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:18036
↓ 1 callersMethodget_elements
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:6631
↓ 1 callersFunctionget_impl_ptr
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:21546
↓ 1 callersFunctionget_ptr
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:21686
↓ 1 callersFunctionget_rbm
(pos)
engine/soft/soft3d.py:1832
↓ 1 callersFunctionget_rbm
(pos)
engine/soft/soft3d_twist.py:1683
↓ 1 callersMethodget_restlength
(self)
engine/geo.py:270
↓ 1 callersMethodget_stiffness
(self)
engine/geo.py:267
↓ 1 callersFunctionget_to
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:21952
↓ 1 callersMethodget_value
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:13509
↓ 1 callersFunctiongreedyColoring
cpp/mgcg_cuda/misc/graph_coloring.cpp:258
↓ 1 callersFunctiongrisu2_digit_gen
! Generates V = buffer * 10^decimal_exponent, such that M- <= V <= M+. M- and M+ must be normalized and share the same exponent -60 <= e <= -32. */
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:18295
↓ 1 callersMethodhas_no_time_budget
(self)
engine/soft/soft3d.py:708
↓ 1 callersFunctionhash
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:6370
↓ 1 callersFunctioninit
()
engine/soft/soft3d.py:1859
↓ 1 callersFunctioninit
()
engine/soft/soft3d_twist.py:1710
↓ 1 callersFunctioninit
()
engine/cloth/cloth3d_lumped.py:1280
↓ 1 callersFunctioninit
()
engine/cloth/cloth3d.py:1062
↓ 1 callersMethodinitFill_cpp
(self)
engine/cloth/fill_A.py:119
↓ 1 callersMethodinitFill_python
(self)
engine/cloth/fill_A.py:71
↓ 1 callersFunctioninit_A_CSR_pattern
(num_adj, adj)
engine/soft/fill_A.py:71
↓ 1 callersMethodinit_A_CSR_pattern
(num_adjacent_edge, adjacent_edge, NE)
engine/cloth/fill_A.py:185
↓ 1 callersMethodinit_A_CSR_pattern
(num_adjacent_edge, adjacent_edge)
engine/cloth/cloth3d_lumped.py:1006
↓ 1 callersFunctioninit_B
( pos: ti.template(), tet_indices: ti.template(), B: ti.template(), )
engine/soft/soft3d.py:1273
↓ 1 callersFunctioninit_B
( pos: ti.template(), tet_indices: ti.template(), B: ti.template(), )
engine/soft/soft3d_twist.py:1133
↓ 1 callersFunctioninit_adj
cpp/mgcg_cuda/fastfill.cpp:201
↓ 1 callersMethodinit_adj_edge
cpp/mgcg_cuda/misc/initFillCloth.cpp:152
↓ 1 callersMethodinit_adj_edge
(edges: np.ndarray)
engine/cloth/fill_A.py:269
↓ 1 callersMethodinit_adj_edge
(edges: np.ndarray)
engine/cloth/cloth3d_lumped.py:1090
↓ 1 callersFunctioninit_adj_ele
(eles)
engine/soft/fill_A.py:9
↓ 1 callersMethodinit_adjacent_edge_abc
cpp/mgcg_cuda/misc/initFillCloth.cpp:217
↓ 1 callersMethodinit_adjacent_edge_abc_kernel
(NE:int, edge:ti.template(), adjacent_edge:ti.types.ndarray(), num_adjacent_edge:ti.types.ndarray(), adjacent_
engine/cloth/fill_A.py:244
↓ 1 callersMethodinit_adjacent_edge_abc_kernel
(NE:int, edge:ti.template(), adjacent_edge:ti.types.ndarray(), num_adjacent_edge:ti.types.ndarray(), adjacent_
engine/cloth/cloth3d_lumped.py:1064
↓ 1 callersFunctioninit_alpha_kernel
( rest_volume: ti.template(), mu: ti.f32, alpha: ti.template(), )
engine/soft/soft3d.py:1304
↓ 1 callersFunctioninit_alpha_kernel
( rest_volume: ti.template(), mu: ti.f32, alpha: ti.template(), )
engine/soft/soft3d_twist.py:1164
↓ 1 callersFunctioninit_alpha_tilde
( pos: ti.template(), tet_indices: ti.template(), rest_volume: ti.template(), alpha_tilde: ti.
engine/soft/soft3d.py:1287
↓ 1 callersFunctioninit_alpha_tilde
( pos: ti.template(), tet_indices: ti.template(), rest_volume: ti.template(), alpha_tilde: ti.
engine/soft/soft3d_twist.py:1147
↓ 1 callersMethodinit_aos
(self, pos, vert, alpha, delta_t)
engine/cloth/constraints.py:278
↓ 1 callersFunctioninit_args
()
engine/soft/soft3d.py:37
← previousnext →401–500 of 1,374, ranked by callers