Program to get download link from flashgot

Categories: Uncategorized
Source: tombkeeper Original link: http://www.bkjia.com/aqgjrj/499358.html Code #include int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { if(OpenClipboard(NULL)) { HGLOBAL clipbuffer; char * buffer; EmptyClipboard(); clipbuffer = GlobalAlloc(GMEM_DDESHARE, lstrlen(lpCmdLine)+1); buffer = (char*)GlobalLock(clipbuffer); strcpy(buffer, lpCmdLine); GlobalUnlock(clipbuffer); SetClipboardData(CF_TEXT,clipbuffer); CloseClipboard(); return 0; } else { return -1; } }

Calculating degeneracy

Categories: Uncategorized
nuclear degneracy: atom: $2I+1$data for $I$nuclear spin number molecule: totoal degeneracy: $(2I_1+1)(2I_2+1)$ for homonuclear molecule: $I(2I+1)$antisymmetric, $(I+1)(2I+1)$symmetric examples: $N$: $I=1,\, g_N=2I+1=3$ $N_2$: 3 antisymmetric, 6 symmetric $NO$: $I_1=1$, $I_2=0$, $3\times1=3$ electronic degeneracy: atom: $\Sigma_J(2J+1),\, J=|L-S|...L+S$ molecule: $^{2S+1}\Lambda_\Omega$, $\phi=1$ for $\Omega=0=\Sigma$ $\phi= 2$ for $\Omega=1,2,..=\Pi,\Delta,...$. Total degeneracy = $(2S+1)\phi=\Sigma_{\Omega}(2S+1)$ examples: $N: \, ^4S \quad S=3/2,\, L =0,\, J=3/2 \quad g_{elec}=4$

Read More →

Matlab Parallel Computing configuration on cluster

Categories: MPI Software Use
It has been more than a year since I came to the graduate school. It’s hard to say how’s the lift in u.s. but one thing I can confirm is money is everything. Everybody could devote themselves, their dream for funding. It’s really a tragedy. Hope I can get UMICH’s PhD offer even if it seems hopeless now ToT.   This post is mainly about how to configure matlab for pbs or torque configured cluster.

Read More →