yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #16877
Re: [Question #665314]: save/load precedure
Question #665314 on Yade changed:
https://answers.launchpad.net/yade/+question/665314
Status: Answered => Open
azim is still having a problem:
if the below procedure is True? it means that my problem is solved:
for what i mentioned in [1], it will be something like this:
Script A&B&C in one ScriptABC:
##########################
ScrptABC.py
(define parameters,engines)
if (saved=StableState.yade.gz):
reload(StableState.yade.gz)
(some runs and plots)
O.save('firstcalculation.yade.gz')
call y function
elif (Saved= StableState.yade.gz and firstCalculation.yade.gz):
reload('firstCalculation.yade.gz')
call y function
else:
createpackings
(some runs and plots)
O.Save('StableState.yade.gz')
call x function
def x function:
(some runs and plots)
O.save('firstcalculation.yadegz.py')
call y function
def y function:
(some runs and plots)
O.save('finalsatate.yadegz.py')
###########################
--
You received this question notification because your team yade-users is
an answer contact for Yade.