@@ -82,9 +82,9 @@ begin_initialization {
8282 double ny = 1 ;
8383 double nz = 1 ;
8484
85- double nppc = 150000 ; // Average number of macro particle per cell per species
85+ double nppc = 150000 ; // Average number of macro particle per cell per species
8686
87- double topology_x = 8 ; // Number of domains in x, y, and z
87+ double topology_x = 4 ; // Number of domains in x, y, and z
8888 double topology_y = 1 ;
8989 double topology_z = 1 ;
9090
@@ -159,15 +159,17 @@ begin_initialization {
159159 nx, ny, nz, // Resolution
160160 topology_x, topology_y, topology_z); // Topology
161161
162- grid->te = Te;
163- grid->den = 1.0 ;
162+ // grid->te = Te;
163+ grid->eos_den = 1.0 ;
164164 grid->eta = eta;
165165 grid->hypereta = hypereta;
166- grid->gamma = gamma;
166+ grid->eos_gamma = gamma;
167167
168168 grid->nsub = 1 ; // Number of substeps for field solve.
169169 grid->nsm = 0 ; // Number of binomial smoothing passes (to fields & moments).
170170 grid->nsmb = 0 ; // Timesteps between additional smooths of magnetic field (0 is off).
171+ grid->den_floor_ohm = 0.05 ;
172+ grid->den_floor_pe = 0.05 ;
171173
172174 // ***** Set Field Boundary Conditions *****
173175 sim_log (" Periodic boundaries" );
@@ -263,7 +265,7 @@ sim_log( "Loading fields" );
263265// Note: everywhere is a region that encompasses the entire simulation
264266// In general, regions are specied as logical equations (i.e. x>0 && x+y<2)
265267 set_region_field ( everywhere, 0 , 0 , 0 , 0.0 , 0 , 0 );
266-
268+ set_region_te (everywhere, Te);
267269
268270 // LOAD PARTICLES
269271 sim_log ( " Loading particles" );
@@ -440,15 +442,17 @@ sim_log( "Loading fields" );
440442 emat | nmat | fmat | cmat );
441443
442444 output_variables( current_density | charge_density |
443- momentum_density | ke_density | stress_tensor );
445+ momentum_density | mass_density | stress_tensor );
444446 */
445447
446448 // global->fdParams.output_variables( electric | magnetic );
447449 global->hedParams .output_variables ( current_density | charge_density | stress_tensor );
448450 global->hHdParams .output_variables ( current_density | charge_density | stress_tensor );
449451
450452
451- global->fdParams .output_variables ( all );
453+ const uint32_t allfields (0xffffffff );
454+
455+ global->fdParams .output_variables ( allfields );
452456// global->hedParams.output_variables( all );
453457// global->hHdParams.output_variables( all );
454458
0 commit comments