Module Expr Str Import alias ImportFrom alias alias alias alias alias FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad Num body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Return Call NameLoad NameLoad BinOpAdd NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num NameLoad Dict Str Str Str Str Str Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore BinOpDiv NameLoad Call NameLoad NameLoad Assign NameStore BinOpDiv NameLoad Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad NameLoad Assign NameStore Call NameLoad BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index NameLoad Assign NameStore SubscriptLoad NameLoad ExtSlice Index NameLoad Slice If CompareLtE NameLoad Num body Assign NameStore BinOpMult BinOpDiv Num Call NameLoad NameLoad BinOpDiv Num Call NameLoad BinOpAdd BinOpDiv Num BinOpPow NameLoad Num BinOpDiv Num BinOpPow NameLoad Num Assign NameStore BinOpPow BinOpDiv BinOpMult NameLoad NameLoad NameLoad Num Assign NameStore BinOpPow BinOpDiv BinOpMult NameLoad NameLoad NameLoad Num Assign NameStore BinOpPow NameLoad Num Assign NameStore Call NameLoad TupleLoad BinOpAdd NameLoad Num BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Str If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Str If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Num If CompareEq SubscriptLoad NameLoad Index Str Str body For NameStore Call NameLoad Num BinOpAdd NameLoad Num body For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad For NameStore Call NameLoad Num NameLoad body For NameStore Call NameLoad Num NameLoad body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad BinOpAdd BinOpAdd BinOpAdd SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad BinOpMult BinOpMult Num NameLoad BinOpAdd BinOpSub SubscriptLoad NameLoad Index TupleLoad BinOpSub NameLoad Num NameLoad BinOpMult Num SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad BinOpAdd NameLoad Num NameLoad BinOpMult BinOpMult Num NameLoad BinOpAdd BinOpSub SubscriptLoad NameLoad Index TupleLoad NameLoad BinOpSub NameLoad Num BinOpMult Num SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad BinOpAdd NameLoad Num BinOpMult NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Num Assign NameStore Num For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Num For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad BinOpAdd NameLoad NameLoad Assign NameStore NameLoad For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad BinOpAdd NameLoad NameLoad Assign NameStore NameLoad For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad BinOpAdd NameLoad NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad ExtSlice Slice Num NameLoad Slice Num NameLoad BinOpAdd BinOpAdd BinOpAdd SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num NameLoad BinOpMult BinOpMult Num NameLoad BinOpAdd BinOpSub SubscriptLoad NameLoad ExtSlice Slice Num BinOpSub NameLoad Num Slice Num NameLoad BinOpMult Num SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num NameLoad SubscriptLoad NameLoad ExtSlice Slice Num BinOpAdd NameLoad Num Slice Num NameLoad BinOpMult BinOpMult Num NameLoad BinOpAdd BinOpSub SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num BinOpSub NameLoad Num BinOpMult Num SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num NameLoad SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num BinOpAdd NameLoad Num BinOpMult NameLoad Call NameLoad SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num NameLoad SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num NameLoad Num Assign NameStore Num Assign SubscriptStore NameLoad ExtSlice Index NameLoad Slice Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Num Assign SubscriptStore NameLoad ExtSlice Slice Index NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad BinOpAdd NameLoad NameLoad Assign NameStore NameLoad Assign SubscriptStore NameLoad ExtSlice Index NameLoad Slice Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad BinOpAdd NameLoad NameLoad Assign NameStore NameLoad Assign SubscriptStore NameLoad ExtSlice Slice Index NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad BinOpAdd NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore BinOpDiv AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore BinOpDiv AttributeLoad NameLoad attr Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index NameLoad Assign NameStore SubscriptLoad NameLoad ExtSlice Index NameLoad Slice If CompareLtE NameLoad Num body Assign NameStore BinOpMult BinOpDiv Num Call NameLoad NameLoad BinOpDiv Num Call NameLoad BinOpAdd BinOpDiv Num BinOpPow NameLoad Num BinOpDiv Num BinOpPow NameLoad Num Assign NameStore BinOpPow BinOpDiv BinOpMult NameLoad NameLoad NameLoad Num Assign NameStore BinOpPow BinOpDiv BinOpMult NameLoad NameLoad NameLoad Num Assign NameStore BinOpPow NameLoad Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Num While CompareLtE NameLoad NameLoad body Assign NameStore NameLoad AugAssignAdd NameStore NameLoad If NameLoad body Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str NameLoad If CompareEq SubscriptLoad NameLoad Index Str Str body For NameStore Call NameLoad Num NameLoad body For NameStore Call NameLoad Num NameLoad body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd UnaryOpUSub SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad BinOpMult Num SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad BinOpMult NameLoad BinOpAdd BinOpSub SubscriptLoad NameLoad Index TupleLoad BinOpSub NameLoad Num NameLoad BinOpMult Num SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad BinOpAdd NameLoad Num NameLoad BinOpMult NameLoad BinOpAdd BinOpSub SubscriptLoad NameLoad Index TupleLoad NameLoad BinOpSub NameLoad Num BinOpMult Num SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad BinOpAdd NameLoad Num BinOpMult NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad ExtSlice Slice Num NameLoad Slice Num NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd UnaryOpUSub SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num NameLoad BinOpMult Num SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num NameLoad BinOpMult NameLoad BinOpAdd BinOpSub SubscriptLoad NameLoad ExtSlice Slice Num BinOpSub NameLoad Num Slice Num NameLoad BinOpMult Num SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num NameLoad SubscriptLoad NameLoad ExtSlice Slice Num BinOpAdd NameLoad Num Slice Num NameLoad BinOpMult NameLoad BinOpAdd BinOpSub SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num BinOpSub NameLoad Num BinOpMult Num SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num NameLoad SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num BinOpAdd NameLoad Num BinOpMult NameLoad Call NameLoad SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num NameLoad SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Num NameLoad NameLoad If CompareLt NameLoad Num body If CompareEq SubscriptLoad NameLoad Index Str Str body Assign NameStore Num For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad ExtSlice Index Num Slice Call NameLoad SubscriptLoad NameLoad Index Num NameLoad NameLoad If CompareLt NameLoad Num body If CompareEq SubscriptLoad NameLoad Index Str Str body Assign NameStore NameLoad For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad ExtSlice Index NameLoad Slice Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad If CompareLt NameLoad Num body If CompareEq SubscriptLoad NameLoad Index Str Str body Assign NameStore Num For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad ExtSlice Slice Index Num Call NameLoad NameLoad SubscriptLoad NameLoad Index Num NameLoad If CompareLt NameLoad Num body If CompareEq SubscriptLoad NameLoad Index Str Str body Assign NameStore NameLoad For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad ExtSlice Slice Index NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Num For NameStore Call NameLoad keyword Num keyword BinOpSub NameLoad Num body For NameStore Call NameLoad keyword Num keyword BinOpSub NameLoad Num body AugAssignAdd NameStore BinOpPow SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Num Return NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
A simple WaveSolver class for evolving the wave equation in 2D.
This works in parallel by using a RectPartitioner object.

