tl.eval() # Put the whole stuff into the simulation-framework to map the # individual pieces of definition into the user interface. # sim = IS(tloop=tl) sim.configure_traits() else: # Tseval for a discretized line domain # tseval = DOTSEval(fets_eval=fets_eval) # Discretization # line_domain = MGridDomain(lengths=(3., 1., 0.), shape=(8, 8, 0), n_nodal_dofs=2) # Put the tseval (time-stepper) into the spatial context of the # discretization and specify the response tracers to evaluate there. # right_dof = 2 ts = TS( tse=tseval, sdomain=line_domain, bcond_list=[ BCDof(var='u', dof=i, value=0.) for i in line_domain.get_left_dofs()[:, 0] ] + [ BCDof(var='u', dof=i, value=0.) for i in line_domain.get_left_dofs()[:, 1]