WarpX
|
Namespaces | |
check_interp_points_and_weights | |
Functions | |
def | check_interp_points_and_weights.fine_grid_limits (sf) |
def | check_interp_points_and_weights.coarse_grid_limits (sc, sf, iimin, iimax) |
def | check_interp_points_and_weights.coarsening_points_and_weights (i, sc, sf, cr) |
def | check_interp_points_and_weights.refinement_points_and_weights (ii, sc, sf, cr) |
Variables | |
check_interp_points_and_weights.cr = int( input( "\n Select coarsening ratio (cr=1,2,4): cr=" ) ) | |
TODO Coarsening for IO: interpolation points and weights def coarsening_points_and_weights_for_IO( i, sf, sc, cr ): if ( cr==1 ): numpts = 1+abs(sf-sc) idxmin = i-sc*(1-sf) elif ( cr>=2 ): numpts = 2-sf idxmin = i*cr+cr//2*(1-sc)-(1-sf) weights = np.zeros( numpts ) for ir in range( numpts ): weights[ir] = (1/numpts)*(1-sf)*(1-sc)+(1/numpts)*sf*sc return [ numpts, idxmin, weights ]. More... | |
check_interp_points_and_weights.end | |
check_interp_points_and_weights.iimin | |
check_interp_points_and_weights.iimax | |
check_interp_points_and_weights.imin | |
check_interp_points_and_weights.imax | |
int | check_interp_points_and_weights.nc = imax-imin+1 |
int | check_interp_points_and_weights.nf = iimax-iimin+1 |
check_interp_points_and_weights.numpts | |
check_interp_points_and_weights.idxmin | |
check_interp_points_and_weights.weights | |
check_interp_points_and_weights.ii = idxmin+ir | |
float | check_interp_points_and_weights.ws = 0.0 |
check_interp_points_and_weights.jj = idxmin+ir | |
check_interp_points_and_weights.i = idxmin+ir | |