MCPcopy Create free account

hub / github.com/chunleili/mgpbd / functions

Functions1,374 in github.com/chunleili/mgpbd

↓ 5 callersFunctioninit_extlib
(args, sim="")
engine/init_extlib.py:8
↓ 5 callersMethodis_begin
return whether the iterator can be dereferenced
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:13527
↓ 5 callersMethodparse
! @brief public parser interface @param[in] strict whether to expect the last token to be EOF @param[in,out] result parsed JSON val
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:13011
↓ 5 callersFunctionreset_dpos
(dpos:ti.template())
engine/cloth/cloth3d_lumped.py:278
↓ 5 callersMethodupdate_vel
(self)
engine/cloth/cloth3d.py:279
↓ 4 callersMethodaccept
! @brief public accept interface @param[in] strict whether to expect the last token to be EOF @return whether the input is a proper JSON
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:13071
↓ 4 callersFunctionbytes_to_gb
(bytes)
engine/soft/fill_A.py:117
↓ 4 callersMethodcalc_C_norm
(self, pos)
engine/cloth/newton_method.py:878
↓ 4 callersFunctioncalc_dual_kernel
(alpha_tilde:ti.template(), lagrangian:ti.template(), constraint
engine/ti_kernels.py:36
↓ 4 callersFunctioncalc_norm
(a:ti.template())
engine/util.py:185
↓ 4 callersMethodcalc_strain
(self, pos)
engine/cloth/newton_method.py:885
↓ 4 callersMethodcompute_C_and_gradC
(self)
engine/cloth/cloth3d.py:282
↓ 4 callersMethodcuda_set_A0
(self,A0)
engine/solver/amg_cuda.py:129
↓ 4 callersFunctiondestroy
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:20660
↓ 4 callersFunctionempty
@brief return whether pointer points to the root document @sa https://json.nlohmann.me/api/json_pointer/empty/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:14776
↓ 4 callersFunctionending
(args, ist)
engine/util.py:212
↓ 4 callersFunctionfill_gradC_triplets_kernel
( ii:ti.types.ndarray(dtype=ti.i32), jj:ti.types.ndarray(dtype=ti.i32), vv:ti.types.ndarray(dtype=
engine/cloth/cloth3d.py:950
↓ 4 callersFunctionget_arithmetic_value
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:4892
↓ 4 callersMethodget_binary
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:12755
↓ 4 callersFunctioninsert_iterator
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:23398
↓ 4 callersFunctionis_boolean
@brief return whether value is a boolean @sa https://json.nlohmann.me/api/basic_json/is_boolean/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:21452
↓ 4 callersMethodlog_energy
(self,frame, iter, filename_to_save="")
engine/soft/soft3d_twist.py:725
↓ 4 callersMethodlog_residual
(self, frame, iter)
engine/soft/soft3d.py:881
↓ 4 callersFunctionprocess_dirs
(args)
engine/file_utils.py:55
↓ 4 callersFunctionreplace_substring
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:3101
↓ 4 callersMethodset_end
set iterator to a defined past the end
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:13521
↓ 4 callersMethodsetup_smoothers
(self)
engine/solver/amg_cuda.py:184
↓ 4 callersFunctionsize
@brief returns the number of elements @sa https://json.nlohmann.me/api/basic_json/size/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:23077
↓ 4 callersMethodsolve_one_iter
Solve one iteration of the distance constraint Usage: First build constraints. Before the loop: Reset the aos.lam . During the loop
engine/constraints/distance_constraints.py:240
↓ 4 callersMethodwrite_ubjson
! @param[in] j JSON value to serialize @param[in] use_count whether to use '#' prefixes (optimized format) @param[in] use_type wheth
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:16562
↓ 3 callersFunctionAMG_A
(ist)
engine/soft/soft3d.py:1728
↓ 3 callersMethod_pairListToDict
(pairs)
engine/geo.py:97
↓ 3 callersMethodalldata_names
(self)
engine/cloth/fill_A.py:103
↓ 3 callersMethodallocate_fields
(self, NV, NT)
engine/soft/soft3d.py:371
↓ 3 callersMethodallocate_fields
(self, NV, NT)
engine/soft/soft3d_twist.py:368
↓ 3 callersFunctionbuild_Ps
Build a list of prolongation matrices Ps from A
engine/solver/build_Ps.py:7
↓ 3 callersMethodcache_and_initFill
(self)
engine/cloth/fill_A.py:163
↓ 3 callersMethodcache_and_initFill
(self)
engine/cloth/cloth3d_lumped.py:981
↓ 3 callersMethodcalc_dual
(self)
engine/cloth/cloth3d.py:299
↓ 3 callersMethodcalc_energy
(self, x, predict_pos)
engine/cloth/newton_method_legacy.py:288
↓ 3 callersMethodcalc_energy
(self, x, predict_pos)
engine/cloth/newton_method.py:319
↓ 3 callersMethodcalc_gradient_cloth_imply_ti
(self, x)
engine/cloth/newton_method.py:341
↓ 3 callersFunctioncbegin
@brief returns a const iterator to the first element @sa https://json.nlohmann.me/api/basic_json/cbegin/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:22916
↓ 3 callersFunctioncompute_C_and_gradC_kernel
( pos:ti.template(), gradC: ti.template(), edge:ti.template(), constraints:ti.template(),
engine/cloth/cloth3d_lumped.py:491
↓ 3 callersFunctioncompute_C_and_gradC_kernel
( pos:ti.template(), gradC: ti.template(), edge:ti.template(), constraints:ti.template(),
engine/cloth/cloth3d.py:872
↓ 3 callersFunctionconvert_keys_to_str
递归地将字典的键转换为字符串
engine/cloth/build_cloth_mesh.py:298
↓ 3 callersMethoddlam2dpos
(self,dlam)
engine/cloth/cloth3d.py:275
↓ 3 callersFunctiondo_export_r
(r)
engine/cloth/cloth3d_lumped.py:753
↓ 3 callersFunctiondo_restart
(args,ist)
engine/file_utils.py:93
↓ 3 callersFunctionemplace
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:19859
↓ 3 callersFunctionexport_A_b
(A, b, dir, postfix=f"", binary=True)
engine/util.py:341
↓ 3 callersFunctionfetch_A_from_cuda
(ist,lv=0)
engine/soft/soft3d.py:1735
↓ 3 callersFunctionfill_A_by_spmm
(M_inv, ALPHA)
engine/cloth/cloth3d_lumped.py:1148
↓ 3 callersMethodfill_A_by_spmm
(self, M_inv, ALPHA_TILDE)
engine/cloth/cloth3d.py:605
↓ 3 callersMethodget_alldata
(self)
engine/cloth/fill_A.py:91
↓ 3 callersMethodget_gluetoaniamtion
(self)
engine/geo.py:158
↓ 3 callersFunctioninit_logger
(args)
engine/util.py:291
↓ 3 callersFunctionis_number_float
@brief return whether value is a floating-point number @sa https://json.nlohmann.me/api/basic_json/is_number_float/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:21480
↓ 3 callersFunctionmain_loop
(ist,args)
engine/util.py:373
↓ 3 callersFunctionmake_matrix
cpp/mgcg_cuda/standalone_solver/main_softbody.cpp:14
↓ 3 callersFunctionmake_matrix
-------------------------------------------------------------------------- */ implementations */ ------------------------
cpp/mgcg_cuda/misc/solve_soft.cpp:13
↓ 3 callersFunctionmake_matrix
(x, y, z)
engine/soft/soft3d.py:1391
↓ 3 callersMethodmoved_or_copied
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:15624
↓ 3 callersMethodnrows
this is redundant for CSR, but (ii, indicices, data) can be used as COO format
cpp/mgcg_cuda/standalone_solver/SpMatData.h:10
↓ 3 callersMethodpresmoother
(self, A,x,b)
engine/solver/amg_python.py:122
↓ 3 callersMethodread_constraints
(self,file)
engine/cloth/constraints.py:129
↓ 3 callersFunctionreset_lagrangian
(lagrangian: ti.template())
engine/cloth/cloth3d_lumped.py:586
↓ 3 callersFunctionrun
cpp/mgcg_cuda/misc/graph_coloring.cpp:292
↓ 3 callersFunctionsemi_euler
( old_pos:ti.template(), inv_mass:ti.template(), vel:ti.template(), pos:ti.template(), pre
engine/cloth/cloth3d_lumped.py:193
↓ 3 callersMethodset_begin
set iterator to a defined beginning
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:13515
↓ 3 callersMethodset_positions
(self,pos)
engine/geo.py:139
↓ 3 callersFunctionsolve_bending_constraints_xpbd
( dual_residual_bending: ti.template(), inv_mass:ti.template(), lagrangian_bending:ti.template(),
engine/cloth/bending.py:128
↓ 3 callersFunctionsolve_distance_constraints_xpbd
( dual_residual: ti.template(), inv_mass:ti.template(), edge:ti.template(), rest_len:ti.templa
engine/cloth/cloth3d_lumped.py:212
↓ 3 callersFunctionspmv
(dat, ind, ptr, v)
engine/linearSystem/spmv.py:31
↓ 3 callersFunctiontransfer_back_to_pos_mfree_kernel
()
engine/cloth/cloth3d_lumped.py:609
↓ 3 callersFunctionunget
! @brief unget current character (read it again on next get) We implement unget by setting variable next_unget to true. The input is not
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:8445
↓ 3 callersMethodupdate_constraints
(self)
engine/cloth/cloth3d.py:295
↓ 3 callersMethodupdate_pos
(self)
engine/cloth/cloth3d.py:290
↓ 3 callersFunctionupdate_pos_kernel
( inv_mass:ti.template(), dpos:ti.template(), pos:ti.template(), omega:ti.f32, )
engine/cloth/cloth3d.py:750
↓ 3 callersFunctionupdate_vel
( old_pos:ti.template(), inv_mass:ti.template(), vel:ti.template(), pos:ti.template(), )
engine/cloth/cloth3d_lumped.py:266
↓ 3 callersFunctionvec_is_equal
(a, b, tol=1e-6)
engine/util.py:467
↓ 2 callersFunctionAMG_A
()
engine/soft/soft3d_twist.py:1588
↓ 2 callersMethodSolveSoft
cpp/mgcg_cuda/misc/solve_soft.h:7
↓ 2 callersMethod__init__
(self, type="sphere", pos=[0,0,0], size=0.1, visible=True, bc_type=BCType.STICKY, id=0, restitution=1.0)
engine/collision.py:52
↓ 2 callersMethod__init__
(self, args, extlib=None)
engine/cloth/newton_method.py:21
↓ 2 callersMethod__init__
(self, dim, pos, edge)
engine/cloth/constraints.py:69
↓ 2 callersFunction_update_pos_kernel
( inv_mass:ti.template(), dpos:ti.template(), omega:ti.f32, pos:ti.template(), )
engine/constraints/distance_constraints.py:48
↓ 2 callersFunctionamg_cuda_easy
Easy to use version of AMG-CUDA for a given A and b. Performance may be not optimal, but it is useful for testing and debugging. Except the g
engine/solver/amg_cuda_easy.py:1
↓ 2 callersFunctionat
@brief access specified array element with bounds checking @sa https://json.nlohmann.me/api/basic_json/at/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:22068
↓ 2 callersFunctionbuild_face_indices
从四面体索引构建面索引
engine/mesh_io.py:290
↓ 2 callersFunctioncalc_dual_residual
( dual_residual: ti.template(), edge:ti.template(), rest_len:ti.template(), lagrangian:ti.temp
engine/cloth/cloth3d.py:779
↓ 2 callersMethodcalc_energy
(self)
engine/physical_base.py:73
↓ 2 callersMethodcalc_energy
(self, pos, predict_pos)
engine/cloth/newton_method.py:593
↓ 2 callersMethodcalc_force
(self)
engine/cloth/newton_method.py:166
↓ 2 callersMethodcalc_gradient_cloth_imply_ti
(self, x)
engine/cloth/newton_method_legacy.py:310
↓ 2 callersMethodcalc_hessian_imply_ti
(self, x)
engine/cloth/newton_method_legacy.py:356
↓ 2 callersMethodcalc_hessian_imply_ti
(self, x)
engine/cloth/newton_method.py:436
↓ 2 callersMethodcalc_num_nonz
(num_adjacent_edge)
engine/cloth/fill_A.py:175
↓ 2 callersMethodcalc_potential
(self, x)
engine/cloth/newton_method_legacy.py:253
↓ 2 callersMethodcalc_potential
(self, x)
engine/cloth/newton_method.py:284
← previousnext →101–200 of 1,374, ranked by callers