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
↓ 2 callers
Method
calc_predict_pos
(self)
engine/cloth/newton_method.py:163
↓ 2 callers
Method
calc_primal
(self)
engine/soft/soft3d.py:550
↓ 2 callers
Function
calc_primary_residual
(G,M_inv)
engine/cloth/cloth3d_lumped.py:300
↓ 2 callers
Method
calc_r
(self, frame, ite, tic_iter, r_Axb=None)
engine/util.py:97
↓ 2 callers
Function
calc_strain_cloth_kernel
( edge:ti.template(), rest_len:ti.template(), pos:ti.template(), strain:ti.template(), )
engine/cloth/cloth3d.py:933
↓ 2 callers
Method
coarse_solver
(self, A, b)
engine/solver/amg_python.py:144
↓ 2 callers
Function
compute_boundaries
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:17897
↓ 2 callers
Function
compute_energy
(inv_mass, pos, predict_pos, tet_indices, B, alpha, dt, is_fixed, fixed_stiffness, fixed_pos)
engine/energy.py:6
↓ 2 callers
Function
compute_inertial_energy_kernel
( pos: ti.template(), predict_pos: ti.template(), inv_mass: ti.template(), delta_t: ti.f32, )
engine/ti_kernels.py:21
↓ 2 callers
Function
compute_potential_energy_kernel
( constraints: ti.template(), alpha_tilde: ti.template(), delta_t: ti.f32, )
engine/ti_kernels.py:9
↓ 2 callers
Function
csr_index_to_coo_index
(indptr, indices)
engine/soft/fill_A.py:87
↓ 2 callers
Function
csr_is_equal
(A, B, tol=1e-4)
engine/util.py:440
↓ 2 callers
Function
dict_to_ndarr
(d:dict)
engine/cloth/fill_A.py:7
↓ 2 callers
Function
dict_to_ndarr
(d:dict)
engine/cloth/cloth3d_lumped.py:928
↓ 2 callers
Method
dlam2dpos
(self,dlam)
engine/soft/soft3d.py:583
↓ 2 callers
Method
dlam2dpos
(self,dlam)
engine/soft/soft3d_twist.py:531
↓ 2 callers
Function
dlam2dpos_kernel
( edge:ti.template(), inv_mass:ti.template(), dLambda:ti.template(), lagrangian:ti.template(),
engine/cloth/cloth3d.py:988
↓ 2 callers
Method
do_external_constraints
(self)
engine/soft/soft3d.py:727
↓ 2 callers
Method
do_external_constraints
(self)
engine/soft/soft3d_twist.py:650
↓ 2 callers
Function
emplace_back
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:23341
↓ 2 callers
Function
erase_internal
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:22699
↓ 2 callers
Function
export_mat
(ist,get_A,b)
engine/util.py:320
↓ 2 callers
Method
fetch_A_data
cpp/mgcg_cuda/fastfill.cpp:14
↓ 2 callers
Function
fetch_A_from_cuda
(lv=0)
engine/soft/soft3d_twist.py:1595
↓ 2 callers
Function
file_input_adapter
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:6546
↓ 2 callers
Function
fill_A_csr_ti
(ist)
engine/cloth/cloth3d_lumped.py:1219
↓ 2 callers
Method
fill_A_csr_ti
(self)
engine/cloth/cloth3d.py:549
↓ 2 callers
Method
fill_A_in_cuda
Assemble A in cuda end
engine/cloth/cloth3d.py:478
↓ 2 callers
Function
fill_gradC_triplets_kernel
( ii:ti.types.ndarray(dtype=ti.i32), jj:ti.types.ndarray(dtype=ti.i32), vv:ti.types.ndarray(dtype=
engine/soft/soft3d.py:1247
↓ 2 callers
Function
fill_gradC_triplets_kernel
( ii:ti.types.ndarray(dtype=ti.i32), jj:ti.types.ndarray(dtype=ti.i32), vv:ti.types.ndarray(dtype=
engine/soft/soft3d_twist.py:1107
↓ 2 callers
Function
fill_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_lumped.py:552
↓ 2 callers
Method
finalize
(self)
engine/solver/amgx_solver.py:106
↓ 2 callers
Function
flatten
@brief return flattened JSON value @sa https://json.nlohmann.me/api/basic_json/flatten/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:24837
↓ 2 callers
Function
from_json_array_impl
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:5083
↓ 2 callers
Function
from_json_inplace_array_impl
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:5166
↓ 2 callers
Function
from_json_tuple_impl
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:5278
↓ 2 callers
Function
generate_A_b_psd
(n=1000)
engine/linearSystem/conjugate_gradient.py:25
↓ 2 callers
Function
generate_A_b_spd
(n=1000)
engine/linearSystem/generate_spd.py:20
↓ 2 callers
Function
get_byte_positions
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:4635
↓ 2 callers
Method
get_from_outside
(self, data, indices, indptr, ii, jj)
engine/cloth/fill_A.py:16
↓ 2 callers
Method
get_mass
(self)
engine/geo.py:264
↓ 2 callers
Method
get_nl
(self)
engine/solver/amg_cuda.py:193
↓ 2 callers
Method
get_target_pts
for muscle2muscle
engine/geo.py:257
↓ 2 callers
Function
graph_coloring_to_cuda
(ncolor, colors, lv, extlib)
engine/soft/graph_coloring.py:49
↓ 2 callers
Function
graph_coloring_v2
(fetch_A_from_cuda, num_levels, extlib=None, model_path=None)
engine/soft/graph_coloring.py:17
↓ 2 callers
Function
grisu2
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:18536
↓ 2 callers
Function
grisu2_round
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:18254
↓ 2 callers
Function
ground_collision_kernel
(pos: ti.template(), old_pos:ti.template(), ground_pos: ti.f32, inv_mass: ti.template())
engine/collision.py:73
↓ 2 callers
Method
has_no_time_budget
(self)
engine/cloth/cloth3d.py:321
↓ 2 callers
Function
hex_bytes
! * @brief convert a byte to a uppercase hex representation * @param[in] byte byte to represent * @return representation ("00".."FF")
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:19486
↓ 2 callers
Function
initFill_tocuda
(ist, extlib)
engine/soft/fill_A.py:96
↓ 2 callers
Function
init_A_CSR_pattern
cpp/mgcg_cuda/fastfill.cpp:268
↓ 2 callers
Function
init_bending
(tri, pos)
engine/cloth/bending.py:100
↓ 2 callers
Function
init_direct_fill_A
(ist, extlib=None)
engine/soft/fill_A.py:134
↓ 2 callers
Function
init_scale
(pos:ti.template(), scale:ti.f32)
engine/ti_kernels.py:118
↓ 2 callers
Method
initialize
(self)
engine/soft/soft3d.py:403
↓ 2 callers
Function
int_to_string
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:5475
↓ 2 callers
Function
isNeighbor
cpp/mgcg_cuda/misc/graph_coloring.cpp:36
↓ 2 callers
Method
is_converged
(self)
engine/soft/soft3d.py:856
↓ 2 callers
Method
is_end
return whether the iterator is at end
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:13533
↓ 2 callers
Method
is_errored
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:9033
↓ 2 callers
Function
is_number_unsigned
@brief return whether value is an unsigned integer number @sa https://json.nlohmann.me/api/basic_json/is_number_unsigned/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:21473
↓ 2 callers
Function
little_endianness
! @brief determine system byte order @return true if and only if system's byte order is little endian @note from https://stackoverflow.com/a/1001328
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:9877
↓ 2 callers
Function
load_pos_from_node
(filename)
engine/soft/soft3d.py:1848
↓ 2 callers
Function
load_pos_from_node
(filename)
engine/soft/soft3d_twist.py:1699
↓ 2 callers
Function
mem_usage
(ist)
engine/soft/fill_A.py:114
↓ 2 callers
Method
ncols
cpp/mgcg_cuda/standalone_solver/SpMatData.h:11
↓ 2 callers
Method
nnz
cpp/mgcg_cuda/standalone_solver/SpMatData.h:12
↓ 2 callers
Function
norm_sqr
(x)
engine/util.py:412
↓ 2 callers
Function
normalize
cpp/mgcg_cuda/misc/initFillCloth.cpp:18
↓ 2 callers
Function
occ
()
engine/visualize.py:239
↓ 2 callers
Function
operator++
! @brief post-increment (it++) @pre The iterator is initialized; i.e. `m_object != nullptr`. */
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:13999
↓ 2 callers
Function
operator--
! @brief post-decrement (it--) @pre The iterator is initialized; i.e. `m_object != nullptr`. */
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:14050
↓ 2 callers
Function
parse
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:24177
↓ 2 callers
Function
parse_json_args
(args,json_path="")
engine/common_args.py:88
↓ 2 callers
Method
parse_pointattributes
(self)
engine/geo.py:181
↓ 2 callers
Function
pinlist_to_field
(pinlist, pinposlist,NV)
engine/util.py:596
↓ 2 callers
Function
pop_back
@brief remove last reference token @sa https://json.nlohmann.me/api/json_pointer/pop_back/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:14738
↓ 2 callers
Method
postsmoother
(self,A,x,b)
engine/solver/amg_python.py:140
↓ 2 callers
Function
project_constraints
( pos_mid: ti.template(), tet_indices: ti.template(), inv_mass: ti.template(), lagrangian: ti.
engine/soft/soft3d.py:969
↓ 2 callers
Function
project_constraints
( pos_mid: ti.template(), tet_indices: ti.template(), inv_mass: ti.template(), lagrangian: ti.
engine/soft/soft3d_twist.py:805
↓ 2 callers
Method
read_external_pos
(self)
engine/soft/soft3d.py:702
↓ 2 callers
Function
read_geo
(filename, build_face_flag=False)
engine/mesh_io.py:437
↓ 2 callers
Function
read_geo
(input)
engine/geo.py:317
↓ 2 callers
Function
read_mesh
(mesh_path="data/model/bunny.obj", scale=[1.0, 1.0, 1.0], shift=[0, 0, 0])
engine/mesh_io.py:33
↓ 2 callers
Function
read_tet
(filename, build_face_flag=False)
engine/mesh_io.py:424
↓ 2 callers
Function
reset
reset token_buffer; current character is beginning of token
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:8390
↓ 2 callers
Method
resize_fields
cpp/mgcg_cuda/misc/solve_soft.cpp:113
↓ 2 callers
Function
rigid_body_modes
Create rigid body modes from coordinate vector. To be used as near-nullspace vectors with aggregation coarsening for 2D or 3D elasticity problems. The
cpp/mgcg_cuda/misc/rbm.cpp:11
↓ 2 callers
Method
run
cpp/mgcg_cuda/fastfill.cpp:68
↓ 2 callers
Function
save_state
(filename, ist)
engine/file_utils.py:98
↓ 2 callers
Function
semi_euler
( old_pos:ti.template(), inv_mass:ti.template(), vel:ti.template(), pos:ti.template(), pre
engine/cloth/cloth3d.py:681
↓ 2 callers
Method
semi_euler
(self)
engine/cloth/cloth3d.py:270
↓ 2 callers
Function
semi_euler_kernel
( delta_t: ti.f32, pos: ti.template(), predict_pos: ti.template(), old_pos: ti.template(),
engine/soft/soft3d.py:1170
↓ 2 callers
Function
semi_euler_kernel
( delta_t: ti.f32, pos: ti.template(), predict_pos: ti.template(), old_pos: ti.template(),
engine/soft/soft3d_twist.py:1077
↓ 2 callers
Method
set_data_v2
cpp/mgcg_cuda/fastfill.cpp:18
↓ 2 callers
Method
set_mass
(self)
engine/cloth/newton_method.py:105
↓ 2 callers
Method
set_mass
(self, NV, pin)
engine/cloth/cloth3d.py:167
↓ 2 callers
Function
set_mass_matrix_from_invmass
(inv_mass:np.ndarray)
engine/util.py:508
↓ 2 callers
Method
set_pin
(self, NV, N, setup_num)
engine/cloth/cloth3d.py:158
← previous
next →
201–300 of 1,374, ranked by callers