Module ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Lambda arguments args NameParam defaults BinOpPow BinOpAdd BinOpPow SubscriptLoad NameLoad ExtSlice Slice Index Num Num BinOpPow SubscriptLoad NameLoad ExtSlice Slice Index Num Num Num Assign NameStore Lambda arguments args NameParam defaults BinOpPow BinOpAdd BinOpAdd BinOpPow SubscriptLoad NameLoad ExtSlice Slice Index Num Num BinOpPow SubscriptLoad NameLoad ExtSlice Slice Index Num Num BinOpPow SubscriptLoad NameLoad ExtSlice Slice Index Num Num Num Assign NameStore Lambda arguments args NameParam defaults BinOpDiv NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Lambda arguments args NameParam defaults BinOpDiv NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num ClassDef bases NameLoad NameLoad NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq Call NameLoad NameLoad NameLoad Str Assert CompareGt Call NameLoad NameLoad Num Str For TupleStore NameStore NameStore Call NameLoad NameLoad body Assert Call NameLoad NameLoad AttributeLoad NameLoad attr BinOpMod Str NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr BinOpMod Str NameLoad Assert CompareEq Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Call NameLoad NameLoad Str Assert CompareGt Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Num Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpSub Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Num NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr ExtSlice Slice Index NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr ListComp BinOpMult AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index NameLoad comprehension NameStore Call NameLoad AttributeLoad NameLoad attr attr TupleLoad Num AttributeLoad NameLoad attr keyword Str Return AttributeLoad NameLoad attr decorator_list Return Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Return AttributeLoad NameLoad attr decorator_list Return Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore ListComp Call AttributeLoad NameLoad attr BinOpMult Num BinOpAdd SubscriptLoad NameLoad ExtSlice Slice Slice Num SubscriptLoad NameLoad ExtSlice Slice Slice Num comprehension NameStore NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore ListComp Call AttributeLoad NameLoad attr BinOpMult Num BinOpAdd BinOpAdd BinOpAdd SubscriptLoad NameLoad ExtSlice Slice Slice Num Slice Num SubscriptLoad NameLoad ExtSlice Slice Slice Num Slice Num SubscriptLoad NameLoad ExtSlice Slice Slice Num Slice Num SubscriptLoad NameLoad ExtSlice Slice Slice Num Slice Num comprehension NameStore NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return AttributeLoad NameLoad attr decorator_list Return Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore ListComp Call AttributeLoad NameLoad attr BinOpMult Num BinOpAdd SubscriptLoad NameLoad ExtSlice Slice Num Slice SubscriptLoad NameLoad ExtSlice Slice Num Slice comprehension NameStore NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore ListComp Call AttributeLoad NameLoad attr BinOpMult Num BinOpAdd BinOpAdd BinOpAdd SubscriptLoad NameLoad ExtSlice Slice Num Slice Slice Num SubscriptLoad NameLoad ExtSlice Slice Num Slice Slice Num SubscriptLoad NameLoad ExtSlice Slice Num Slice Slice Num SubscriptLoad NameLoad ExtSlice Slice Num Slice Slice Num comprehension NameStore NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return AttributeLoad NameLoad attr decorator_list Return Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body If BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str Assign NameStore ListComp Call AttributeLoad NameLoad attr BinOpMult Num BinOpAdd BinOpAdd BinOpAdd SubscriptLoad NameLoad ExtSlice Slice Num Slice Num Slice SubscriptLoad NameLoad ExtSlice Slice Num Slice Num Slice SubscriptLoad NameLoad ExtSlice Slice Num Slice Num Slice SubscriptLoad NameLoad ExtSlice Slice Num Slice Num Slice comprehension NameStore NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return AttributeLoad NameLoad attr decorator_list Return Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore ListComp Call AttributeLoad NameLoad attr BinOpMult Num BinOpAdd SubscriptLoad NameLoad ExtSlice Slice Num Slice SubscriptLoad NameLoad ExtSlice Slice Num Slice comprehension NameStore NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore ListComp Call AttributeLoad NameLoad attr BinOpMult Num BinOpAdd SubscriptLoad NameLoad ExtSlice Slice Num Slice Slice SubscriptLoad NameLoad ExtSlice Slice Num Slice Slice comprehension NameStore NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return AttributeLoad NameLoad attr decorator_list Return Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore ListComp Call AttributeLoad NameLoad attr BinOpMult Num BinOpAdd SubscriptLoad NameLoad ExtSlice Slice Slice Num SubscriptLoad NameLoad ExtSlice Slice Slice Num comprehension NameStore NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore ListComp Call AttributeLoad NameLoad attr BinOpMult Num BinOpAdd SubscriptLoad NameLoad ExtSlice Slice Slice Num Slice SubscriptLoad NameLoad ExtSlice Slice Slice Num Slice comprehension NameStore NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return AttributeLoad NameLoad attr decorator_list Return Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body If BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str Assign NameStore ListComp Call AttributeLoad NameLoad attr BinOpMult Num BinOpAdd SubscriptLoad NameLoad ExtSlice Slice Slice Slice Num SubscriptLoad NameLoad ExtSlice Slice Slice Slice Num comprehension NameStore NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return AttributeLoad NameLoad attr decorator_list Return Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body If CompareEq AttributeLoad NameLoad attr Num body Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Num NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr Num body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Num Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpDiv BinOpAdd NameLoad NameLoad Num Return AttributeLoad NameLoad attr decorator_list Return Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub SubscriptLoad NameLoad ExtSlice Index NameLoad Slice SubscriptLoad NameLoad ExtSlice Index NameLoad Slice Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad ExtSlice Slice Index Num UnaryOpUSub SubscriptLoad NameLoad ExtSlice Slice Index Num Assign NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub SubscriptLoad NameLoad ExtSlice Index NameLoad Slice SubscriptLoad NameLoad ExtSlice Index NameLoad Slice Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad ExtSlice Slice Index Num UnaryOpUSub SubscriptLoad NameLoad ExtSlice Slice Index Num Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad NameLoad Call NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr Num body Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list Return Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Num body Return Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num orelse If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore BinOpDiv BinOpAdd BinOpAdd BinOpAdd SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Num Assign NameStore BinOpDiv BinOpAdd BinOpAdd BinOpAdd SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Num Assign NameStore BinOpDiv BinOpAdd BinOpAdd BinOpAdd SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Num Return Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad NameLoad decorator_list Return Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub SubscriptLoad NameLoad ExtSlice Index NameLoad Slice SubscriptLoad NameLoad ExtSlice Index NameLoad Slice Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub SubscriptLoad NameLoad ExtSlice Index NameLoad Slice SubscriptLoad NameLoad ExtSlice Index NameLoad Slice Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub SubscriptLoad NameLoad ExtSlice Index NameLoad Slice SubscriptLoad NameLoad ExtSlice Index NameLoad Slice Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub SubscriptLoad NameLoad ExtSlice Index NameLoad Slice SubscriptLoad NameLoad ExtSlice Index NameLoad Slice Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub SubscriptLoad NameLoad ExtSlice Index NameLoad Slice SubscriptLoad NameLoad ExtSlice Index NameLoad Slice Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list Return Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list Return Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Import alias identifier Import alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore IfExp CompareEq AttributeLoad NameLoad attr Num Dict Str Str Dict If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str If CompareEq AttributeLoad NameLoad attr Num body If NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num Str orelse If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice Slice Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice Slice BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice Slice AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice Slice Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice Slice BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice Slice AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice Slice Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice Slice BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Num Slice Slice AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num Slice Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num Slice BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num Slice AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num Slice Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num Slice BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num Slice AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num Slice Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num Slice BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Num Slice AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Slice Num Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Slice Num BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Slice Num AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Slice Num Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Slice Num BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Slice Num AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Slice Num Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Slice Num BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num ExtSlice Slice Slice Slice Num AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Num BinOpDiv Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Num BinOpDiv Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Num BinOpDiv Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore NameLoad If NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Print Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str
N/A SimPEG Utils np BaseMesh BaseRectangularMesh DiffOperators DiffOperators InnerProducts InnerProducts N/A length2D N/A N/A N/A x N/A N/A N/A N/A N/A x N/A N/A N/A 0 2 N/A N/A x N/A N/A N/A 1 2 0.5 N/A length3D N/A N/A N/A x N/A N/A N/A N/A N/A N/A x N/A N/A N/A 0 2 N/A N/A x N/A N/A N/A 1 2 N/A N/A x N/A N/A N/A 2 2 0.5 N/A normalize2D N/A N/A N/A x N/A N/A x N/A N/A np kron N/A N/A np ones N/A 1 2 N/A N/A Utils mkvc N/A length2D x 2 N/A normalize3D N/A N/A N/A x N/A N/A x N/A N/A np kron N/A N/A np ones N/A 1 3 N/A N/A Utils mkvc N/A length3D x 2 CurvilinearMesh N/A BaseRectangularMesh DiffOperators InnerProducts N/A N/A 
    CurvilinearMesh is a mesh class that deals with curvilinear meshes.

    Example of a curvilinear mesh:

    .. plot::
            :include-source:

            from SimPEG import Mesh, Utils
            X, Y = Utils.exampleLrmGrid([3,3],'rotate')
            M = Mesh.CurvilinearMesh([X, Y])
            M.plotGrid(showIt=True)
     N/A __metaclass__ N/A Utils SimPEGMetaClass N/A _meshType Curv __init__ N/A N/A self nodes N/A N/A N/A N/A N/A type nodes list 'nodes' variable must be a list of np.ndarray N/A N/A N/A len nodes 1 len(node) must be greater than 1 N/A N/A i nodes_i N/A enumerate nodes N/A N/A N/A isinstance nodes_i N/A np ndarray N/A nodes[%i] is not a numpy array. i N/A N/A N/A nodes_i shape N/A N/A nodes N/A 0 shape N/A nodes[%i] is not the same shape as nodes[0] i N/A N/A N/A len N/A N/A nodes N/A 0 shape N/A len nodes Dimension mismatch N/A N/A N/A len N/A N/A nodes N/A 0 shape 1 Not worth using Curv for a 1D mesh. N/A N/A N/A BaseRectangularMesh __init__ self N/A N/A N/A np array N/A N/A nodes N/A 0 shape 1 None N/A N/A self _gridN N/A N/A np ones N/A N/A N/A nodes N/A 0 size N/A self dim N/A N/A i node_i N/A enumerate nodes N/A N/A N/A N/A self _gridN N/A N/A N/A i N/A N/A Utils mkvc N/A N/A node_i astype float N/A gridCC N/A N/A N/A N/A N/A doc Cell-centered grid. fget N/A N/A self N/A N/A N/A N/A N/A self _gridCC None N/A N/A N/A self _gridCC N/A N/A N/A N/A np concatenate N/A N/A N/A self aveN2CC N/A N/A self gridN N/A N/A N/A i N/A i N/A range N/A self dim reshape N/A -1 N/A self dim order F N/A N/A self _gridCC N/A N/A N/A locals N/A N/A _gridCC None N/A gridCC N/A property N/A gridCC gridN N/A N/A N/A N/A N/A doc Nodal grid. fget N/A N/A self N/A N/A N/A N/A N/A self _gridN None N/A N/A N/A Exception Someone deleted this. I blame you. N/A N/A self _gridN N/A N/A N/A locals N/A N/A _gridN None N/A gridN N/A property N/A gridN gridFx N/A N/A N/A N/A N/A doc Face staggered grid in the x direction. fget N/A N/A self N/A N/A N/A N/A N/A self _gridFx None N/A N/A N N/A N/A self r N/A self gridN N N M N/A N/A N/A self dim 2 N/A N/A XY N/A N/A N/A Utils mkvc N/A 0.5 N/A N/A n N/A N/A N/A -1 N/A n N/A N/A N/A 1 N/A n N N/A N/A self _gridFx N/A N/A np c_ N/A N/A N/A XY N/A 0 N/A XY N/A 1 N/A N/A N/A N/A self dim 3 N/A N/A XYZ N/A N/A N/A Utils mkvc N/A 0.25 N/A N/A N/A N/A n N/A N/A N/A -1 N/A -1 N/A n N/A N/A N/A -1 N/A 1 N/A n N/A N/A N/A 1 N/A -1 N/A n N/A N/A N/A 1 N/A 1 N/A n N N/A N/A self _gridFx N/A N/A np c_ N/A N/A N/A XYZ N/A 0 N/A XYZ N/A 1 N/A XYZ N/A 2 N/A N/A self _gridFx N/A N/A N/A locals N/A N/A _gridFx None N/A gridFx N/A property N/A gridFx gridFy N/A N/A N/A N/A N/A doc Face staggered grid in the y direction. fget N/A N/A self N/A N/A N/A N/A N/A self _gridFy None N/A N/A N N/A N/A self r N/A self gridN N N M N/A N/A N/A self dim 2 N/A N/A XY N/A N/A N/A Utils mkvc N/A 0.5 N/A N/A n N/A N/A -1 N/A N/A n N/A N/A 1 N/A N/A n N N/A N/A self _gridFy N/A N/A np c_ N/A N/A N/A XY N/A 0 N/A XY N/A 1 N/A N/A N/A N/A self dim 3 N/A N/A XYZ N/A N/A N/A Utils mkvc N/A 0.25 N/A N/A N/A N/A n N/A N/A -1 N/A N/A -1 N/A n N/A N/A -1 N/A N/A 1 N/A n N/A N/A 1 N/A N/A -1 N/A n N/A N/A 1 N/A N/A 1 N/A n N N/A N/A self _gridFy N/A N/A np c_ N/A N/A N/A XYZ N/A 0 N/A XYZ N/A 1 N/A XYZ N/A 2 N/A N/A self _gridFy N/A N/A N/A locals N/A N/A _gridFy None N/A gridFy N/A property N/A gridFy gridFz N/A N/A N/A N/A N/A doc Face staggered grid in the z direction. fget N/A N/A self N/A N/A N/A N/A N/A N/A self _gridFz None N/A N/A self dim 3 N/A N/A N N/A N/A self r N/A self gridN N N M N/A XYZ N/A N/A N/A Utils mkvc N/A 0.25 N/A N/A N/A N/A n N/A N/A -1 N/A -1 N/A N/A n N/A N/A -1 N/A 1 N/A N/A n N/A N/A 1 N/A -1 N/A N/A n N/A N/A 1 N/A 1 N/A N/A n N N/A N/A self _gridFz N/A N/A np c_ N/A N/A N/A XYZ N/A 0 N/A XYZ N/A 1 N/A XYZ N/A 2 N/A N/A self _gridFz N/A N/A N/A locals N/A N/A _gridFz None N/A gridFz N/A property N/A gridFz gridEx N/A N/A N/A N/A N/A doc Edge staggered grid in the x direction. fget N/A N/A self N/A N/A N/A N/A N/A self _gridEx None N/A N/A N N/A N/A self r N/A self gridN N N M N/A N/A N/A self dim 2 N/A N/A XY N/A N/A N/A Utils mkvc N/A 0.5 N/A N/A n N/A N/A -1 N/A N/A n N/A N/A 1 N/A N/A n N N/A N/A self _gridEx N/A N/A np c_ N/A N/A N/A XY N/A 0 N/A XY N/A 1 N/A N/A N/A N/A self dim 3 N/A N/A XYZ N/A N/A N/A Utils mkvc N/A 0.5 N/A N/A n N/A N/A -1 N/A N/A N/A n N/A N/A 1 N/A N/A N/A n N N/A N/A self _gridEx N/A N/A np c_ N/A N/A N/A XYZ N/A 0 N/A XYZ N/A 1 N/A XYZ N/A 2 N/A N/A self _gridEx N/A N/A N/A locals N/A N/A _gridEx None N/A gridEx N/A property N/A gridEx gridEy N/A N/A N/A N/A N/A doc Edge staggered grid in the y direction. fget N/A N/A self N/A N/A N/A N/A N/A self _gridEy None N/A N/A N N/A N/A self r N/A self gridN N N M N/A N/A N/A self dim 2 N/A N/A XY N/A N/A N/A Utils mkvc N/A 0.5 N/A N/A n N/A N/A N/A -1 N/A n N/A N/A N/A 1 N/A n N N/A N/A self _gridEy N/A N/A np c_ N/A N/A N/A XY N/A 0 N/A XY N/A 1 N/A N/A N/A N/A self dim 3 N/A N/A XYZ N/A N/A N/A Utils mkvc N/A 0.5 N/A N/A n N/A N/A N/A -1 N/A N/A n N/A N/A N/A 1 N/A N/A n N N/A N/A self _gridEy N/A N/A np c_ N/A N/A N/A XYZ N/A 0 N/A XYZ N/A 1 N/A XYZ N/A 2 N/A N/A self _gridEy N/A N/A N/A locals N/A N/A _gridEy None N/A gridEy N/A property N/A gridEy gridEz N/A N/A N/A N/A N/A doc Edge staggered grid in the z direction. fget N/A N/A self N/A N/A N/A N/A N/A N/A self _gridEz None N/A N/A self dim 3 N/A N/A N N/A N/A self r N/A self gridN N N M N/A XYZ N/A N/A N/A Utils mkvc N/A 0.5 N/A N/A n N/A N/A N/A N/A -1 N/A n N/A N/A N/A N/A 1 N/A n N N/A N/A self _gridEz N/A N/A np c_ N/A N/A N/A XYZ N/A 0 N/A XYZ N/A 1 N/A XYZ N/A 2 N/A N/A self _gridEz N/A N/A N/A locals N/A N/A _gridEz None N/A gridEz N/A property N/A gridEz vol N/A N/A N/A N/A N/A doc Construct cell volumes of the 3D model as 1d array. fget N/A N/A self N/A N/A N/A N/A N/A self _vol None N/A N/A N/A N/A self dim 2 N/A N/A N/A A B C D N/A N/A Utils indexCube ABCD N/A N/A self vnC 1 N/A N/A normal area N/A N/A Utils faceInfo N/A N/A np c_ N/A N/A N/A self gridN N/A N/A np zeros N/A N/A self nN 1 A B C D N/A N/A self _vol area N/A N/A N/A N/A self dim 3 N/A N/A N/A A B C D E F G H N/A N/A Utils indexCube ABCDEFGH N/A N/A self vnC 1 N/A vol1 N/A N/A N/A N/A N/A N/A Utils volTetra N/A self gridN A B D E N/A N/A Utils volTetra N/A self gridN B E F G N/A N/A Utils volTetra N/A self gridN B D E G N/A N/A Utils volTetra N/A self gridN B C D G N/A N/A Utils volTetra N/A self gridN D E G H N/A vol2 N/A N/A N/A N/A N/A N/A Utils volTetra N/A self gridN A F B C N/A N/A Utils volTetra N/A self gridN A E F H N/A N/A Utils volTetra N/A self gridN A H F C N/A N/A Utils volTetra N/A self gridN C H D A N/A N/A Utils volTetra N/A self gridN C G H F N/A N/A self _vol N/A N/A vol1 vol2 2 N/A N/A self _vol N/A N/A N/A locals N/A N/A _vol None N/A vol N/A property N/A vol area N/A N/A N/A N/A N/A doc Face areas. fget N/A N/A self N/A N/A N/A N/A N/A N/A self _area None N/A N/A self _normals None N/A N/A N/A N/A self dim 2 N/A N/A xy N/A self gridN N/A N/A A B N/A N/A Utils indexCube AB N/A N/A self vnC 1 N/A N/A np array N/A N/A self nNx N/A self nCy N/A edge1 N/A N/A xy N/A N/A B N/A N/A xy N/A N/A A N/A N/A normal1 N/A N/A np c_ N/A N/A N/A edge1 N/A N/A N/A 1 N/A N/A edge1 N/A N/A N/A 0 N/A area1 N/A length2D edge1 N/A N/A A D N/A N/A Utils indexCube AD N/A N/A self vnC 1 N/A N/A np array N/A N/A self nCx N/A self nNy N/A edge2 N/A N/A xy N/A N/A A N/A N/A xy N/A N/A D N/A N/A normal2 N/A N/A np c_ N/A N/A N/A edge2 N/A N/A N/A 1 N/A N/A edge2 N/A N/A N/A 0 N/A area2 N/A length2D edge2 N/A N/A self _area N/A N/A np r_ N/A N/A N/A N/A Utils mkvc area1 N/A N/A Utils mkvc area2 N/A N/A self _normals N/A N/A normalize2D normal1 N/A normalize2D normal2 N/A N/A N/A N/A self dim 3 N/A N/A N/A A E F B N/A N/A Utils indexCube AEFB N/A N/A self vnC 1 N/A N/A np array N/A N/A self nNx N/A self nCy N/A self nCz N/A N/A normal1 area1 N/A N/A Utils faceInfo N/A self gridN A E F B average False normalizeNormals False N/A N/A A D H E N/A N/A Utils indexCube ADHE N/A N/A self vnC 1 N/A N/A np array N/A N/A self nCx N/A self nNy N/A self nCz N/A N/A normal2 area2 N/A N/A Utils faceInfo N/A self gridN A D H E average False normalizeNormals False N/A N/A A B C D N/A N/A Utils indexCube ABCD N/A N/A self vnC 1 N/A N/A np array N/A N/A self nCx N/A self nCy N/A self nNz N/A N/A normal3 area3 N/A N/A Utils faceInfo N/A self gridN A B C D average False normalizeNormals False N/A N/A self _area N/A N/A np r_ N/A N/A N/A N/A Utils mkvc area1 N/A N/A Utils mkvc area2 N/A N/A Utils mkvc area3 N/A N/A self _normals N/A normal1 normal2 normal3 N/A N/A self _area N/A N/A N/A locals N/A N/A _area None N/A area N/A property N/A area normals N/A N/A N/A N/A N/A doc Face normals: calling this will average
        the computed normals so that there is one
        per face. This is especially relevant in
        3D, as there are up to 4 different normals
        for each face that will be different.

        To reshape the normals into a matrix and get the y component::

            NyX, NyY, NyZ = M.r(M.normals, 'F', 'Fy', 'M')
         fget N/A N/A self N/A N/A N/A N/A N/A self _normals None N/A N/A N/A self area N/A N/A N/A self dim 2 N/A N/A N/A normalize2D N/A N/A np r_ N/A N/A N/A N/A self _normals N/A 0 N/A N/A self _normals N/A 1 N/A N/A N/A N/A self dim 3 N/A N/A normal1 N/A N/A N/A N/A N/A N/A N/A self _normals N/A 0 N/A 0 N/A N/A N/A self _normals N/A 0 N/A 1 N/A N/A N/A self _normals N/A 0 N/A 2 N/A N/A N/A self _normals N/A 0 N/A 3 4 N/A normal2 N/A N/A N/A N/A N/A N/A N/A self _normals N/A 1 N/A 0 N/A N/A N/A self _normals N/A 1 N/A 1 N/A N/A N/A self _normals N/A 1 N/A 2 N/A N/A N/A self _normals N/A 1 N/A 3 4 N/A normal3 N/A N/A N/A N/A N/A N/A N/A self _normals N/A 2 N/A 0 N/A N/A N/A self _normals N/A 2 N/A 1 N/A N/A N/A self _normals N/A 2 N/A 2 N/A N/A N/A self _normals N/A 2 N/A 3 4 N/A N/A normalize3D N/A N/A np r_ N/A N/A normal1 normal2 normal3 N/A N/A N/A locals N/A N/A _normals None N/A normals N/A property N/A normals edge N/A N/A N/A N/A N/A doc Edge legnths. fget N/A N/A self N/A N/A N/A N/A N/A N/A self _edge None N/A N/A self _tangents None N/A N/A N/A N/A self dim 2 N/A N/A xy N/A self gridN N/A N/A A D N/A N/A Utils indexCube AD N/A N/A self vnC 1 N/A N/A np array N/A N/A self nCx N/A self nNy N/A edge1 N/A N/A xy N/A N/A D N/A N/A xy N/A N/A A N/A N/A N/A A B N/A N/A Utils indexCube AB N/A N/A self vnC 1 N/A N/A np array N/A N/A self nNx N/A self nCy N/A edge2 N/A N/A xy N/A N/A B N/A N/A xy N/A N/A A N/A N/A N/A self _edge N/A N/A np r_ N/A N/A N/A N/A Utils mkvc N/A length2D edge1 N/A N/A Utils mkvc N/A length2D edge2 N/A N/A self _tangents N/A N/A N/A np r_ N/A N/A edge1 edge2 N/A N/A np c_ N/A N/A N/A self _edge N/A self _edge N/A N/A N/A N/A self dim 3 N/A N/A xyz N/A self gridN N/A N/A A D N/A N/A Utils indexCube AD N/A N/A self vnC 1 N/A N/A np array N/A N/A self nCx N/A self nNy N/A self nNz N/A edge1 N/A N/A xyz N/A N/A D N/A N/A xyz N/A N/A A N/A N/A N/A A B N/A N/A Utils indexCube AB N/A N/A self vnC 1 N/A N/A np array N/A N/A self nNx N/A self nCy N/A self nNz N/A edge2 N/A N/A xyz N/A N/A B N/A N/A xyz N/A N/A A N/A N/A N/A A E N/A N/A Utils indexCube AE N/A N/A self vnC 1 N/A N/A np array N/A N/A self nNx N/A self nNy N/A self nCz N/A edge3 N/A N/A xyz N/A N/A E N/A N/A xyz N/A N/A A N/A N/A N/A self _edge N/A N/A np r_ N/A N/A N/A N/A Utils mkvc N/A length3D edge1 N/A N/A Utils mkvc N/A length3D edge2 N/A N/A Utils mkvc N/A length3D edge3 N/A N/A self _tangents N/A N/A N/A np r_ N/A N/A edge1 edge2 edge3 N/A N/A np c_ N/A N/A N/A self _edge N/A self _edge N/A self _edge N/A N/A self _edge N/A N/A N/A locals N/A N/A _edge None N/A edge N/A property N/A edge tangents N/A N/A N/A N/A N/A doc Edge tangents. fget N/A N/A self N/A N/A N/A N/A N/A self _tangents None N/A N/A N/A self edge N/A N/A self _tangents N/A N/A N/A locals N/A N/A _tangents None N/A tangents N/A property N/A tangents plotGrid N/A N/A self ax nodes faces centers edges lines showIt N/A None False False False False True False N/A N/A Plot the nodal, cell-centered and staggered grids for 1,2 and 3 dimensions.


        .. plot::
            :include-source:

            from SimPEG import Mesh, Utils
            X, Y = Utils.exampleLrmGrid([3,3],'rotate')
            M = Mesh.CurvilinearMesh([X, Y])
            M.plotGrid(showIt=True)

         N/A matplotlib.pyplot plt N/A matplotlib mpl_toolkits.mplot3d Axes3D N/A mkvc N/A Utils mkvc N/A axOpts N/A N/A N/A self dim 3 N/A projection 3d N/A N/A N/A ax None N/A N/A ax N/A N/A plt subplot 111 axOpts N/A NN N/A N/A self r N/A self gridN N N M N/A N/A N/A self dim 2 N/A N/A lines N/A N/A X1 N/A N/A N/A N/A np c_ N/A N/A N/A mkvc N/A N/A NN N/A 0 N/A N/A -1 N/A N/A mkvc N/A N/A NN N/A 0 N/A N/A 1 N/A N/A N/A mkvc N/A N/A NN N/A 0 N/A N/A -1 N/A N/A np nan flatten N/A Y1 N/A N/A N/A N/A np c_ N/A N/A N/A mkvc N/A N/A NN N/A 1 N/A N/A -1 N/A N/A mkvc N/A N/A NN N/A 1 N/A N/A 1 N/A N/A N/A mkvc N/A N/A NN N/A 1 N/A N/A -1 N/A N/A np nan flatten N/A X2 N/A N/A N/A N/A np c_ N/A N/A N/A mkvc N/A N/A NN N/A 0 N/A N/A N/A -1 N/A mkvc N/A N/A NN N/A 0 N/A N/A N/A 1 N/A N/A mkvc N/A N/A NN N/A 0 N/A N/A N/A -1 N/A np nan flatten N/A Y2 N/A N/A N/A N/A np c_ N/A N/A N/A mkvc N/A N/A NN N/A 1 N/A N/A N/A -1 N/A mkvc N/A N/A NN N/A 1 N/A N/A N/A 1 N/A N/A mkvc N/A N/A NN N/A 1 N/A N/A N/A -1 N/A np nan flatten N/A X N/A N/A np r_ N/A N/A X1 X2 N/A Y N/A N/A np r_ N/A N/A Y1 Y2 N/A N/A N/A ax plot X Y b- N/A centers N/A N/A N/A N/A ax plot N/A N/A self gridCC N/A N/A N/A 0 N/A N/A self gridCC N/A N/A N/A 1 ro N/A N/A N/A N/A self dim 3 N/A N/A X1 N/A N/A N/A N/A np c_ N/A N/A N/A mkvc N/A N/A NN N/A 0 N/A N/A -1 N/A N/A N/A mkvc N/A N/A NN N/A 0 N/A N/A 1 N/A N/A N/A N/A mkvc N/A N/A NN N/A 0 N/A N/A -1 N/A N/A N/A np nan flatten N/A Y1 N/A N/A N/A N/A np c_ N/A N/A N/A mkvc N/A N/A NN N/A 1 N/A N/A -1 N/A N/A N/A mkvc N/A N/A NN N/A 1 N/A N/A 1 N/A N/A N/A N/A mkvc N/A N/A NN N/A 1 N/A N/A -1 N/A N/A N/A np nan flatten N/A Z1 N/A N/A N/A N/A np c_ N/A N/A N/A mkvc N/A N/A NN N/A 2 N/A N/A -1 N/A N/A N/A mkvc N/A N/A NN N/A 2 N/A N/A 1 N/A N/A N/A N/A mkvc N/A N/A NN N/A 2 N/A N/A -1 N/A N/A N/A np nan flatten N/A X2 N/A N/A N/A N/A np c_ N/A N/A N/A mkvc N/A N/A NN N/A 0 N/A N/A N/A -1 N/A N/A mkvc N/A N/A NN N/A 0 N/A N/A N/A 1 N/A N/A N/A mkvc N/A N/A NN N/A 0 N/A N/A N/A -1 N/A N/A np nan flatten N/A Y2 N/A N/A N/A N/A np c_ N/A N/A N/A mkvc N/A N/A NN N/A 1 N/A N/A N/A -1 N/A N/A mkvc N/A N/A NN N/A 1 N/A N/A N/A 1 N/A N/A N/A mkvc N/A N/A NN N/A 1 N/A N/A N/A -1 N/A N/A np nan flatten N/A Z2 N/A N/A N/A N/A np c_ N/A N/A N/A mkvc N/A N/A NN N/A 2 N/A N/A N/A -1 N/A N/A mkvc N/A N/A NN N/A 2 N/A N/A N/A 1 N/A N/A N/A mkvc N/A N/A NN N/A 2 N/A N/A N/A -1 N/A N/A np nan flatten N/A X3 N/A N/A N/A N/A np c_ N/A N/A N/A mkvc N/A N/A NN N/A 0 N/A N/A N/A N/A -1 N/A mkvc N/A N/A NN N/A 0 N/A N/A N/A N/A 1 N/A N/A mkvc N/A N/A NN N/A 0 N/A N/A N/A N/A -1 N/A np nan flatten N/A Y3 N/A N/A N/A N/A np c_ N/A N/A N/A mkvc N/A N/A NN N/A 1 N/A N/A N/A N/A -1 N/A mkvc N/A N/A NN N/A 1 N/A N/A N/A N/A 1 N/A N/A mkvc N/A N/A NN N/A 1 N/A N/A N/A N/A -1 N/A np nan flatten N/A Z3 N/A N/A N/A N/A np c_ N/A N/A N/A mkvc N/A N/A NN N/A 2 N/A N/A N/A N/A -1 N/A mkvc N/A N/A NN N/A 2 N/A N/A N/A N/A 1 N/A N/A mkvc N/A N/A NN N/A 2 N/A N/A N/A N/A -1 N/A np nan flatten N/A X N/A N/A np r_ N/A N/A X1 X2 X3 N/A Y N/A N/A np r_ N/A N/A Y1 Y2 Y3 N/A Z N/A N/A np r_ N/A N/A Z1 Z2 Z3 N/A N/A N/A ax plot X Y b zs Z N/A N/A N/A ax set_zlabel x3 N/A N/A N/A ax grid True N/A N/A N/A ax set_xlabel x1 N/A N/A N/A ax set_ylabel x2 N/A showIt N/A N/A N/A N/A plt show N/A N/A N/A N/A __name__ __main__ N/A N/A nc 5 N/A h1 N/A N/A np cumsum N/A N/A np r_ N/A N/A 0 N/A N/A N/A np ones nc nc N/A nc 7 N/A h2 N/A N/A np cumsum N/A N/A np r_ N/A N/A 0 N/A N/A N/A np ones nc nc N/A h3 N/A N/A np cumsum N/A N/A np r_ N/A N/A 0 N/A N/A N/A np ones nc nc N/A dee3 True N/A dee3 N/A N/A N/A X Y Z N/A N/A Utils ndgrid h1 h2 h3 vector False N/A M N/A CurvilinearMesh N/A X Y Z N/A N/A N/A X Y N/A N/A Utils ndgrid h1 h2 vector False N/A M N/A CurvilinearMesh N/A X Y N/A N/A N/A M r N/A M normals F Fx V