Commit 0c5720b6 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

state.omega in vtk export

parent dc71baf0
Pipeline #8286 passed with stages
in 4 minutes and 4 seconds
......@@ -319,10 +319,7 @@ class ParticleProblem :
state = self.state()
v = state.v
if self._rotation_enabled:
omega = self.omega()
else :
omega = np.zeros((v.shape[0],1))
omega = state.omega
x = state.x
material = self._get_idx("ParticleMaterial").reshape(-1,1)
forced = self._get_idx("ForcedFlag").reshape(-1,1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment