예제 #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
파일: __main__.py 프로젝트: AndySomogyi/dms
 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
파일: __main__.py 프로젝트: AndySomogyi/dms
 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
파일: __main__.py 프로젝트: AndySomogyi/dms
 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
파일: __main__.py 프로젝트: AndySomogyi/dms
 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
파일: __main__.py 프로젝트: AndySomogyi/dms
 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
파일: __main__.py 프로젝트: AndySomogyi/dms
 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()