示例#1
0
 def step(sys, debug):
     config.set_tempdir(sys)
     if debug:
         os.environ["DMS_DEBUG"] = "TRUE"
     s = system.System(sys, "a")
     integrator = s.integrator()
     integrator.step()
示例#2
0
 def step(sys,debug) :
     config.set_tempdir(sys)
     if debug:
         os.environ["DMS_DEBUG"] = "TRUE"
     s=system.System(sys, "a")
     integrator = s.integrator()
     integrator.step()
示例#3
0
    def run(sys, debug) :
        config.set_tempdir(sys)
        if debug:
            os.environ["PROTO_DEBUG"] = "TRUE"

        s=system.System(sys, "a")
        integrator = s.integrator()
        integrator.run()
示例#4
0
 def sol(sys, debug) :
     config.set_tempdir(sys)
     if debug:
         os.environ["PROTO_DEBUG"] = "TRUE"
     s=system.System(sys, "a")
     s.begin_timestep()
     s.solvate()
     s.end_timestep()  
示例#5
0
 def atomistic_step(sys, debug):
     config.set_tempdir(sys)
     if debug:
         os.environ["DMS_DEBUG"] = "TRUE"
     s = system.System(sys, "a")
     integrator = s.integrator()
     s.begin_timestep()
     integrator.atomistic_step()
     s.end_timestep()
示例#6
0
 def sol(sys, debug):
     config.set_tempdir(sys)
     if debug:
         os.environ["DMS_DEBUG"] = "TRUE"
     s = system.System(sys, "a")
     s.begin_timestep()
     s.solvate()
     s.end_timestep()
     print(sys)
示例#7
0
 def atomistic_step(sys,debug) :
     config.set_tempdir(sys)
     if debug:
         os.environ["DMS_DEBUG"] = "TRUE"
     s=system.System(sys, "a")
     integrator = s.integrator()
     s.begin_timestep()
     integrator.atomistic_step()
     s.end_timestep()
示例#8
0
 def cg_step(sys,debug) :
     config.set_tempdir(sys)
     if debug:
         os.environ["DMS_DEBUG"] = "TRUE"
     s=system.System(sys, "a")
     s._load_ts(s.current_timestep)
     integrator = s.integrator()
     s.begin_timestep()
     integrator.cg_step()
     s.end_timestep()
示例#9
0
 def cg_step(sys, debug):
     config.set_tempdir(sys)
     if debug:
         os.environ["DMS_DEBUG"] = "TRUE"
     s = system.System(sys, "a")
     s._load_ts(s.current_timestep)
     integrator = s.integrator()
     s.begin_timestep()
     integrator.cg_step()
     s.end_timestep()
示例#10
0
 def md(sys,sol,debug) :
     config.set_tempdir(sys)
     if debug:
         os.environ["PROTO_DEBUG"] = "TRUE"
     s=system.System(sys, "a")
     s.begin_timestep()
     if sol:
         sol = s.solvate()
         s.md(**sol)
     else:
         s.md()
     s.end_timestep()
示例#11
0
 def md(sys,sol,debug) :
     config.set_tempdir(sys)
     if debug:
         os.environ["DMS_DEBUG"] = "TRUE"
     s=system.System(sys, "a")
     s.begin_timestep()
     if sol:
         sol = s.solvate()
         print("sol: {}".format(sol))
         s.md(**sol)
     else:
         s.md()
     s.end_timestep()
示例#12
0
 def md(sys, sol, debug):
     config.set_tempdir(sys)
     if debug:
         os.environ["DMS_DEBUG"] = "TRUE"
     s = system.System(sys, "a")
     s.begin_timestep()
     if sol:
         sol = s.solvate()
         print("sol: {}".format(sol))
         s.md(**sol)
     else:
         s.md()
     s.end_timestep()
示例#13
0
 def eq(sys, debug):
     config.set_tempdir(sys)
     if debug:
         os.environ["DMS_DEBUG"] = "TRUE"
     s = system.System(sys, "a")
     s.begin_timestep()
     if sol:
         sol = s.solvate()
         print("sol: {}".format(sol))
         eq = s.equilibriate(**sol)
         print("eq: {}".format(eq))
     else:
         s.equilibriate()
     s.end_timestep()
示例#14
0
 def eq(sys,debug) :
     config.set_tempdir(sys)
     if debug:
         os.environ["DMS_DEBUG"] = "TRUE"
     s=system.System(sys, "a")
     s.begin_timestep()
     if sol:
         sol = s.solvate()
         print("sol: {}".format(sol))
         eq = s.equilibriate(**sol)
         print("eq: {}".format(eq))
     else:
         s.equilibriate()
     s.end_timestep()
示例#15
0
 def mneq(sys,sol,debug) :
     config.set_tempdir(sys)
     if debug:
         os.environ["PROTO_DEBUG"] = "TRUE"
     s=system.System(sys, "a")
     s.begin_timestep()
     if sol:
         sol = s.solvate()
         mn = s.minimize(**sol)
         eq = s.equilibriate(**mn)
     else:
         s.minimize()
         s.equilibriate()
     s.end_timestep()    
示例#16
0
 def mneqmd(sys,sol,debug) :
     config.set_tempdir(sys)
     if debug:
         os.environ["DMS_DEBUG"] = "TRUE"
     s=system.System(sys, "a")
     s.begin_timestep()
     if sol:
         sol = s.solvate()
         print("sol: {}".format(sol))
         mn = s.minimize(**sol)
         print("mn: {}".format(mn))
         eq = s.equilibriate(**mn)
         print("eq: {}".format(eq))
         s.md(**eq)
     else:
         s.minimize()
         s.equilibriate()
         s.md()
     s.en
     s.end_timestep()
示例#17
0
 def mneqmd(sys, sol, debug):
     config.set_tempdir(sys)
     if debug:
         os.environ["DMS_DEBUG"] = "TRUE"
     s = system.System(sys, "a")
     s.begin_timestep()
     if sol:
         sol = s.solvate()
         print("sol: {}".format(sol))
         mn = s.minimize(**sol)
         print("mn: {}".format(mn))
         eq = s.equilibriate(**mn)
         print("eq: {}".format(eq))
         s.md(**eq)
     else:
         s.minimize()
         s.equilibriate()
         s.md()
     s.en
     s.end_timestep()