# PIC2D **Repository Path**: oneph/PIC2D ## Basic Information - **Project Name**: PIC2D - **Description**: This version is obsolete, for newer version please go to hybridMPIC - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: http://git.oschina.net/oneph/hybridMPIC - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2016-05-11 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #hybridMPIC ## This is a project of fully relativisitc Particle-In-Cell(PIC) 2d program, with Monte Carlo simulation of QED processes. ####How to compile: + make a folder like the in_bremau, let's call it test + copy the load.inp into this folder then modify it as you wish + copy the denfunc.h into this folder then modify as you wish + then in the parent foldr, run ./precompile test, you will get the CMakeLists.txt + cmake . && make + then run make it will generate the program you named in the load.inp ####How to combine the mpi output data: + just run the datacombine.sh ####How to plot data: + in the ploter folder, a file named "uplotme.py", you just need change the progname value to your progname + then make a folder called fig_progname + run the uplotme.py ####this time, + i have make the random probability for energy = random not random * maxp + add if ($$\eta$$ <= 0) in bw and syn to avoid the log($$\eta$$) -> $$\inf$$ #### 2016.5.12 + revised the bs_search function, and will return the lower bound of the interval + in sync func, eta > 1e-200 has been implemented + the init_ptcls(parent) ---> reset_rod(parents) + the default constructor __Ptcls() has implemented the DPHOTON to determine whether random the rod or not + the same random for rod in the cellinfo.init and injector