vidarsko / ComFiT

A python library for simulating field theories with topological defects
MIT License
3 stars 3 forks source link

Solve issue regarding the PFC model having both pfc.psi and sometimes pfc.psi[0] referring to the same thing #36

Open vidarsko opened 1 week ago

vidarsko commented 1 week ago

The issue is that whenever I am using the hydrodynamic model, the PFC simulation, I need to add a velocity field which is encoded in psi[1], psi[2] and so forth. The problem then is that a lot of functions assumes that psi is accessible through self.psi and self.psi_f. I need to address this somehow.