Exemplo n.º 1
0
def AnalyticDispFunc(queue, int_file, spin_file):
    pid = os.getpid()
    int_file = createFileCopy(int_file, pid, 0)
    spin_file = createFileCopy(spin_file, pid, 1)
    #Since calculating Hsave is most of what the numeric process does, it might be better not to do this twice.
    Hsave = spinwave_calc_file.driver1(spin_file, int_file)
    myeigs=printing.eig_process(deepcopy(Hsave))
    queue.put((pid, printing.create_latex(myeigs, "eigs")))         
Exemplo n.º 2
0
def AnalyticDispFunc(queue, Hsave):
    pid = os.getpid()
    myeigs=printing.eig_process(deepcopy(Hsave))
    queue.put((pid, printing.create_latex(myeigs, "eigs")))