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
|
||||
|
@ -42,4 +42,5 @@ class MATERIAL_CONFIG():
|
|||
|
||||
|
||||
class HOMOGENIZATION():
|
||||
type=None
|
||||
type=None
|
||||
|
Loading…
Reference in New Issue