from SWIG.engine.property.elasticity.aniso.aniso import HexagonalElasticity from SWIG.engine.property.orientation.orientation import Orientation # from SWIG.engine.eulerangle import EulerAngle from SWIG.engine.masterelement import * from engine.ghostmesh import * # # Start the mesh manager -- ghostmesh needs it. import engine.meshmanager engine.meshmanager.initialize() # Updated profiling code. from engine.AUX import profiler prof = profiler.Profiler('testequil.prof') # Defaults for timer, fudge. trace.trace_disable() # trace.trace_enable() hexmaterial = newMaterial("2d-elastic", HexagonalElasticity("hex", 1.0, 0.5, 0.0, 0.0, 0.0), Orientation("unrotated", EulerAngle(0, 0, 0))) eltypes = getMasterElementList() # # Defaults. meshsize = 1 para = 0 # Parametricity. 1 == super, 0 == iso, -1 == sub quad = 0 # Quadratitude # mat = Material("Null")
from SWIG.engine.masterelement import * from engine.ghostmesh import * # # Start the mesh manager -- ghostmesh needs it. import engine.meshmanager engine.meshmanager.initialize() # Updated profiling code. from engine.AUX import profiler prof = profiler.Profiler('testequil.prof') # Defaults for timer, fudge. trace.trace_disable() # trace.trace_enable() hexmaterial = newMaterial("2d-elastic", HexagonalElasticity("hex", 1.0, 0.5, 0.0, 0.0, 0.0), Orientation("unrotated", EulerAngle(0,0,0))) eltypes = getMasterElementList() # # Defaults. meshsize = 1 para=0 # Parametricity. 1 == super, 0 == iso, -1 == sub quad=0 # Quadratitude # mat = Material("Null")