taichi icon indicating copy to clipboard operation
taichi copied to clipboard

dynamic Node to support List-pop-like method and support Vector with ti.append() function

Open MierDa007 opened this issue 4 years ago • 2 comments

Concisely describe the proposed feature

I would like to

  • delete the data of certain rows in the dynamic node
  • add Vector data in the dynamic node with ti.append() function.

Describe the solution you'd like (if any)

ti.deactivate(dynamicNode, certainRows)
ti.append(dynamicNode,VectorData)

Additional comments Example

MierDa007 avatar Oct 26 '21 02:10 MierDa007

I am a beginner, and would like to ask if this project is suitable for novices to participate in.

JayLZhou avatar Nov 19 '21 12:11 JayLZhou

Is there any plan to address this request? This will be quite useful for simulation of dynamic open particle systems where particles enter and exit the simulation domain. One idea I had was to provide a new list container based on dynamic SNode with chunk_size=1. The pointers to the two neighboring elements to the one deleted can be re-directed just like a traditional linked list.

abhijeet-pandey avatar Dec 28 '24 09:12 abhijeet-pandey