Authors
-------

 * Xing Cai
 * Min Ragan-Kelley

 N/A time numpy exp zeros newaxis sqrt arange iseq N/A N/A start stop inc N/A 0 None 1 N/A N/A 
    Generate integers from start to (and including!) stop,
    with increment of inc. Alternative to range/xrange.
     N/A N/A stop None N/A N/A stop start N/A start 0 N/A inc 1 N/A N/A arange start N/A stop inc inc N/A WaveSolver N/A object N/A N/A 
    Solve the 2D wave equation u_tt = u_xx + u_yy + f(x,y,t) with
    u = bc(x,y,t) on the boundary and initial condition du/dt = 0.

    Parallelization by using a RectPartitioner object 'partitioner'

    nx and ny are the total number of global grid cells in the x and y
    directions. The global grid points are numbered as (0,0), (1,0), (2,0),
    ..., (nx,0), (0,1), (1,1), ..., (nx, ny).

    dt is the time step. If dt<=0, an optimal time step is used.

    tstop is the stop time for the simulation.

    I, f are functions: I(x,y), f(x,y,t)

    user_action: function of (u, x, y, t) called at each time
    level (x and y are one-dimensional coordinate vectors).
    This function allows the calling code to plot the solution,
    compute errors, etc.

    implementation: a dictionary specifying how the initial
    condition ('ic'), the scheme over inner points ('inner'),
    and the boundary conditions ('bc') are to be implemented.
    Normally, values are legal: 'scalar' or 'vectorized'.
    'scalar' means straight loops over grid points, while
    'vectorized' means special NumPy vectorized operations.

    If a key in the implementation dictionary is missing, it
    defaults in this function to 'scalar' (the safest strategy).
    Note that if 'vectorized' is specified, the functions I, f,
    and bc must work in vectorized mode. It is always recommended
    to first run the 'scalar' mode and then compare 'vectorized'
    results with the 'scalar' results to check that I, f, and bc
    work.

    verbose: true if a message at each time step is written,
    false implies no output during the simulation.

    final_test: true means the discrete L2-norm of the final solution is
    to be computed.
     __init__ N/A N/A self I f c bc Lx Ly partitioner dt user_action implementation N/A None -1 None N/A ic inner bc vectorized vectorized vectorized N/A N/A nx N/A N/A partitioner global_num_cells N/A 0 N/A ny N/A N/A partitioner global_num_cells N/A 1 N/A dx N/A Lx N/A float nx N/A dy N/A Ly N/A float ny N/A N/A loc_nx loc_ny N/A N/A partitioner get_num_loc_cells N/A nx loc_nx N/A ny loc_ny N/A lo_ix0 N/A N/A partitioner subd_lo_ix N/A 0 N/A lo_ix1 N/A N/A partitioner subd_lo_ix N/A 1 N/A hi_ix0 N/A N/A partitioner subd_hi_ix N/A 0 N/A hi_ix1 N/A N/A partitioner subd_hi_ix N/A 1 N/A x N/A iseq N/A dx lo_ix0 N/A dx hi_ix0 dx N/A y N/A iseq N/A dy lo_ix1 N/A dy hi_ix1 dy N/A N/A self x x N/A N/A self y y N/A xv N/A x N/A N/A N/A newaxis N/A yv N/A y N/A N/A newaxis N/A N/A N/A dt 0 N/A N/A dt N/A N/A 1 N/A float c N/A 1 N/A sqrt N/A N/A 1 N/A dx 2 N/A 1 N/A dy 2 N/A Cx2 N/A N/A N/A c dt dx 2 N/A Cy2 N/A N/A N/A c dt dy 2 N/A dt2 N/A dt 2 N/A u N/A zeros N/A N/A nx 1 N/A ny 1 N/A u_1 N/A N/A u copy N/A u_2 N/A N/A u copy N/A implementation N/A dict implementation N/A N/A ic implementation N/A N/A N/A implementation N/A ic scalar N/A N/A bc implementation N/A N/A N/A implementation N/A bc scalar N/A N/A inner implementation N/A N/A N/A implementation N/A inner scalar N/A N/A self implementation implementation N/A N/A self Lx Lx N/A N/A self Ly Ly N/A N/A self I I N/A N/A self f f N/A N/A self c c N/A N/A self bc bc N/A N/A self user_action user_action N/A N/A self partitioner partitioner N/A t 0.0 N/A N/A N/A implementation N/A ic scalar N/A N/A i N/A xrange 0 N/A nx 1 N/A N/A j N/A xrange 0 N/A ny 1 N/A N/A N/A u_1 N/A N/A i j N/A I N/A x N/A i N/A y N/A j N/A i N/A xrange 1 nx N/A N/A j N/A xrange 1 ny N/A N/A N/A u_2 N/A N/A i j N/A N/A N/A N/A u_1 N/A N/A i j N/A N/A 0.5 Cx2 N/A N/A N/A u_1 N/A N/A N/A i 1 j N/A 2 N/A u_1 N/A N/A i j N/A u_1 N/A N/A N/A i 1 j N/A N/A 0.5 Cy2 N/A N/A N/A u_1 N/A N/A i N/A j 1 N/A 2 N/A u_1 N/A N/A i j N/A u_1 N/A N/A i N/A j 1 N/A dt2 N/A f N/A x N/A i N/A y N/A j 0.0 N/A i 0 N/A j N/A xrange 0 N/A ny 1 N/A N/A N/A u_2 N/A N/A i j N/A bc N/A x N/A i N/A y N/A j N/A t dt N/A j 0 N/A i N/A xrange 0 N/A nx 1 N/A N/A N/A u_2 N/A N/A i j N/A bc N/A x N/A i N/A y N/A j N/A t dt N/A i nx N/A j N/A xrange 0 N/A ny 1 N/A N/A N/A u_2 N/A N/A i j N/A bc N/A x N/A i N/A y N/A j N/A t dt N/A j ny N/A i N/A xrange 0 N/A nx 1 N/A N/A N/A u_2 N/A N/A i j N/A bc N/A x N/A i N/A y N/A j N/A t dt N/A N/A N/A N/A implementation N/A ic vectorized N/A N/A u_1 N/A I xv yv N/A N/A u_2 N/A N/A 1 nx N/A 1 ny N/A N/A N/A N/A u_1 N/A N/A 1 nx N/A 1 ny N/A N/A 0.5 Cx2 N/A N/A N/A u_1 N/A N/A 0 N/A nx 1 N/A 1 ny N/A 2 N/A u_1 N/A N/A 1 nx N/A 1 ny N/A u_1 N/A N/A 2 N/A nx 1 N/A 1 ny N/A N/A 0.5 Cy2 N/A N/A N/A u_1 N/A N/A 1 nx N/A 0 N/A ny 1 N/A 2 N/A u_1 N/A N/A 1 nx N/A 1 ny N/A u_1 N/A N/A 1 nx N/A 2 N/A ny 1 N/A dt2 N/A f N/A xv N/A N/A 1 nx N/A 1 ny N/A yv N/A N/A 1 nx N/A 1 ny 0.0 N/A i 0 N/A N/A u_2 N/A N/A i N/A N/A bc N/A x N/A i y N/A t dt N/A j 0 N/A N/A u_2 N/A N/A N/A j N/A bc x N/A y N/A j N/A t dt N/A i nx N/A N/A u_2 N/A N/A i N/A N/A bc N/A x N/A i y N/A t dt N/A j ny N/A N/A u_2 N/A N/A N/A j N/A bc x N/A y N/A j N/A t dt N/A N/A user_action None N/A N/A N/A user_action u_1 x y t N/A N/A self us N/A u u_1 u_2 N/A solve N/A N/A self tstop dt user_action verbose final_test N/A -1 None False False N/A N/A t0 N/A N/A time time N/A f N/A self f N/A c N/A self c N/A bc N/A self bc N/A partitioner N/A self partitioner N/A implementation N/A self implementation N/A nx N/A N/A partitioner global_num_cells N/A 0 N/A ny N/A N/A partitioner global_num_cells N/A 1 N/A dx N/A N/A self Lx N/A float nx N/A dy N/A N/A self Ly N/A float ny N/A N/A loc_nx loc_ny N/A N/A partitioner get_num_loc_cells N/A nx loc_nx N/A ny loc_ny N/A x N/A self x N/A y N/A self y N/A xv N/A x N/A N/A N/A newaxis N/A yv N/A y N/A N/A newaxis N/A N/A N/A dt 0 N/A N/A dt N/A N/A 1 N/A float c N/A 1 N/A sqrt N/A N/A 1 N/A dx 2 N/A 1 N/A dy 2 N/A Cx2 N/A N/A N/A c dt dx 2 N/A Cy2 N/A N/A N/A c dt dy 2 N/A dt2 N/A dt 2 N/A lower_x_neigh N/A N/A partitioner lower_neighbors N/A 0 N/A upper_x_neigh N/A N/A partitioner upper_neighbors N/A 0 N/A lower_y_neigh N/A N/A partitioner lower_neighbors N/A 1 N/A upper_y_neigh N/A N/A partitioner upper_neighbors N/A 1 N/A N/A u u_1 u_2 N/A self us N/A t 0.0 N/A N/A t tstop N/A N/A t_old t N/A t dt N/A verbose N/A N/A N/A solving (%s version) at t=%g N/A N/A implementation N/A inner t N/A N/A N/A implementation N/A inner scalar N/A N/A i N/A xrange 1 nx N/A N/A j N/A xrange 1 ny N/A N/A N/A u N/A N/A i j N/A N/A N/A N/A N/A N/A u_2 N/A N/A i j N/A 2 N/A u_1 N/A N/A i j N/A Cx2 N/A N/A N/A u_1 N/A N/A N/A i 1 j N/A 2 N/A u_1 N/A N/A i j N/A u_1 N/A N/A N/A i 1 j N/A Cy2 N/A N/A N/A u_1 N/A N/A i N/A j 1 N/A 2 N/A u_1 N/A N/A i j N/A u_1 N/A N/A i N/A j 1 N/A dt2 N/A f N/A x N/A i N/A y N/A j t_old N/A N/A N/A N/A implementation N/A inner vectorized N/A N/A N/A u N/A N/A 1 nx N/A 1 ny N/A N/A N/A N/A N/A N/A u_2 N/A N/A 1 nx N/A 1 ny N/A 2 N/A u_1 N/A N/A 1 nx N/A 1 ny N/A Cx2 N/A N/A N/A u_1 N/A N/A 0 N/A nx 1 N/A 1 ny N/A 2 N/A u_1 N/A N/A 1 nx N/A 1 ny N/A u_1 N/A N/A 2 N/A nx 1 N/A 1 ny N/A Cy2 N/A N/A N/A u_1 N/A N/A 1 nx N/A 0 N/A ny 1 N/A 2 N/A u_1 N/A N/A 1 nx N/A 1 ny N/A u_1 N/A N/A 1 nx N/A 2 N/A ny 1 N/A dt2 N/A f N/A xv N/A N/A 1 nx N/A 1 ny N/A yv N/A N/A 1 nx N/A 1 ny t_old N/A N/A lower_x_neigh 0 N/A N/A N/A N/A implementation N/A bc scalar N/A N/A i 0 N/A j N/A xrange 0 N/A ny 1 N/A N/A N/A u N/A N/A i j N/A bc N/A x N/A i N/A y N/A j t N/A N/A N/A N/A implementation N/A bc vectorized N/A N/A N/A u N/A N/A 0 N/A N/A bc N/A x N/A 0 y t N/A N/A upper_x_neigh 0 N/A N/A N/A N/A implementation N/A bc scalar N/A N/A i nx N/A j N/A xrange 0 N/A ny 1 N/A N/A N/A u N/A N/A i j N/A bc N/A x N/A i N/A y N/A j t N/A N/A N/A N/A implementation N/A bc vectorized N/A N/A N/A u N/A N/A nx N/A N/A bc N/A x N/A nx y t N/A N/A lower_y_neigh 0 N/A N/A N/A N/A implementation N/A bc scalar N/A N/A j 0 N/A i N/A xrange 0 N/A nx 1 N/A N/A N/A u N/A N/A i j N/A bc N/A x N/A i N/A y N/A j t N/A N/A N/A N/A implementation N/A bc vectorized N/A N/A N/A u N/A N/A N/A 0 N/A bc x N/A y N/A 0 t N/A N/A upper_y_neigh 0 N/A N/A N/A N/A implementation N/A bc scalar N/A N/A j ny N/A i N/A xrange 0 N/A nx 1 N/A N/A N/A u N/A N/A i j N/A bc N/A x N/A i N/A y N/A j t N/A N/A N/A N/A implementation N/A bc vectorized N/A N/A N/A u N/A N/A N/A ny N/A bc x N/A y N/A ny t N/A N/A N/A partitioner update_internal_boundary u N/A N/A user_action None N/A N/A N/A user_action u x y t N/A N/A u_2 u_1 u N/A u_1 u u_2 N/A t1 N/A N/A time time N/A N/A my_id=%2d, dt=%g, %s version, slice_copy=%s, net Wtime=%g N/A N/A partitioner my_id dt N/A implementation N/A inner N/A partitioner slice_copy N/A t1 t0 N/A N/A self us N/A u u_1 u_2 N/A final_test N/A N/A loc_res 0.0 N/A i N/A iseq start 1 stop N/A nx 1 N/A N/A j N/A iseq start 1 stop N/A ny 1 N/A N/A loc_res N/A N/A u_1 N/A N/A i j 2 N/A loc_res N/A dt N/A N/A