Skip to content
Snippets Groups Projects
Commit 620705e3 authored by COUSIN Harry's avatar COUSIN Harry
Browse files

Merge branch 'exportvtkproblem' into 'master'

fix for writing files with multiple compoments

Closes #5

See merge request !6
parents 2e07799d a47a9d1c
No related branches found
No related tags found
1 merge request!6fix for writing files with multiple compoments
Pipeline #264077 passed
......@@ -37,7 +37,7 @@ class state:
:param real nStep: the number of step or time
"""
indexComp=0
for f in self.exportFiles:
for indexComp, f in enumerate(self.exportFiles):
f.write_function(self.comps[indexComp],nStep)
def vectorToState(self,aVec,curIndexInVec):
from mse.linAlgTools import vector
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment