python syntax
This commit is contained in:
parent
ddb68eee7c
commit
ae73172ba7
|
@ -13,14 +13,14 @@ class MATERIAL_CONFIG():
|
|||
import os,sys
|
||||
|
||||
def __init__(self):
|
||||
homogenization=[]
|
||||
homogenization=[]
|
||||
|
||||
def add_homogenization(self, name=None, type=None):
|
||||
|
||||
if type is 'isostrain':
|
||||
h={'type':type}
|
||||
h['ngrains']=ngrains
|
||||
return h
|
||||
h={'type':type}
|
||||
h['ngrains']=ngrains
|
||||
return h
|
||||
|
||||
def add_crystallite(self, name=None):
|
||||
pass
|
||||
|
@ -43,3 +43,4 @@ class MATERIAL_CONFIG():
|
|||
|
||||
class HOMOGENIZATION():
|
||||
type=None
|
||||
|
Loading…
Reference in New Issue