MCPcopy Create free account

hub / github.com/chunleili/mgpbd / functions

Functions1,374 in github.com/chunleili/mgpbd

↓ 1 callersFunctionwrite_edge
(filename, data)
engine/mesh_io.py:367
↓ 1 callersMethodwrite_geo
(self, output=None)
engine/soft/soft3d.py:350
↓ 1 callersMethodwrite_json
Parameters ---------- json_path : str path to the json file
engine/physical_data.py:105
↓ 1 callersFunctionwrite_mesh
cpp/mgcg_cuda/standalone_solver/main_softbody.cpp:372
↓ 1 callersFunctionwrite_obj
cpp/mgcg_cuda/standalone_solver/meshio_obj.cpp:3
↓ 1 callersFunctionwrite_ply_with_strain
(filename, pos, tri, strain, binary=False)
engine/mesh_io.py:387
↓ 1 callersFunctionwrite_tet
(filename, points, tet_indices)
engine/mesh_io.py:43
↓ 1 callersMethodwrite_topo
(self)
engine/cloth/cloth3d.py:150
↓ 1 callersFunctionwrite_tri
(filename, data)
engine/mesh_io.py:370
↓ 1 callersFunctionxpbd_calcr
(ist, tic_iter, dual0)
engine/cloth/cloth3d.py:655
FunctionAMG_A
()
engine/solver/amg_cuda_easy.py:33
FunctionAMG_A_wrapper
()
engine/soft/soft3d.py:1781
MethodAMG_PXPBD_v1_b
(self, G)
engine/cloth/primal_xpbd.py:45
MethodAMG_PXPBD_v1_dlam2dpos
(self, x,G, Minv_gg)
engine/cloth/primal_xpbd.py:17
MethodAMG_PXPBD_v2_dlam2dpos
(x,self)
engine/cloth/primal_xpbd.py:27
MethodAMG_calc_r
(self)
engine/soft/soft3d.py:720
MethodAMG_calc_r
(self)
engine/soft/soft3d_twist.py:643
MethodAMG_solve
(self, b, x0=None, tol=1e-5, maxiter=100)
engine/solver/direct_solver.py:11
MethodCSR
cpp/mgcg_cuda/CSR.h:21
MethodConfigManager
cpp/mgcg_cuda/config_manager.h:10
MethodCusparseWrappers
cpp/mgcg_cuda/cusparse_wrappers.h:50
MethodFastFillSoft
cpp/mgcg_cuda/fastfill.cpp:323
MethodFastFillSoft
cpp/mgcg_cuda/fastfill.h:63
MethodFastFillSoftWrapper
cpp/mgcg_cuda/standalone_solver/main_softbody.cpp:102
MethodFastFillSoftWrapper
cpp/mgcg_cuda/standalone_solver/main_softbody.cpp:108
MethodFastMG
cpp/mgcg_cuda/fastmg.h:63
MethodGpuTimer
cpp/mgcg_cuda/timer.h:86
FunctionJSON_CATCH
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:20804
FunctionJSON_INTERNAL_CATCH
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:22468
FunctionPXPBD_b_kernel
(pos:ti.template(), predict_pos:ti.template(), lagrangian:ti.template(), inv_mass:ti.template(), gradC:ti.temp
engine/cloth/cloth3d_lumped.py:763
FunctionPXPBD_b_kernel
(edge:ti.template(),pos:ti.template(), predict_pos:ti.template(), lagrangian:ti.template(), inv_mass:ti.templa
engine/cloth/primal_xpbd.py:124
FunctionPXPBD_v1_mfree_transfer_back_to_pos
(x, Minv_gg)
engine/cloth/cloth3d_lumped.py:784
MethodPXPBD_v1_mfree_transfer_back_to_pos
(self, x, Minv_gg)
engine/cloth/primal_xpbd.py:56
MethodPhysData
cpp/mgcg_cuda/standalone_solver/physdata.cpp:4
MethodSmoother
cpp/mgcg_cuda/smoother.h:12
MethodSoftBody
cpp/mgcg_cuda/standalone_solver/main_softbody.cpp:151
MethodTimer
cpp/mgcg_cuda/timer.h:26
MethodVCycle
cpp/mgcg_cuda/vcycle.h:12
MethodVec
cpp/mgcg_cuda/Vec.h:16
Method__eq__
(self, value: object)
engine/cloth/constraints.py:28
Method__eq__
(self, value: object)
engine/cloth/constraints.py:55
Method__init__
(self, **kwargs)
engine/collision.py:63
Method__init__
(self, **kwargs)
engine/collision.py:67
Method__init__
Parameters ---------- pos : np.ndarray(dtype=np.float32, shape=(NV, 3)) position of the vertices vel : np
engine/physical_data.py:4
Method__init__
Args: evaluateObjectiveFunction: function to evaluate the objective function, input is x(shape=(NV,3)), output is scalar
engine/line_search.py:7
Method__init__
Args: evaluateObjectiveFunction: navie version of line search. No need for gradient information, which is equal to alpha=0 of the
engine/line_search.py:85
Method__init__
(self)
engine/physical_base.py:13
Method__init__
( self, calc_dual=None, calc_primal=None, calc_energy=None, calc_strai
engine/util.py:49
Method__init__
(self)
engine/visualize.py:5
Method__init__
(self, args)
engine/visualize.py:341
Method__init__
(self, name, size, dtype, value)
engine/geo.py:64
Method__init__
(self, input:str=None, only_P=False)
engine/geo.py:89
Method__init__
(self,indices,closed=False)
engine/geo.py:313
Method__init__
(self, pts, pos, target_pos, compliance=1e-9, omega=0.25)
engine/constraints/distance_constraints.py:71
Method__init__
(self, pts, pos, target_pos)
engine/constraints/distance_constraints.py:146
Method__init__
(self, p1, p2, pos, compliance=0.1, omega=0.25)
engine/constraints/distance_constraints.py:214
Method__init__
(self, get_A0, calc_residual_every_iter=False)
engine/solver/iterative_solver.py:8
Method__init__
(self, config_file, get_A0, cuda_dir="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.5/bin", amgx_lib_
engine/solver/amgx_solver.py:11
Method__init__
(self, args, get_A0, should_setup, copy_A=True)
engine/solver/amg_python.py:10
Method__init__
(self, get_A0=None)
engine/solver/direct_solver.py:7
Method__init__
(self, get_A0)
engine/solver/direct_solver.py:65
Method__init__
Initialize an instance of the AmgCuda class. Parameters ---------- args : Command line arguments or configuration ob
engine/solver/amg_cuda.py:15
Method__init__
(self, mesh_file)
engine/soft/soft3d.py:76
Method__init__
(self, mesh_file)
engine/soft/soft3d_twist.py:74
Method__init__
(self, pos, inv_mass, edge, alpha, use_cache, use_cuda, extlib=None)
engine/cloth/fill_A.py:41
Method__init__
(self)
engine/cloth/cloth3d_lumped.py:69
Method__init__
(self, mesh_file)
engine/cloth/build_cloth_mesh.py:12
Method__init__
(self, N)
engine/cloth/build_cloth_mesh.py:86
Method__init__
(self, N)
engine/cloth/build_cloth_mesh.py:229
Method__init__
(self, pos_file, edge_file, tri_file)
engine/cloth/build_cloth_mesh.py:324
Method__init__
(self, args, extlib)
engine/cloth/newton_method_legacy.py:23
Method__init__
(self, args, extlib=None)
engine/cloth/newton_method.py:582
Method__init__
(self, args, extlib=None)
engine/cloth/newton_method.py:1016
Method__init__
(self,args, extlib)
engine/cloth/cloth3d.py:69
Method__init__
(self, stiffness)
engine/cloth/constraints.py:14
Method__init__
(self, stiffness:float, p1:int, p2:int, rest_len:float, type=ConstraintType.STRETCH)
engine/cloth/constraints.py:18
Method__init__
(self, stiffness:float, p0:int, fixed_point:np.ndarray)
engine/cloth/constraints.py:45
Method__init__
(self, pos:np.ndarray, edge:np.ndarray, N=20, stiffness_stretch=120.0, stiffness_bending=20.0, stiffness_attac
engine/cloth/constraints.py:74
Method__init__
(self, constraintsNew)
engine/cloth/constraints.py:168
Method__init__
(self, args, vert, pos, tri=None)
engine/cloth/constraints.py:260
Method__init__
(self)
engine/cloth/primal_xpbd.py:10
Method__str__
(self)
engine/cloth/constraints.py:10
Method__str__
(self)
engine/cloth/constraints.py:25
Method__str__
(self)
engine/cloth/constraints.py:52
Functionaccept
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:24191
Methodaccumulate
cpp/mgcg_cuda/timer.h:58
Methodadd_attachment_constraint
(self, vertex_index)
engine/cloth/constraints.py:88
Methodadd_lam_kernel
(dlambda:ti.types.ndarray(), lagrangian:ti.template())
engine/cloth/newton_method.py:827
Methodalldata_dict
(self)
engine/cloth/fill_A.py:116
Methodassign
cpp/mgcg_cuda/CSR.h:23
Functionback
@brief access the last element @sa https://json.nlohmann.me/api/basic_json/back/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:22540
Functionbasic_json array
@brief explicitly create an array from an initializer list @sa https://json.nlohmann.me/api/basic_json/array/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:21115
Functionbasic_json binary
@brief explicitly create a binary array (without subtype) @sa https://json.nlohmann.me/api/basic_json/binary/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:21071
Functionbasic_json diff
@brief creates a diff as a JSON patch @sa https://json.nlohmann.me/api/basic_json/diff/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:25142
Functionbasic_json from_bjdata
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:24690
Functionbasic_json from_bson
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:24720
Functionbasic_json from_cbor
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:24524
Functionbasic_json from_msgpack
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:24582
Functionbasic_json from_ubjson
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:24636
Functionbasic_json meta
@brief returns version information on the library @sa https://json.nlohmann.me/api/basic_json/meta/
cpp/mgcg_cuda/extern/json/include/nlohmann/json.hpp:20353
← previousnext →701–800 of 1,374, ranked by callers