Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chunleili/mgpbd
/ functions
Functions
1,374 in github.com/chunleili/mgpbd
⨍
Functions
1,374
◇
Types & classes
263
↓ 1 callers
Method
read_target_pos
(self)
engine/soft/soft3d.py:263
↓ 1 callers
Method
read_target_pos
(self)
engine/soft/soft3d_twist.py:260
↓ 1 callers
Function
read_tetgen
void read_tetgen(std::string filename)
cpp/mgcg_cuda/standalone_solver/meshio_tetgen.cpp:7
↓ 1 callers
Method
read_tri_cloth_mesh
(path)
engine/cloth/build_cloth_mesh.py:37
↓ 1 callers
Method
read_vtk
(self,input:str)
engine/geo.py:147
↓ 1 callers
Function
readmesh
cpp/mgcg_cuda/standalone_solver/main_softbody.cpp:337
↓ 1 callers
Function
reinit
cpp/mgcg_cuda/standalone_solver/main_softbody.cpp:362
↓ 1 callers
Method
reinit
(self)
engine/soft/soft3d.py:438
↓ 1 callers
Method
reinit
(self)
engine/soft/soft3d_twist.py:433
↓ 1 callers
Method
reinit
(self)
engine/cloth/cloth3d.py:137
↓ 1 callers
Function
remove_sign
* Overload to make the compiler happy while it is instantiating * dump_integer for number_unsigned_t. * Must never be called. */
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:19749
↓ 1 callers
Function
reset_dpos
(dpos:ti.template())
engine/cloth/cloth3d.py:703
↓ 1 callers
Function
reset_lagrangian
(lagrangian: ti.template())
engine/cloth/cloth3d.py:698
↓ 1 callers
Function
run
()
engine/cloth/cloth3d_lumped.py:1374
↓ 1 callers
Method
run
cpp/mgcg_cuda/standalone_solver/main_softbody.cpp:115
↓ 1 callers
Method
run
cpp/mgcg_cuda/misc/initFillCloth.cpp:52
↓ 1 callers
Method
run
(self, b, x0=None, maxiter=1)
engine/solver/iterative_solver.py:12
↓ 1 callers
Method
run
(self, b)
engine/solver/amgx_solver.py:23
↓ 1 callers
Method
run
(self, b)
engine/solver/amg_python.py:22
↓ 1 callers
Function
run_case
(case_num:int)
replicate.py:29
↓ 1 callers
Function
run_softbody
example usage
cpp/mgcg_cuda/standalone_solver/main_softbody.cpp:386
↓ 1 callers
Method
save_cache
(self)
engine/cloth/fill_A.py:156
↓ 1 callers
Function
sax_parse
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:24221
↓ 1 callers
Function
scale_to_unit_cube_v2
将pos缩放到[0,1]的立方体。
engine/mesh_io.py:210
↓ 1 callers
Function
semi_euler_kernel
( delta_t: ti.f32, pos: ti.template(), predict_pos: ti.template(), old_pos: ti.template(),
engine/ti_kernels.py:63
↓ 1 callers
Function
semi_euler_kernel
( old_pos:ti.template(), inv_mass:ti.template(), vel:ti.template(), pos:ti.template(), pre
engine/cloth/cloth3d.py:636
↓ 1 callers
Method
set
cpp/mgcg_cuda/misc/initFillCloth.cpp:61
↓ 1 callers
Method
set_alpha
(self, stiffness:list[float])
engine/constraints/distance_constraints.py:224
↓ 1 callers
Method
set_constraints_from_read
(self)
engine/cloth/newton_method_legacy.py:40
↓ 1 callers
Method
set_constraints_from_read
Set constraints from constraints.txt Data to be set: - NCONS : number of constraints - vert: array of vertex
engine/cloth/newton_method.py:40
↓ 1 callers
Function
set_is_fixed_kernel
(fixed_particles: ti.types.ndarray(dtype=ti.i32), is_fixed: ti.template())
engine/soft/soft3d_twist.py:784
↓ 1 callers
Function
set_labels_from_P
(labels, P)
engine/cloth/cloth3d_lumped.py:408
↓ 1 callers
Method
set_mass_chain
(self, NV, pin)
engine/cloth/cloth3d.py:185
↓ 1 callers
Method
set_rest_len
(self, rest_len:list[float])
engine/constraints/distance_constraints.py:92
↓ 1 callers
Method
set_stiffness_field
(alpha_tilde, delta_t)
engine/cloth/newton_method.py:85
↓ 1 callers
Method
setup_chebyshev
Set up Chebyshev.
engine/solver/amg_python.py:70
↓ 1 callers
Method
setup_jacobi
(self, A)
engine/solver/amg_python.py:81
↓ 1 callers
Method
setup_smoothers
(self, A)
engine/solver/amg_python.py:89
↓ 1 callers
Function
should_setup
()
engine/cloth/cloth3d_lumped.py:685
↓ 1 callers
Function
skip_bom
! @brief skip the UTF-8 byte order mark @return true iff there is no BOM or the correct BOM has been skipped */
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:8562
↓ 1 callers
Function
smoother_name2type
(name)
engine/solver/amg_cuda.py:204
↓ 1 callers
Method
solve
cpp/mgcg_cuda/standalone_solver/eigen_solver.cpp:10
↓ 1 callers
Method
solveSoft
(self)
engine/soft/soft3d.py:693
↓ 1 callers
Method
solveSoft
(self)
engine/soft/soft3d_twist.py:616
↓ 1 callers
Method
solveSoft_cuda_init
(self)
engine/soft/soft3d.py:638
↓ 1 callers
Method
solveSoft_cuda_init
(self)
engine/soft/soft3d_twist.py:561
↓ 1 callers
Method
solveSoft_python
(self)
engine/soft/soft3d.py:686
↓ 1 callers
Method
solveSoft_python
(self)
engine/soft/soft3d_twist.py:609
↓ 1 callers
Function
solve_distance_constraints_xpbd_kernel
( inv_mass:ti.template(), p1:ti.template(), p2:ti.template(), rest_len:ti.template(), lagr
engine/constraints/distance_constraints.py:168
↓ 1 callers
Function
solve_subspace_constraints_xpbd
()
engine/cloth/cloth3d_lumped.py:387
↓ 1 callers
Function
solve_subspace_constraints_xpbd_kernel
( labels: ti.template(), numerator: ti.template(), denominator: ti.template(), numerator_lumpe
engine/cloth/cloth3d_lumped.py:336
↓ 1 callers
Function
sphere_collision_kernel
(pos: ti.template(), old_pos:ti.template(), sphere_pos: ti.template(), sphere_radius: ti.f32, inv_mass: ti.tem
engine/collision.py:84
↓ 1 callers
Function
split
! @brief split the string input to reference tokens @note This function is only called by the json_pointer constructor. All excepti
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:15245
↓ 1 callers
Function
spmv_kernel
( dat: ti.template(), ind: ti.template(), ptr: ti.template(),
engine/linearSystem/spmv.py:47
↓ 1 callers
Method
start
cpp/mgcg_cuda/timer.h:27
↓ 1 callers
Method
step_one_iter
(self, x)
engine/cloth/newton_method_legacy.py:191
↓ 1 callers
Method
step_one_iter_mgpbd
(self, pos, lagrangian)
engine/cloth/newton_method.py:837
↓ 1 callers
Function
substep_all_solver
()
engine/cloth/cloth3d_lumped.py:870
↓ 1 callers
Method
substep_all_solver
(self)
engine/cloth/cloth3d.py:358
↓ 1 callers
Method
substep_newton
(self)
engine/cloth/newton_method.py:179
↓ 1 callers
Function
substep_xpbd
()
engine/cloth/cloth3d_lumped.py:456
↓ 1 callers
Method
substep_xpbd
(ist)
engine/cloth/cloth3d.py:389
↓ 1 callers
Function
substep_xpbd_lumped
()
engine/cloth/cloth3d_lumped.py:417
↓ 1 callers
Function
sum_distance_min
cpp/mgcg_cuda/misc/graph_coloring.cpp:71
↓ 1 callers
Function
test_amg_python
(matA,b)
engine/solver/amg_python_easy.py:5
↓ 1 callers
Function
test_amgx
()
engine/solver/amgx_solver.py:116
↓ 1 callers
Function
test_animation
()
engine/geo.py:328
↓ 1 callers
Function
test_different_N
()
engine/linearSystem/spmv.py:136
↓ 1 callers
Function
test_large_case
(N=1000)
engine/linearSystem/spmv.py:103
↓ 1 callers
Function
test_pcg
()
engine/linearSystem/conjugate_gradient.py:74
↓ 1 callers
Function
test_sparse_gs
()
engine/linearSystem/sparse_gauss_seidel.py:65
↓ 1 callers
Function
to_cbor
@brief create a CBOR serialization of a given JSON value @sa https://json.nlohmann.me/api/basic_json/to_cbor/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:24406
↓ 1 callers
Function
to_json_tuple_impl
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:6110
↓ 1 callers
Method
tohost
device to host
cpp/mgcg_cuda/Vec.h:72
↓ 1 callers
Function
transfer_back_to_pos_mfree
(x)
engine/cloth/cloth3d_lumped.py:641
↓ 1 callers
Function
transfer_back_to_pos_mfree_kernel_withg
()
engine/cloth/cloth3d_lumped.py:626
↓ 1 callers
Function
transfer_back_to_pos_mfree_kernel_withg
( edge:ti.template(), inv_mass:ti.template(), gradC:ti.template(), lagrangian:ti.template(),
engine/cloth/primal_xpbd.py:144
↓ 1 callers
Method
transfer_reinit_to_setup_num
(self)
engine/cloth/cloth3d.py:128
↓ 1 callers
Function
unescape
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:3135
↓ 1 callers
Method
update
(self, data, rhs)
engine/solver/amgx_solver.py:47
↓ 1 callers
Method
update_P
(self,Ps)
engine/solver/amg_cuda.py:124
↓ 1 callers
Method
update_constraints
(self)
engine/soft/soft3d.py:574
↓ 1 callers
Method
update_constraints
(self)
engine/soft/soft3d_twist.py:522
↓ 1 callers
Function
update_constraints_kernel
( pos: ti.template(), #pos not pos_mid tet_indices: ti.template(), B: ti.template(), constrain
engine/soft/soft3d_twist.py:1336
↓ 1 callers
Method
update_lambda
(self, dlambda, lagrangian)
engine/cloth/newton_method.py:825
↓ 1 callers
Function
update_pos_blend
( inv_mass:ti.template(), dpos:ti.template(), pos:ti.template(), dpos_withg:ti.template(), )
engine/cloth/cloth3d_lumped.py:254
↓ 1 callers
Function
update_pos_blend
( inv_mass:ti.template(), dpos:ti.template(), pos:ti.template(), dpos_withg:ti.template(), )
engine/cloth/primal_xpbd.py:168
↓ 1 callers
Method
update_pos_chebyshev
(self)
engine/soft/soft3d.py:595
↓ 1 callers
Function
update_pos_chebyshev_kernel
( next_X: ti.template(), # after this iter solved by XPBD : pos X: ti.template(), # before this
engine/soft/soft3d.py:1206
↓ 1 callers
Function
update_pos_kernel
( inv_mass:ti.template(), dpos:ti.template(), pos:ti.template(), omega:ti.f32 )
engine/ti_kernels.py:51
↓ 1 callers
Method
update_pos_kernel
( inv_mass:ti.template(), dpos:ti.template(), pos:ti.template(),
engine/cloth/newton_method.py:811
↓ 1 callers
Function
update_vel
(delta_t: ti.f32, pos: ti.template(), old_pos: ti.template(), vel: ti.template())
engine/soft/soft3d_twist.py:790
↓ 1 callers
Function
update_vel
( old_pos:ti.template(), inv_mass:ti.template(), vel:ti.template(), pos:ti.template(), )
engine/cloth/cloth3d.py:670
↓ 1 callers
Function
update_vel_kernel
(delta_t: ti.f32, pos: ti.template(), old_pos: ti.template(),
engine/ti_kernels.py:86
↓ 1 callers
Function
update_vel_kernel
( old_pos:ti.template(), inv_mass:ti.template(), vel:ti.template(), pos:ti.template(), )
engine/cloth/cloth3d.py:764
↓ 1 callers
Function
update_vel_with_collision_kernel
(delta_t: ti.f32, pos: ti.template(), old_pos: ti.template(),
engine/ti_kernels.py:97
↓ 1 callers
Function
use_another_outdir
(dir)
engine/file_utils.py:28
↓ 1 callers
Function
value
! @brief return the value of an iterator @pre The iterator is initialized; i.e. `m_object != nullptr`. */
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:14380
↓ 1 callers
Function
visualize_colliders
可视化碰撞体,既可以独立输出每个碰撞体,也可以合并输出所有碰撞体 Args: colliders: 碰撞体列表 out_dir: 输出目录
engine/collision.py:154
↓ 1 callers
Function
write_and_rebuild_topology
write topology to file and rebuild the topology mapping vertex to edge, vertex to tri, edge to tri
engine/cloth/build_cloth_mesh.py:266
← previous
next →
601–700 of 1,374, ranked by callers