WarpX
Namespaces | Functions | Variables
compute_domain.py File Reference

Namespaces

 compute_domain
 

Functions

def compute_domain.intceil (num)
 
def compute_domain.adjust_bounds (box_lo0, box_hi0, box_ncell0, mgs)
 
def compute_domain.nb_nodes_mpi (box_ncell, mgs, threadspernode, ompnumthreads, ngridpernode, ndim)
 

Variables

 compute_domain.box_lo0 = np.array([-25.e-6, -25.e-6, -15.e-6])
 
 compute_domain.box_hi0 = np.array([ 25.e-6, 25.e-6, 60.e-6])
 
int compute_domain.dx = 1.e-6
 
int compute_domain.dz = dx
 
 compute_domain.cell_size = np.array([dx, dx, dz])
 
bool compute_domain.compute_dz_boosted_frame = True
 
int compute_domain.gamma_boost = 30.
 
float compute_domain.dx_over_dz_boosted_frame = 1.1
 
 compute_domain.ndim = box_lo0.size
 
tuple compute_domain.box_ncell0 = ( box_hi0 - box_lo0 ) / cell_size
 
int compute_domain.ngridpernode = 16.
 
int compute_domain.ompnumthreads = 8.
 
int compute_domain.mgs = 1024.
 
int compute_domain.threadspernode = 64.
 
 compute_domain.distance_between_threads = int(68*4/threadspernode)
 
 compute_domain.c_option = int( ompnumthreads*distance_between_threads )
 
 compute_domain.box_lo
 
 compute_domain.box_hi
 
 compute_domain.box_ncell
 
 compute_domain.n_node
 
 compute_domain.n_mpi
 
string compute_domain.string_output = ' ### Parameters used ### \n'