#axnorm = [-8.0e9 , 8.0e9 , -4.5e9 , 4.5e9 ] axwide = [-3.2e10, 1.6e10, -1.8e10, 0.9e10] axmedi = [-1.6e10, 8.0e9, -9.0e9, 4.5e9] cfg_orb_XY_m.imgdir = sscfg.dir + "/viz_orb_XY_m" cfg_orb_XY_m.ax = [-3.2e10, 1.6e10, -1.8e10, 0.9e10] cfg_ecc_m.imgdir = sscfg.dir + "/viz_ecc____m" cfg_eng_m.imgdir = sscfg.dir + "/viz_eng____m" vizcfg = GIvizConfig() vizcfg.subcmd = "qsubSALL $JOBNAME $JOBCMD" vizcfg.scdir = sscfg.dir + "/vizscratch" vizcfg.tasksperjob = 10 simadm = SimAdmin(sscfg) sims = simadm._sims vizsim = GIviz(vizcfg) def fillViz(cfgs): for sim in sims.values(): if sim.nodumps > 0: vizsim.gatherVizTasks(sim, cfgs) vizsim.runTasksSGE() def animViz(cfgs): for sim in sims.values(): if sim.nodumps > 0:
#rcParams['text.usetex']=True mp.rc('text', usetex=True) mp.rc('text.latex', preamble = '\usepackage{amssymb}, \usepackage{wasysym}') nan = float('nan') ssname = "c1" if len(sys.argv) > 1: ssname = sys.argv[1] sscfg = SimSetConfig() sscfg.name = ssname sscfg.dir = "/Users/areufer/Documents/UniTAPS/gi_sims" simadm = SimAdmin(sscfg) fig = plt.figure( figsize=(8, 6) ) x0 = 0.12 y0 = 0.10 dx = 0.21 dy = 0.27 params = [] if ssname == "c1": params = [ \ ( SimParam(0.200, 1.000, nan, nan), [2,0] ), ( SimParam(0.700, 1.000, nan, nan), [0,0] ), ( SimParam(0.010, 0.100, nan, nan), [3,1] ),
#!/usr/bin/python from sim_admin import SimAdmin simadm = SimAdmin("t0_config.sh")
cfg_p___XY_z.cbar_plot = True cfg_p___XY_z.cbar_sc = 1.e-10 cfg_p___XY_z.cbar_ut = "GPa" cfg_p___XY_z.cbar_fmt = '%4.1f' cfg_p___XY_z.cbar_noticks = 5 cfg_p___XY_z.colorFunc = colorScalarLog10 cfg_p___XY_z.postPlot = plotSimParams cfg_p___XY_z.imgdir = ssconf.dir + "/viz_P___XY_z" vizcfgs = [ cfg_mat_XY_n, cfg_mat_YZ_n, cfg_cid_XY_n, cfg_cid_YZ_n, cfg_phs_XY_n, cfg_phs_XY_z, cfg_T___XY_n, cfg_T___XY_z, cfg_rho_XY_n, cfg_rho_XY_z, cfg_p___XY_n, cfg_p___XY_z ] simadm = SimAdmin(ssconf) sims = simadm._sims simA = sims["mtar001.000_mimp001.000_impa85.0_vimp1.15"] simB = sims["mtar000.100_mimp000.100_impa00.0_vimp1.25"] simC = sims["mtar001.000_mimp000.100_impa45.0_vimp1.50"] simsA = simadm.getSims(SimParam(1.0, 1.0, nan, 1.15)) vizcfg = GIvizConfig() vizcfg.subcmd = "qsub -M [email protected] -b n -cwd -l h_cpu=96:00:00 -l h_vmem=512M -N $JOBNAME $JOBCMD" vizcfg.scdir = ssconf.dir + "/vizscratch" vizcfg.tasksperjob = 1000 vizsim = GIviz(vizcfg)
#rcParams['text.usetex']=True mp.rc('text', usetex=True) mp.rc('text.latex', preamble='\usepackage{amssymb}, \usepackage{wasysym}') nan = float('nan') ssname = "c1" if len(sys.argv) > 1: ssname = sys.argv[1] sscfg = SimSetConfig() sscfg.name = ssname sscfg.dir = "/Users/areufer/Documents/UniTAPS/gi_sims" simadm = SimAdmin(sscfg) fig = plt.figure(figsize=(8, 6)) x0 = 0.12 y0 = 0.10 dx = 0.21 dy = 0.27 params = [] if ssname == "c1": params = [ \ ( SimParam(0.200, 1.000, nan, nan), [2,0] ), ( SimParam(0.700, 1.000, nan, nan), [0,0] ), ( SimParam(0.010, 0.100, nan, nan), [3,1] ),