return not needed

This commit is contained in:
Martin Diehl 2020-08-08 18:22:34 +02:00
parent 0bfe5903ad
commit ba4625c2a4
1 changed files with 2 additions and 10 deletions

View File

@ -20,7 +20,6 @@ def outMentat(cmd,locals):
py_mentat.py_send(cmd) py_mentat.py_send(cmd)
else: else:
py_mentat.py_send(cmd) py_mentat.py_send(cmd)
return
#------------------------------------------------------------------------------------------------- #-------------------------------------------------------------------------------------------------
def outFile(cmd,locals,dest): def outFile(cmd,locals,dest):
@ -31,7 +30,6 @@ def outFile(cmd,locals,dest):
dest.write(cmd+'\n') dest.write(cmd+'\n')
else: else:
dest.write(cmd+'\n') dest.write(cmd+'\n')
return
#------------------------------------------------------------------------------------------------- #-------------------------------------------------------------------------------------------------
def output(cmds,locals,dest): def output(cmds,locals,dest):
@ -43,8 +41,6 @@ def output(cmds,locals,dest):
outMentat(str(cmd),locals) outMentat(str(cmd),locals)
else: else:
outFile(str(cmd),locals,dest) outFile(str(cmd),locals,dest)
return
#------------------------------------------------------------------------------------------------- #-------------------------------------------------------------------------------------------------
@ -105,7 +101,7 @@ def mesh(r,d):
#------------------------------------------------------------------------------------------------- #-------------------------------------------------------------------------------------------------
def material(): def material():
cmds = [\ return [\
"*new_mater standard", "*new_mater standard",
"*mater_option general:state:solid", "*mater_option general:state:solid",
"*mater_option structural:type:hypo_elast", "*mater_option structural:type:hypo_elast",
@ -119,12 +115,10 @@ def material():
"all_existing", "all_existing",
] ]
return cmds
#------------------------------------------------------------------------------------------------- #-------------------------------------------------------------------------------------------------
def geometry(): def geometry():
cmds = [\ return [\
"*geometry_type mech_three_solid", "*geometry_type mech_three_solid",
# "*geometry_option red_integ_capacity:on", # "*geometry_option red_integ_capacity:on",
"*add_geometry_elements", "*add_geometry_elements",
@ -134,8 +128,6 @@ def geometry():
"all_existing", "all_existing",
] ]
return cmds
#------------------------------------------------------------------------------------------------- #-------------------------------------------------------------------------------------------------
def initial_conditions(homogenization,microstructures): def initial_conditions(homogenization,microstructures):