self.ssCode=self.config.appli.ssCode
self.INSTALLDIR=self.config.appli.INSTALLDIR
self.ssCodeDir=os.path.join(self.INSTALLDIR,'MAP/Templates',self.ssCode)
- print self.ssCodeDir
+ self.fichierYacs=self.ssCode+"YACS_nodes"
self.texteExecution="import os,sys\n"
self.texteExecution+="sys.path.append('"+self.ssCodeDir+"')\n"
- self.texteExecution+="from s_polymers_st_1_YACS_nodes import *\n"
+ self.texteExecution+="from " + self.fichierYacs +" import *\n"
def gener(self,obj,format='brut',config=None):
self.initialise(config)
return commande
def FDVGRID(self):
- commande="lambda_x=component_fdvgrid("+str(self.lambda_I)+","+str(self.lambda_M)+","+str(self.rve_size)+",'"+str(self.inclusion_name)+"',"+str(self.finesse)+")\n"
+ commande="lambda_x=component_fdvgrid("+str(self.lambda_I)+","+str(self.lambda_M)+","+str(self.rve_size)+",'"+str(self.inclusion_name)+"',"+str(self.finesse)+",'"+str(self.study_path)+"')\n"
return commande
def BENHUR(self):