SYMBOL INDEX (2009 symbols across 88 files) FILE: discretize/_extensions/geom.h type std (line 5) | typedef std::size_t int_t; function class (line 7) | class Geometric{ function class (line 16) | class Ball : public Geometric{ function class (line 27) | class Line : public Geometric{ function class (line 38) | class Box : public Geometric{ function class (line 48) | class Plane : public Geometric{ function class (line 58) | class Triangle : public Geometric{ function class (line 73) | class VerticalTriangularPrism : public Triangle{ function class (line 82) | class Tetrahedron : public Geometric{ FILE: discretize/_extensions/tree.cpp function Node (line 138) | Node * set_default_node(node_map_t& nodes, int_t x, int_t y, int_t z, function Edge (line 149) | Edge * set_default_edge(edge_map_t& edges, Node& p1, Node& p2){ function Face (line 162) | Face * set_default_face(face_map_t& faces, Node& p1, Node& p2, Node& p3,... function Cell (line 758) | Cell* Cell::containing_cell(double x, double y, double z){ function Cell (line 1499) | Cell* Tree::containing_cell(double x, double y, double z){ FILE: discretize/_extensions/tree.h type std (line 11) | typedef std::size_t int_t; function int_t (line 13) | inline int_t key_func(int_t x, int_t y){ function int_t (line 17) | inline int_t key_func(int_t x, int_t y, int_t z){ type PyWrapper (line 26) | typedef PyWrapper* function; type std (line 28) | typedef std::map node_map_t; type std (line 29) | typedef std::map edge_map_t; type std (line 30) | typedef std::map face_map_t; type node_map_t (line 31) | typedef node_map_t::iterator node_it_type; type edge_map_t (line 32) | typedef edge_map_t::iterator edge_it_type; type face_map_t (line 33) | typedef face_map_t::iterator face_it_type; type std (line 34) | typedef std::vector cell_vec_t; type std (line 35) | typedef std::vector int_vec_t; function class (line 37) | class PyWrapper{ function class (line 56) | class Node{ function class (line 72) | class Edge{ function class (line 90) | class Face{ function class (line 109) | class Cell{ function class (line 185) | class Tree{ FILE: discretize/_extensions/triplet.h function T (line 10) | T v1{} function U (line 11) | U v2{} function V (line 12) | V v3{} function namespace (line 35) | namespace std { FILE: discretize/base/base_mesh.py class BaseMesh (line 16) | class BaseMesh: method __getattr__ (line 43) | def __getattr__(self, name): method to_dict (line 50) | def to_dict(self): method equals (line 84) | def equals(self, other_mesh): method serialize (line 130) | def serialize(self): method deserialize (line 142) | def deserialize(cls, items, **kwargs): method save (line 157) | def save(self, file_name="mesh.json", verbose=False, **kwargs): method copy (line 185) | def copy(self): method validate (line 199) | def validate(self): method dim (line 212) | def dim(self): method n_cells (line 226) | def n_cells(self): method __len__ (line 240) | def __len__(self): method n_nodes (line 253) | def n_nodes(self): method n_edges (line 268) | def n_edges(self): method n_faces (line 283) | def n_faces(self): method cell_centers (line 299) | def cell_centers(self): method nodes (line 339) | def nodes(self): method boundary_nodes (line 398) | def boundary_nodes(self): method faces (line 414) | def faces(self): method boundary_faces (line 476) | def boundary_faces(self): method edges (line 492) | def edges(self): method boundary_edges (line 554) | def boundary_edges(self): method face_normals (line 572) | def face_normals(self): method edge_tangents (line 591) | def edge_tangents(self): method boundary_face_outward_normals (line 610) | def boundary_face_outward_normals(self): method project_face_vector (line 627) | def project_face_vector(self, face_vectors): method project_edge_vector (line 657) | def project_edge_vector(self, edge_vectors): method cell_volumes (line 689) | def cell_volumes(self): method face_areas (line 707) | def face_areas(self): method edge_lengths (line 727) | def edge_lengths(self): method face_divergence (line 747) | def face_divergence(self): method nodal_gradient (line 895) | def nodal_gradient(self): method edge_curl (line 1035) | def edge_curl(self): method boundary_face_scalar_integral (line 1189) | def boundary_face_scalar_integral(self): method boundary_edge_vector_integral (line 1216) | def boundary_edge_vector_integral(self): method boundary_node_vector_integral (line 1252) | def boundary_node_vector_integral(self): method nodal_laplacian (line 1282) | def nodal_laplacian(self): method stencil_cell_gradient (line 1398) | def stencil_cell_gradient(self): method get_face_inner_product (line 1530) | def get_face_inner_product( method get_edge_inner_product (line 1707) | def get_edge_inner_product( method get_edge_inner_product_surface (line 1886) | def get_edge_inner_product_surface( method get_face_inner_product_surface (line 2009) | def get_face_inner_product_surface( method get_edge_inner_product_line (line 2158) | def get_edge_inner_product_line( method get_face_inner_product_deriv (line 2306) | def get_face_inner_product_deriv( method get_edge_inner_product_deriv (line 2489) | def get_edge_inner_product_deriv( method get_edge_inner_product_surface_deriv (line 2671) | def get_edge_inner_product_surface_deriv( method get_face_inner_product_surface_deriv (line 2717) | def get_face_inner_product_surface_deriv( method get_edge_inner_product_line_deriv (line 2820) | def get_edge_inner_product_line_deriv( method average_face_to_cell (line 2927) | def average_face_to_cell(self): method average_face_to_cell_vector (line 3013) | def average_face_to_cell_vector(self): method average_cell_to_face (line 3114) | def average_cell_to_face(self): method average_cell_vector_to_face (line 3208) | def average_cell_vector_to_face(self): method average_cell_to_edge (line 3314) | def average_cell_to_edge(self): method average_edge_to_cell (line 3407) | def average_edge_to_cell(self): method average_edge_to_cell_vector (line 3492) | def average_edge_to_cell_vector(self): method average_edge_to_face (line 3592) | def average_edge_to_face(self): method average_node_to_cell (line 3680) | def average_node_to_cell(self): method average_node_to_edge (line 3765) | def average_node_to_edge(self): method average_node_to_face (line 3851) | def average_node_to_face(self): method project_face_to_boundary_face (line 3937) | def project_face_to_boundary_face(self): method project_edge_to_boundary_edge (line 3958) | def project_edge_to_boundary_edge(self): method project_node_to_boundary_node (line 3979) | def project_node_to_boundary_node(self): method closest_points_index (line 3999) | def closest_points_index(self, locations, grid_loc="CC", discard=False): method point2index (line 4066) | def point2index(self, locs): method get_interpolation_matrix (line 4084) | def get_interpolation_matrix( method _parse_location_type (line 4182) | def _parse_location_type(self, location_type): FILE: discretize/base/base_regular_mesh.py class BaseRegularMesh (line 9) | class BaseRegularMesh(BaseMesh): method __init__ (line 47) | def __init__( method origin (line 82) | def origin(self): method origin (line 100) | def origin(self, value): method shape_cells (line 111) | def shape_cells(self): method orientation (line 132) | def orientation(self): method orientation (line 156) | def orientation(self, value): method reference_system (line 174) | def reference_system(self): method reference_system (line 188) | def reference_system(self, value): method x0 (line 209) | def x0(self): method x0 (line 219) | def x0(self, val): method dim (line 223) | def dim(self): # NOQA D102 method n_cells (line 228) | def n_cells(self): # NOQA D102 method n_nodes (line 233) | def n_nodes(self): # NOQA D102 method n_edges_x (line 238) | def n_edges_x(self): method n_edges_y (line 256) | def n_edges_y(self): method n_edges_z (line 276) | def n_edges_z(self): method n_edges_per_direction (line 296) | def n_edges_per_direction(self): method n_edges (line 328) | def n_edges(self): # NOQA D102 method n_faces_x (line 338) | def n_faces_x(self): method n_faces_y (line 356) | def n_faces_y(self): method n_faces_z (line 376) | def n_faces_z(self): method n_faces_per_direction (line 396) | def n_faces_per_direction(self): method n_faces (line 428) | def n_faces(self): # NOQA D102 method face_normals (line 438) | def face_normals(self): # NOQA D102 method edge_tangents (line 463) | def edge_tangents(self): # NOQA D102 method reference_is_rotated (line 488) | def reference_is_rotated(self): method rotation_matrix (line 510) | def rotation_matrix(self): method axis_u (line 520) | def axis_u(self): method axis_u (line 533) | def axis_u(self, value): method axis_v (line 540) | def axis_v(self): method axis_v (line 553) | def axis_v(self, value): method axis_w (line 560) | def axis_w(self): method axis_w (line 573) | def axis_w(self, value): class BaseRectangularMesh (line 580) | class BaseRectangularMesh(BaseRegularMesh): method shape_nodes (line 601) | def shape_nodes(self): method shape_edges_x (line 620) | def shape_edges_x(self): method shape_edges_y (line 643) | def shape_edges_y(self): method shape_edges_z (line 669) | def shape_edges_z(self): method shape_faces_x (line 693) | def shape_faces_x(self): method shape_faces_y (line 715) | def shape_faces_y(self): method shape_faces_z (line 741) | def shape_faces_z(self): method n_cells (line 770) | def n_cells(self): # NOQA D102 method n_nodes (line 775) | def n_nodes(self): # NOQA D102 method n_edges_x (line 780) | def n_edges_x(self): # NOQA D102 method n_edges_y (line 785) | def n_edges_y(self): # NOQA D102 method n_edges_z (line 792) | def n_edges_z(self): # NOQA D102 method n_faces_x (line 799) | def n_faces_x(self): # NOQA D102 method n_faces_y (line 804) | def n_faces_y(self): # NOQA D102 method n_faces_z (line 811) | def n_faces_z(self): # NOQA D102 method reshape (line 817) | def reshape( method nCx (line 1006) | def nCx(self): method nCy (line 1018) | def nCy(self): method nCz (line 1030) | def nCz(self): method nNx (line 1042) | def nNx(self): method nNy (line 1054) | def nNy(self): method nNz (line 1066) | def nNz(self): FILE: discretize/base/base_tensor_mesh.py class BaseTensorMesh (line 24) | class BaseTensorMesh(BaseRegularMesh): method __init__ (line 86) | def __init__(self, h, origin=None, **kwargs): method h (line 117) | def h(self): method origin (line 139) | def origin(self, value): # NOQA D102 method nodes_x (line 156) | def nodes_x(self): method nodes_y (line 177) | def nodes_y(self): method nodes_z (line 199) | def nodes_z(self): method cell_centers_x (line 221) | def cell_centers_x(self): method cell_centers_y (line 243) | def cell_centers_y(self): method cell_centers_z (line 268) | def cell_centers_z(self): method cell_centers (line 293) | def cell_centers(self): # NOQA D102 method nodes (line 298) | def nodes(self): # NOQA D102 method boundary_nodes (line 303) | def boundary_nodes(self): # NOQA D102 method h_gridded (line 311) | def h_gridded(self): method faces_x (line 358) | def faces_x(self): method faces_y (line 376) | def faces_y(self): method faces_z (line 394) | def faces_z(self): method faces (line 412) | def faces(self): # NOQA D102 method boundary_faces (line 425) | def boundary_faces(self): # NOQA D102 method boundary_face_outward_normals (line 441) | def boundary_face_outward_normals(self): # NOQA D102 method edges_x (line 469) | def edges_x(self): method edges_y (line 487) | def edges_y(self): method edges_z (line 505) | def edges_z(self): method edges (line 523) | def edges(self): # NOQA D102 method boundary_edges (line 536) | def boundary_edges(self): method _getTensorGrid (line 562) | def _getTensorGrid(self, key): method get_tensor (line 567) | def get_tensor(self, key): method is_inside (line 638) | def is_inside(self, pts, location_type="nodes", **kwargs): method _get_interpolation_matrix (line 684) | def _get_interpolation_matrix( method get_interpolation_matrix (line 776) | def get_interpolation_matrix( # NOQA D102 method _fastInnerProduct (line 792) | def _fastInnerProduct( method _fastInnerProductDeriv (line 865) | def _fastInnerProductDeriv( method hx (line 992) | def hx(self): method hy (line 1004) | def hy(self): method hz (line 1016) | def hz(self): FILE: discretize/curvilinear_mesh.py function _length2D (line 19) | def _length2D(x): function _length3D (line 23) | def _length3D(x): function _normalize2D (line 27) | def _normalize2D(x): function _normalize3D (line 31) | def _normalize3D(x): class CurvilinearMesh (line 35) | class CurvilinearMesh( method __init__ (line 98) | def __init__(self, node_list, **kwargs): method node_list (line 131) | def node_list(self): method deserialize (line 146) | def deserialize(cls, value, **kwargs): # NOQA D102 method cell_centers (line 153) | def cell_centers(self): # NOQA D102 method nodes (line 162) | def nodes(self): # NOQA D102 method faces_x (line 169) | def faces_x(self): method faces_y (line 242) | def faces_y(self): method faces_z (line 315) | def faces_z(self): method faces (line 343) | def faces(self): # NOQA D102 method edges_x (line 351) | def edges_x(self): method edges_y (line 412) | def edges_y(self): method edges_z (line 473) | def edges_z(self): method edges (line 495) | def edges(self): # NOQA D102 method boundary_nodes (line 503) | def boundary_nodes(self): # NOQA D102 method boundary_edges (line 508) | def boundary_edges(self): # NOQA D102 method boundary_faces (line 521) | def boundary_faces(self): # NOQA D102 method boundary_face_outward_normals (line 532) | def boundary_face_outward_normals(self): # NOQA D102 method cell_volumes (line 590) | def cell_volumes(self): # NOQA D102 method face_areas (line 625) | def face_areas(self): # NOQA D102 method face_normals (line 670) | def face_normals(self): # NOQA D102 method edge_lengths (line 702) | def edge_lengths(self): # NOQA D102 method edge_tangents (line 737) | def edge_tangents(self): # NOQA D102 method _get_edge_surf_int_proj_mats (line 743) | def _get_edge_surf_int_proj_mats(self, only_boundary=False, with_area=... method boundary_edge_vector_integral (line 813) | def boundary_edge_vector_integral(self): # NOQA D102 FILE: discretize/cylindrical_mesh.py class CylindricalMesh (line 31) | class CylindricalMesh( method __init__ (line 134) | def __init__(self, h, origin=None, cartesian_origin=None, **kwargs): method cartesian_origin (line 151) | def cartesian_origin(self): method cartesian_origin (line 167) | def cartesian_origin(self, value): method is_wrapped (line 178) | def is_wrapped(self): method is_symmetric (line 188) | def is_symmetric(self): method includes_zero (line 210) | def includes_zero(self): method shape_nodes (line 220) | def shape_nodes(self): method _shape_total_nodes (line 247) | def _shape_total_nodes(self): method n_nodes (line 257) | def n_nodes(self): method _n_total_nodes (line 280) | def _n_total_nodes(self): method _shape_total_faces_x (line 284) | def _shape_total_faces_x(self): method _n_total_faces_x (line 289) | def _n_total_faces_x(self): method _n_hanging_faces_x (line 294) | def _n_hanging_faces_x(self): method shape_faces_x (line 302) | def shape_faces_x(self): method _shape_total_faces_y (line 322) | def _shape_total_faces_y(self): method _n_total_faces_y (line 328) | def _n_total_faces_y(self): method _n_hanging_faces_y (line 333) | def _n_hanging_faces_y(self): method _shape_total_faces_z (line 341) | def _shape_total_faces_z(self): method _n_total_faces_z (line 346) | def _n_total_faces_z(self): method _n_hanging_faces_z (line 351) | def _n_hanging_faces_z(self): method _shape_total_edges_x (line 356) | def _shape_total_edges_x(self): method _n_total_edges_x (line 361) | def _n_total_edges_x(self): method _shape_total_edges_y (line 366) | def _shape_total_edges_y(self): method _n_total_edges_y (line 372) | def _n_total_edges_y(self): method shape_edges_y (line 377) | def shape_edges_y(self): method _shape_total_edges_z (line 397) | def _shape_total_edges_z(self): method _n_total_edges_z (line 402) | def _n_total_edges_z(self): method shape_edges_z (line 407) | def shape_edges_z(self): method n_edges_z (line 426) | def n_edges_z(self): method cell_centers_x (line 451) | def cell_centers_x(self): method cell_centers_y (line 471) | def cell_centers_y(self): method nodes_x (line 492) | def nodes_x(self): method _nodes_y_full (line 510) | def _nodes_y_full(self): method nodes_y (line 517) | def nodes_y(self): method _edge_x_lengths_full (line 535) | def _edge_x_lengths_full(self): method edge_x_lengths (line 541) | def edge_x_lengths(self): method _edge_y_lengths_full (line 560) | def _edge_y_lengths_full(self): method edge_y_lengths (line 569) | def edge_y_lengths(self): method _edge_z_lengths_full (line 595) | def _edge_z_lengths_full(self): method edge_z_lengths (line 601) | def edge_z_lengths(self): method _edge_lengths_full (line 619) | def _edge_lengths_full(self): method edge_lengths (line 631) | def edge_lengths(self): method _face_x_areas_full (line 653) | def _face_x_areas_full(self): method face_x_areas (line 660) | def face_x_areas(self): method _face_y_areas_full (line 685) | def _face_y_areas_full(self): method face_y_areas (line 692) | def face_y_areas(self): method _face_z_areas_full (line 718) | def _face_z_areas_full(self): method face_z_areas (line 734) | def face_z_areas(self): method _face_areas_full (line 758) | def _face_areas_full(self): method face_areas (line 765) | def face_areas(self): method cell_volumes (line 790) | def cell_volumes(self): method _ishanging_faces_x (line 823) | def _ishanging_faces_x(self): method _hanging_faces_x (line 833) | def _hanging_faces_x(self): method _ishanging_faces_y (line 850) | def _ishanging_faces_y(self): method _hanging_faces_y (line 860) | def _hanging_faces_y(self): method _ishanging_faces_z (line 878) | def _ishanging_faces_z(self): method _hanging_faces_z (line 885) | def _hanging_faces_z(self): method _ishanging_edges_x (line 894) | def _ishanging_edges_x(self): method _hanging_edges_x (line 904) | def _hanging_edges_x(self): method _ishanging_edges_y (line 922) | def _ishanging_edges_y(self): method _hanging_edges_y (line 932) | def _hanging_edges_y(self): method _ishanging_edges (line 949) | def _ishanging_edges(self): method _ishanging_edges_z (line 960) | def _ishanging_edges_z(self): method _hanging_edges_z (line 983) | def _hanging_edges_z(self): method _ishanging_nodes (line 1010) | def _ishanging_nodes(self): method _hanging_nodes (line 1028) | def _hanging_nodes(self): method _nodes_full (line 1060) | def _nodes_full(self): method nodes (line 1065) | def nodes(self): method _faces_x_full (line 1085) | def _faces_x_full(self): method faces_x (line 1090) | def faces_x(self): method _edges_y_full (line 1112) | def _edges_y_full(self): method edges_y (line 1117) | def edges_y(self): method _edges_z_full (line 1139) | def _edges_z_full(self): method edges_z (line 1144) | def edges_z(self): method _is_boundary_face (line 1166) | def _is_boundary_face(self): method boundary_faces (line 1190) | def boundary_faces(self): # NOQA D102 method boundary_face_outward_normals (line 1195) | def boundary_face_outward_normals(self): # NOQA D102 method _is_boundary_node (line 1218) | def _is_boundary_node(self): method boundary_nodes (line 1233) | def boundary_nodes(self): # NOQA D102 method _is_boundary_edge (line 1238) | def _is_boundary_edge(self): method boundary_edges (line 1268) | def boundary_edges(self): # NOQA D102 method face_divergence (line 1277) | def face_divergence(self): # NOQA D102 method face_x_divergence (line 1292) | def face_x_divergence(self): # NOQA D102 method face_y_divergence (line 1314) | def face_y_divergence(self): # NOQA D102 method face_z_divergence (line 1329) | def face_z_divergence(self): # NOQA D102 method cell_gradient_x (line 1339) | def cell_gradient_x(self): # NOQA D102 method stencil_cell_gradient_y (line 1353) | def stencil_cell_gradient_y(self): # NOQA D102 method stencil_cell_gradient_z (line 1358) | def stencil_cell_gradient_z(self): # NOQA D102 method stencil_cell_gradient (line 1363) | def stencil_cell_gradient(self): # NOQA D102 method cell_gradient (line 1368) | def cell_gradient(self): # NOQA D102 method nodal_gradient (line 1373) | def nodal_gradient(self): # NOQA D102 method _edge_curl_stencil (line 1415) | def _edge_curl_stencil(self): method edge_curl (line 1436) | def edge_curl(self): # NOQA D102 method average_edge_x_to_cell (line 1447) | def average_edge_x_to_cell(self): # NOQA D102 method average_edge_y_to_cell (line 1461) | def average_edge_y_to_cell(self): # NOQA D102 method average_edge_z_to_cell (line 1480) | def average_edge_z_to_cell(self): # NOQA D102 method average_edge_to_cell (line 1494) | def average_edge_to_cell(self): # NOQA D102 method average_edge_to_cell_vector (line 1512) | def average_edge_to_cell_vector(self): # NOQA D102 method average_edge_to_face (line 1524) | def average_edge_to_face(self): # NOQA D102 method average_face_x_to_cell (line 1545) | def average_face_x_to_cell(self): # NOQA D102 method average_face_y_to_cell (line 1553) | def average_face_y_to_cell(self): # NOQA D102 method average_face_to_cell (line 1561) | def average_face_to_cell(self): # NOQA D102 method average_face_to_cell_vector (line 1581) | def average_face_to_cell_vector(self): # NOQA D102 method _average_node_to_face_x (line 1596) | def _average_node_to_face_x(self): method _average_node_to_face_y (line 1605) | def _average_node_to_face_y(self): method average_node_to_face (line 1614) | def average_node_to_face(self): # NOQA D102 method average_node_to_cell (line 1623) | def average_node_to_cell(self): # NOQA D102 method average_cell_to_face (line 1632) | def average_cell_to_face(self): # NOQA D102 method project_face_to_boundary_face (line 1672) | def project_face_to_boundary_face(self): # NOQA D102 method project_node_to_boundary_node (line 1678) | def project_node_to_boundary_node(self): # NOQA D102 method project_edge_to_boundary_edge (line 1684) | def project_edge_to_boundary_edge(self): # NOQA D102 method _deflation_matrix (line 1693) | def _deflation_matrix(self, location, as_ones=False): method get_interpolation_matrix (line 1766) | def get_interpolation_matrix( method cartesian_grid (line 2022) | def cartesian_grid(self, location_type="cell_centers", theta_shift=Non... method get_interpolation_matrix_cartesian_mesh (line 2053) | def get_interpolation_matrix_cartesian_mesh( class CylMesh (line 2209) | class CylMesh(CylindricalMesh): FILE: discretize/mixins/__init__.py class InterfaceMixins (line 56) | class InterfaceMixins(*AVAILABLE_MIXIN_CLASSES): FILE: discretize/mixins/mesh_io.py class TensorMeshIO (line 21) | class TensorMeshIO(InterfaceTensorread_vtk): method _readUBC_3DMesh (line 33) | def _readUBC_3DMesh(cls, file_name): method _readUBC_2DMesh (line 78) | def _readUBC_2DMesh(cls, file_name): method read_UBC (line 137) | def read_UBC(cls, file_name, directory=None): method _readModelUBC_2D (line 170) | def _readModelUBC_2D(mesh, file_name): method _readModelUBC_3D (line 204) | def _readModelUBC_3D(mesh, file_name): method read_model_UBC (line 227) | def read_model_UBC(mesh, file_name, directory=None): method write_model_UBC (line 253) | def write_model_UBC(mesh, file_name, model, directory=None): method _writeUBC_3DMesh (line 289) | def _writeUBC_3DMesh(mesh, file_name, comment_lines=""): method _writeUBC_2DMesh (line 317) | def _writeUBC_2DMesh(mesh, file_name, comment_lines=""): method write_UBC (line 382) | def write_UBC(mesh, file_name, models=None, directory=None, comment_li... method readUBC (line 420) | def readUBC(TensorMesh, file_name, directory=""): class TreeMeshIO (line 444) | class TreeMeshIO(object): method read_UBC (line 456) | def read_UBC(TreeMesh, file_name, directory=None): method read_model_UBC (line 507) | def read_model_UBC(mesh, file_name, directory=None): method write_UBC (line 543) | def write_UBC(mesh, file_name, models=None, directory=None): method write_model_UBC (line 590) | def write_model_UBC(mesh, file_name, model, directory=None): method readUBC (line 615) | def readUBC(TreeMesh, file_name, directory=""): class SimplexMeshIO (line 640) | class SimplexMeshIO(InterfaceSimplexReadVTK): FILE: discretize/mixins/mpl_mod.py function load_matplotlib (line 11) | def load_matplotlib(): class InterfaceMPL (line 23) | class InterfaceMPL(object): method plot_grid (line 33) | def plot_grid( method plot_image (line 203) | def plot_image( method plot_slice (line 404) | def plot_slice( method plot_3d_slicer (line 705) | def plot_3d_slicer( method __plot_grid_tensor (line 796) | def __plot_grid_tensor( method __plot_image_tensor (line 1021) | def __plot_image_tensor( method __plot_image_tensor2D (line 1148) | def __plot_image_tensor2D( method __plot_slice_tensor (line 1321) | def __plot_slice_tensor( method __plotCylTensorMesh (line 1421) | def __plotCylTensorMesh(self, plotType, *args, **kwargs): method __plot_grid_cyl (line 1506) | def __plot_grid_cyl(self, *args, **kwargs): method __plot_gridThetaSlice (line 1583) | def __plot_gridThetaSlice(self, *args, **kwargs): method __plot_gridZSlice (line 1589) | def __plot_gridZSlice(self, *args, **kwargs): method __plot_image_cyl (line 1647) | def __plot_image_cyl(self, *args, **kwargs): method __plot_grid_curv (line 1651) | def __plot_grid_curv( method __plot_image_curv (line 1769) | def __plot_image_curv( method __plot_grid_tree (line 1815) | def __plot_grid_tree( method __plot_image_tree (line 1994) | def __plot_image_tree( method __plot_slice_tree (line 2113) | def __plot_slice_tree( method __plot_grid_simp (line 2235) | def __plot_grid_simp( method __plot_image_simp (line 2273) | def __plot_image_simp( class Slicer (line 2364) | class Slicer(object): method __init__ (line 2432) | def __init__( method onscroll (line 2713) | def onscroll(self, event): method update_xy (line 2742) | def update_xy(self): method update_xz (line 2766) | def update_xz(self): method update_zy (line 2792) | def update_zy(self): method _clear_elements (line 2818) | def _clear_elements(self, names): FILE: discretize/mixins/omf_mod.py function omf (line 7) | def omf(): function _ravel_data_array (line 14) | def _ravel_data_array(arr, nx, ny, nz): function _unravel_data_array (line 118) | def _unravel_data_array(arr, nx, ny, nz): class InterfaceOMF (line 151) | class InterfaceOMF(object): method _tensor_mesh_to_omf (line 159) | def _tensor_mesh_to_omf(mesh, models=None): method _tree_mesh_to_omf (line 234) | def _tree_mesh_to_omf(mesh, models=None): method _curvilinear_mesh_to_omf (line 237) | def _curvilinear_mesh_to_omf(mesh, models=None): method _cyl_mesh_to_omf (line 240) | def _cyl_mesh_to_omf(mesh, models=None): method to_omf (line 243) | def to_omf(mesh, models=None): method _omf_volume_to_tensor (line 278) | def _omf_volume_to_tensor(element): method from_omf (line 302) | def from_omf(element): FILE: discretize/mixins/vtk_mod.py function load_vtk (line 64) | def load_vtk(extra=None): function assign_cell_data (line 82) | def assign_cell_data(vtkDS, models=None): class InterfaceVTK (line 110) | class InterfaceVTK(object): method __tree_mesh_to_vtk (line 191) | def __tree_mesh_to_vtk(mesh, models=None): method __simplex_mesh_to_vtk (line 255) | def __simplex_mesh_to_vtk(mesh, models=None): method __create_structured_grid (line 299) | def __create_structured_grid(ptsMat, dims, models=None): method __get_rotated_nodes (line 321) | def __get_rotated_nodes(mesh): method __tensor_mesh_to_vtk (line 334) | def __tensor_mesh_to_vtk(mesh, models=None): method __curvilinear_mesh_to_vtk (line 382) | def __curvilinear_mesh_to_vtk(mesh, models=None): method __cyl_mesh_to_vtk (line 400) | def __cyl_mesh_to_vtk(mesh, models=None): method to_vtk (line 581) | def to_vtk(mesh, models=None): method toVTK (line 628) | def toVTK(mesh, models=None): method _save_unstructured_grid (line 645) | def _save_unstructured_grid(file_name, vtkUnstructGrid, directory=""): method _save_structured_grid (line 681) | def _save_structured_grid(file_name, vtkStructGrid, directory=""): method _save_rectilinear_grid (line 718) | def _save_rectilinear_grid(file_name, vtkRectGrid, directory=""): method write_vtk (line 753) | def write_vtk(mesh, file_name, models=None, directory=""): method writeVTK (line 790) | def writeVTK(mesh, file_name, models=None, directory=""): class InterfaceTensorread_vtk (line 809) | class InterfaceTensorread_vtk(object): method vtk_to_tensor_mesh (line 817) | def vtk_to_tensor_mesh(TensorMesh, vtrGrid): method read_vtk (line 869) | def read_vtk(TensorMesh, file_name, directory=""): method readVTK (line 903) | def readVTK(TensorMesh, file_name, directory=""): class InterfaceSimplexReadVTK (line 922) | class InterfaceSimplexReadVTK: method vtk_to_simplex_mesh (line 930) | def vtk_to_simplex_mesh(SimplexMesh, vtuGrid): method read_vtk (line 981) | def read_vtk(SimplexMesh, file_name, directory=""): FILE: discretize/operators/differential_operators.py function _validate_BC (line 21) | def _validate_BC(bc): function _ddxCellGrad (line 41) | def _ddxCellGrad(n, bc): function _ddxCellGradBC (line 85) | def _ddxCellGradBC(n, bc): class DiffOperators (line 134) | class DiffOperators(BaseMesh): method _face_x_divergence_stencil (line 162) | def _face_x_divergence_stencil(self): method _face_y_divergence_stencil (line 177) | def _face_y_divergence_stencil(self): method _face_z_divergence_stencil (line 192) | def _face_z_divergence_stencil(self): method _face_divergence_stencil (line 205) | def _face_divergence_stencil(self): method face_divergence (line 226) | def face_divergence(self): # NOQA D102 method face_x_divergence (line 238) | def face_x_divergence(self): method face_y_divergence (line 350) | def face_y_divergence(self): method face_z_divergence (line 464) | def face_z_divergence(self): method _nodal_gradient_x_stencil (line 594) | def _nodal_gradient_x_stencil(self): method _nodal_gradient_y_stencil (line 609) | def _nodal_gradient_y_stencil(self): method _nodal_gradient_z_stencil (line 624) | def _nodal_gradient_z_stencil(self): method _nodal_gradient_stencil (line 637) | def _nodal_gradient_stencil(self): method nodal_gradient (line 659) | def nodal_gradient(self): # NOQA D102 method _nodal_laplacian_x_stencil (line 667) | def _nodal_laplacian_x_stencil(self): method _nodal_laplacian_y_stencil (line 684) | def _nodal_laplacian_y_stencil(self): method _nodal_laplacian_z_stencil (line 704) | def _nodal_laplacian_z_stencil(self): method _nodal_laplacian_x (line 719) | def _nodal_laplacian_x(self): method _nodal_laplacian_y (line 729) | def _nodal_laplacian_y(self): method _nodal_laplacian_z (line 741) | def _nodal_laplacian_z(self): method nodal_laplacian (line 750) | def nodal_laplacian(self): # NOQA D102 method edge_divergence_weak_form_robin (line 772) | def edge_divergence_weak_form_robin(self, alpha=0.0, beta=1.0, gamma=0... method set_cell_gradient_BC (line 975) | def set_cell_gradient_BC(self, BC): method stencil_cell_gradient_x (line 1049) | def stencil_cell_gradient_x(self): method stencil_cell_gradient_y (line 1183) | def stencil_cell_gradient_y(self): method stencil_cell_gradient_z (line 1311) | def stencil_cell_gradient_z(self): method stencil_cell_gradient (line 1413) | def stencil_cell_gradient(self): # NOQA D102 method cell_gradient (line 1446) | def cell_gradient(self): method cell_gradient_weak_form_robin (line 1597) | def cell_gradient_weak_form_robin(self, alpha=0.0, beta=1.0, gamma=0.0): method cell_gradient_BC (line 1734) | def cell_gradient_BC(self): method cell_gradient_x (line 1763) | def cell_gradient_x(self): method cell_gradient_y (line 1879) | def cell_gradient_y(self): method cell_gradient_z (line 1996) | def cell_gradient_z(self): method _edge_x_curl_stencil (line 2092) | def _edge_x_curl_stencil(self): method _edge_y_curl_stencil (line 2104) | def _edge_y_curl_stencil(self): method _edge_z_curl_stencil (line 2116) | def _edge_z_curl_stencil(self): method _edge_curl_stencil (line 2128) | def _edge_curl_stencil(self): method edge_curl (line 2170) | def edge_curl(self): # NOQA D102 method boundary_face_scalar_integral (line 2184) | def boundary_face_scalar_integral(self): # NOQA D102 method boundary_edge_vector_integral (line 2199) | def boundary_edge_vector_integral(self): method boundary_node_vector_integral (line 2257) | def boundary_node_vector_integral(self): method get_BC_projections (line 2303) | def get_BC_projections(self, BC, discretization="CC"): method get_BC_projections_simple (line 2410) | def get_BC_projections_simple(self, discretization="CC"): method average_face_to_cell (line 2479) | def average_face_to_cell(self): # NOQA D102 method average_face_to_cell_vector (line 2495) | def average_face_to_cell_vector(self): # NOQA D102 method average_face_x_to_cell (line 2511) | def average_face_x_to_cell(self): method average_face_y_to_cell (line 2604) | def average_face_y_to_cell(self): method average_face_z_to_cell (line 2697) | def average_face_z_to_cell(self): method average_cell_to_face (line 2790) | def average_cell_to_face(self): # NOQA D102 method average_cell_vector_to_face (line 2831) | def average_cell_vector_to_face(self): # NOQA D102 method average_cell_to_edge (line 2868) | def average_cell_to_edge(self): # NOQA D102 method average_edge_to_cell (line 2895) | def average_edge_to_cell(self): # NOQA D102 method average_edge_to_cell_vector (line 2911) | def average_edge_to_cell_vector(self): # NOQA D102 method average_edge_x_to_cell (line 2927) | def average_edge_x_to_cell(self): method average_edge_y_to_cell (line 3020) | def average_edge_y_to_cell(self): method average_edge_z_to_cell (line 3113) | def average_edge_z_to_cell(self): method average_edge_to_face (line 3206) | def average_edge_to_face(self): # NOQA D102 method average_node_to_cell (line 3237) | def average_node_to_cell(self): # NOQA D102 method _average_node_to_edge_x (line 3256) | def _average_node_to_edge_x(self): method _average_node_to_edge_y (line 3271) | def _average_node_to_edge_y(self): method _average_node_to_edge_z (line 3286) | def _average_node_to_edge_z(self): method average_node_to_edge (line 3299) | def average_node_to_edge(self): # NOQA D102 method _average_node_to_face_x (line 3322) | def _average_node_to_face_x(self): method _average_node_to_face_y (line 3336) | def _average_node_to_face_y(self): method _average_node_to_face_z (line 3350) | def _average_node_to_face_z(self): method average_node_to_face (line 3362) | def average_node_to_face(self): # NOQA D102 method project_face_to_boundary_face (line 3385) | def project_face_to_boundary_face(self): # NOQA D102 method project_edge_to_boundary_edge (line 3400) | def project_edge_to_boundary_edge(self): # NOQA D102 method project_node_to_boundary_node (line 3419) | def project_node_to_boundary_node(self): # NOQA D102 FILE: discretize/operators/inner_products.py class InnerProducts (line 23) | class InnerProducts(BaseMesh): method get_face_inner_product (line 35) | def get_face_inner_product( # NOQA D102 method get_edge_inner_product (line 69) | def get_edge_inner_product( # NOQA D102 method get_edge_inner_product_surface (line 101) | def get_edge_inner_product_surface( # NOQA D102 method _getInnerProduct (line 147) | def _getInnerProduct( method _getInnerProductProjectionMatrices (line 221) | def _getInnerProductProjectionMatrices(self, projection_type, tensorTy... method get_face_inner_product_deriv (line 274) | def get_face_inner_product_deriv( # NOQA D102 method get_edge_inner_product_deriv (line 301) | def get_edge_inner_product_deriv( # NOQA D102 method get_edge_inner_product_surface_deriv (line 328) | def get_edge_inner_product_surface_deriv( # NOQA D102 method _getInnerProductDeriv (line 405) | def _getInnerProductDeriv( method _getInnerProductDerivFunction (line 459) | def _getInnerProductDerivFunction(self, tensorType, P, projection_type... method _getFacePx (line 586) | def _getFacePx(M): method _getFacePxx (line 599) | def _getFacePxx(M): method _getFacePxxx (line 671) | def _getFacePxxx(M): method _getEdgePx (line 740) | def _getEdgePx(M): method _getEdgePxx (line 750) | def _getEdgePxx(M): method _getEdgePxxx (line 792) | def _getEdgePxxx(M): FILE: discretize/tensor_cell.py class TensorCell (line 7) | class TensorCell: method __init__ (line 70) | def __init__(self, h, origin, index_unraveled, mesh_shape): method __repr__ (line 76) | def __repr__(self): method __eq__ (line 86) | def __eq__(self, other): method h (line 102) | def h(self): method origin (line 107) | def origin(self): method index (line 112) | def index(self): method index_unraveled (line 119) | def index_unraveled(self): method mesh_shape (line 124) | def mesh_shape(self): method dim (line 129) | def dim(self): method center (line 134) | def center(self): method bounds (line 147) | def bounds(self): method neighbors (line 169) | def neighbors(self): method nodes (line 189) | def nodes(self): method edges (line 213) | def edges(self): method faces (line 309) | def faces(self): method get_neighbors (line 403) | def get_neighbors(self, mesh): FILE: discretize/tensor_mesh.py class TensorMesh (line 15) | class TensorMesh( method __repr__ (line 97) | def __repr__(self): method _repr_html_ (line 121) | def _repr_html_(self): method __iter__ (line 166) | def __iter__(self): method __getitem__ (line 171) | def __getitem__(self, indices): method _sanitize_indices (line 228) | def _sanitize_indices(self, indices, dim=None): method _get_cell (line 261) | def _get_cell(self, indices): method cell_volumes (line 297) | def cell_volumes(self): # NOQA D102 method face_x_areas (line 313) | def face_x_areas(self): method face_y_areas (line 344) | def face_y_areas(self): method face_z_areas (line 376) | def face_z_areas(self): method face_areas (line 406) | def face_areas(self): # NOQA D102 method edge_x_lengths (line 416) | def edge_x_lengths(self): method edge_y_lengths (line 445) | def edge_y_lengths(self): method edge_z_lengths (line 478) | def edge_z_lengths(self): method edge_lengths (line 509) | def edge_lengths(self): # NOQA D102 method face_boundary_indices (line 520) | def face_boundary_indices(self): method cell_bounds (line 597) | def cell_bounds(self): method cell_nodes (line 617) | def cell_nodes(self): method cell_boundary_indices (line 684) | def cell_boundary_indices(self): method point2index (line 759) | def point2index(self, locs): # NOQA D102 method _repr_attributes (line 786) | def _repr_attributes(self): function _slice_to_index (line 852) | def _slice_to_index(index_slice, end): FILE: discretize/tests.py function _warn_random_test (line 86) | def _warn_random_test(): function setup_mesh (line 103) | def setup_mesh(mesh_type, nC, nDim, random_seed=None): class OrderTest (line 234) | class OrderTest(unittest.TestCase): method setupMesh (line 337) | def setupMesh(self, nC): method getError (line 356) | def getError(self): method orderTest (line 371) | def orderTest(self, random_seed=None): function assert_expected_order (line 417) | def assert_expected_order( function rosenbrock (line 543) | def rosenbrock(x, return_g=True, return_H=True): function check_derivative (line 581) | def check_derivative( function get_quadratic (line 769) | def get_quadratic(A, b, c=0): function assert_isadjoint (line 814) | def assert_isadjoint( function assert_cell_intersects_geometric (line 936) | def assert_cell_intersects_geometric( FILE: discretize/tree_mesh.py class TreeMesh (line 106) | class TreeMesh( method __init__ (line 242) | def __init__(self, h=None, origin=None, diagonal_balance=None, **kwargs): method __repr__ (line 272) | def __repr__(self): method _repr_html_ (line 324) | def _repr_html_(self): method origin (line 437) | def origin(self, value): # NOQA D102 method refine_bounding_box (line 443) | def refine_bounding_box( method refine_points (line 548) | def refine_points( method refine_surface (line 638) | def refine_surface( method total_nodes (line 801) | def total_nodes(self): method vntF (line 817) | def vntF(self): method vntE (line 832) | def vntE(self): method stencil_cell_gradient (line 847) | def stencil_cell_gradient(self): # NOQA D102 method cell_gradient (line 861) | def cell_gradient(self): # NOQA D102 method cell_gradient_x (line 895) | def cell_gradient_x(self): # NOQA D102 method cell_gradient_y (line 916) | def cell_gradient_y(self): # NOQA D102 method cell_gradient_z (line 938) | def cell_gradient_z(self): # NOQA D102 method face_x_divergence (line 962) | def face_x_divergence(self): # NOQA D102 method face_y_divergence (line 969) | def face_y_divergence(self): # NOQA D102 method face_z_divergence (line 978) | def face_z_divergence(self): # NOQA D102 method point2index (line 984) | def point2index(self, locs): # NOQA D102 method cell_levels_by_index (line 988) | def cell_levels_by_index(self, indices): method get_interpolation_matrix (line 1003) | def get_interpolation_matrix( # NOQA D102 method permute_cells (line 1037) | def permute_cells(self): method permute_faces (line 1049) | def permute_faces(self): method permute_edges (line 1067) | def permute_edges(self): method cell_state (line 1085) | def cell_state(self): method validate (line 1102) | def validate(self): # NOQA D102 method equals (line 1106) | def equals(self, other): # NOQA D102 method __reduce__ (line 1115) | def __reduce__(self): FILE: discretize/unstructured_mesh.py class SimplexMesh (line 17) | class SimplexMesh(BaseMesh, SimplexMeshIO, InterfaceMixins): method __init__ (line 73) | def __init__(self, nodes, simplices): method _number (line 100) | def _number(self): method simplices (line 112) | def simplices(self): method neighbors (line 125) | def neighbors(self): method transform_and_shift (line 145) | def transform_and_shift(self): method dim (line 168) | def dim(self): # NOQA D102 method n_nodes (line 173) | def n_nodes(self): # NOQA D102 method nodes (line 178) | def nodes(self): # NOQA D102 method n_cells (line 183) | def n_cells(self): # NOQA D102 method cell_centers (line 188) | def cell_centers(self): # NOQA D102 method cell_volumes (line 195) | def cell_volumes(self): # NOQA D102 method n_edges (line 206) | def n_edges(self): # NOQA D102 method edges (line 211) | def edges(self): # NOQA D102 method edge_tangents (line 218) | def edge_tangents(self): # NOQA D102 method edge_lengths (line 227) | def edge_lengths(self): # NOQA D102 method n_faces (line 236) | def n_faces(self): # NOQA D102 method faces (line 241) | def faces(self): # NOQA D102 method face_areas (line 248) | def face_areas(self): # NOQA D102 method face_normals (line 261) | def face_normals(self): # NOQA D102 method face_divergence (line 280) | def face_divergence(self): # NOQA D102 method nodal_gradient (line 302) | def nodal_gradient(self): # NOQA D102 method edge_curl (line 314) | def edge_curl(self): # NOQA D102 method __validate_model (line 367) | def __validate_model(self, model, invert_model=False): method __get_inner_product_projection_matrices (line 403) | def __get_inner_product_projection_matrices( method __get_inner_product (line 467) | def __get_inner_product(self, i_type, model, invert_model): method get_face_inner_product (line 495) | def get_face_inner_product( # NOQA D102 method get_edge_inner_product (line 509) | def get_edge_inner_product( # NOQA D102 method __get_inner_product_deriv_func (line 523) | def __get_inner_product_deriv_func(self, i_type, model): method get_face_inner_product_deriv (line 590) | def get_face_inner_product_deriv( # NOQA D102 method get_edge_inner_product_deriv (line 602) | def get_edge_inner_product_deriv( # NOQA D102 method _get_edge_surf_int_proj_mats (line 614) | def _get_edge_surf_int_proj_mats(self, only_boundary=False, with_area=... method cell_centers_tree (line 684) | def cell_centers_tree(self): method point2index (line 695) | def point2index(self, locs): # NOQA D102 method get_interpolation_matrix (line 715) | def get_interpolation_matrix( # NOQA D102 method average_node_to_cell (line 894) | def average_node_to_cell(self): # NOQA D102 method average_node_to_face (line 909) | def average_node_to_face(self): # NOQA D102 method average_node_to_edge (line 924) | def average_node_to_edge(self): # NOQA D102 method average_cell_to_node (line 938) | def average_cell_to_node(self): method average_cell_to_edge (line 966) | def average_cell_to_edge(self): # NOQA D102 method average_face_to_cell_vector (line 987) | def average_face_to_cell_vector(self): # NOQA D102 method average_edge_to_cell_vector (line 1010) | def average_edge_to_cell_vector(self): # NOQA D102 method average_face_to_cell (line 1032) | def average_face_to_cell(self): # NOQA D102 method average_edge_to_cell (line 1049) | def average_edge_to_cell(self): # NOQA D102 method average_edge_to_face (line 1066) | def average_edge_to_face(self): # NOQA D102 method average_cell_to_face (line 1087) | def average_cell_to_face(self): # NOQA D102 method stencil_cell_gradient (line 1098) | def stencil_cell_gradient(self): # NOQA D102 method boundary_face_list (line 1118) | def boundary_face_list(self): method project_face_to_boundary_face (line 1131) | def project_face_to_boundary_face(self): # NOQA D102 method project_edge_to_boundary_edge (line 1136) | def project_edge_to_boundary_edge(self): # NOQA D102 method project_node_to_boundary_node (line 1144) | def project_node_to_boundary_node(self): # NOQA D102 method boundary_nodes (line 1150) | def boundary_nodes(self): # NOQA D102 method boundary_edges (line 1156) | def boundary_edges(self): # NOQA D102 method boundary_faces (line 1164) | def boundary_faces(self): # NOQA D102 method boundary_face_outward_normals (line 1169) | def boundary_face_outward_normals(self): # NOQA D102 method boundary_face_scalar_integral (line 1182) | def boundary_face_scalar_integral(self): # NOQA D102 method boundary_node_vector_integral (line 1193) | def boundary_node_vector_integral(self): # NOQA D102 method boundary_edge_vector_integral (line 1212) | def boundary_edge_vector_integral(self): # NOQA D102 method __reduce__ (line 1250) | def __reduce__(self): FILE: discretize/utils/code_utils.py function is_scalar (line 9) | def is_scalar(f): function as_array_n_by_dim (line 37) | def as_array_n_by_dim(pts, dim): function requires (line 76) | def requires(modules): function deprecate_class (line 118) | def deprecate_class( function deprecate_module (line 171) | def deprecate_module( function deprecate_property (line 207) | def deprecate_property( function deprecate_method (line 272) | def deprecate_method( function deprecate_function (line 330) | def deprecate_function( FILE: discretize/utils/coordinate_utils.py function cylindrical_to_cartesian (line 8) | def cylindrical_to_cartesian(grid, vec=None): function cyl2cart (line 93) | def cyl2cart(grid, vec=None): function cartesian_to_cylindrical (line 105) | def cartesian_to_cylindrical(grid, vec=None): function cart2cyl (line 181) | def cart2cyl(grid, vec=None): function rotation_matrix_from_normals (line 193) | def rotation_matrix_from_normals(v0, v1, tol=1e-20): function rotate_points_from_normals (line 256) | def rotate_points_from_normals(xyz, v0, v1, x0=np.r_[0.0, 0.0, 0.0]): FILE: discretize/utils/curvilinear_utils.py function example_curvilinear_grid (line 8) | def example_curvilinear_grid(nC, exType): function volume_tetrahedron (line 78) | def volume_tetrahedron(xyz, A, B, C, D): function index_cube (line 166) | def index_cube(nodes, grid_shape, n=None): function face_info (line 303) | def face_info(xyz, A, B, C, D, average=True, normalize_normals=True, **k... FILE: discretize/utils/interpolation_utils.py function interpolation_matrix (line 44) | def interpolation_matrix(locs, x, y=None, z=None): function volume_average (line 175) | def volume_average(mesh_in, mesh_out, values=None, output=None): FILE: discretize/utils/io_utils.py function load_mesh (line 9) | def load_mesh(file_name): function download (line 43) | def download(url, folder=".", overwrite=False, verbose=True): FILE: discretize/utils/matrix_utils.py function mkvc (line 9) | def mkvc(x, n_dims=1, **kwargs): function sdiag (line 85) | def sdiag(v): function sdinv (line 117) | def sdinv(M): function speye (line 147) | def speye(n): function kron3 (line 163) | def kron3(A, B, C): function spzeros (line 182) | def spzeros(n1, n2): function ddx (line 200) | def ddx(n): function av (line 227) | def av(n): function av_extrap (line 256) | def av_extrap(n): function ndgrid (line 290) | def ndgrid(*args, vector=True, order="F"): function make_boundary_bool (line 383) | def make_boundary_bool(shape, bdir="xyz", **kwargs): function ind2sub (line 464) | def ind2sub(shape, inds): function sub2ind (line 496) | def sub2ind(shape, subs): function get_subarray (line 547) | def get_subarray(A, ind): function inverse_3x3_block_diagonal (line 607) | def inverse_3x3_block_diagonal( function inverse_2x2_block_diagonal (line 767) | def inverse_2x2_block_diagonal(a11, a12, a21, a22, return_matrix=True, *... function invert_blocks (line 898) | def invert_blocks(A): class TensorType (line 982) | class TensorType(object): method __init__ (line 1047) | def __init__(self, mesh, tensor): method __str__ (line 1070) | def __str__(self): method __eq__ (line 1074) | def __eq__(self, v): method __le__ (line 1078) | def __le__(self, v): method __ge__ (line 1082) | def __ge__(self, v): method __lt__ (line 1086) | def __lt__(self, v): method __gt__ (line 1090) | def __gt__(self, v): function make_property_tensor (line 1095) | def make_property_tensor(mesh, tensor): function inverse_property_tensor (line 1246) | def inverse_property_tensor(mesh, tensor, return_matrix=False, **kwargs): function cross2d (line 1437) | def cross2d(x, y): class Zero (line 1462) | class Zero(object): method __repr__ (line 1492) | def __repr__(self): method __bool__ (line 1496) | def __bool__(self): method __add__ (line 1500) | def __add__(self, v): method __radd__ (line 1504) | def __radd__(self, v): method __iadd__ (line 1508) | def __iadd__(self, v): method __sub__ (line 1512) | def __sub__(self, v): method __rsub__ (line 1516) | def __rsub__(self, v): method __isub__ (line 1520) | def __isub__(self, v): method __mul__ (line 1524) | def __mul__(self, v): method __rmul__ (line 1528) | def __rmul__(self, v): method __matmul__ (line 1532) | def __matmul__(self, v): method __rmatmul__ (line 1536) | def __rmatmul__(self, v): method __div__ (line 1540) | def __div__(self, v): method __truediv__ (line 1544) | def __truediv__(self, v): method __rdiv__ (line 1548) | def __rdiv__(self, v): method __rtruediv__ (line 1552) | def __rtruediv__(self, v): method __rfloordiv__ (line 1556) | def __rfloordiv__(self, v): method __pos__ (line 1560) | def __pos__(self): method __neg__ (line 1564) | def __neg__(self): method __lt__ (line 1568) | def __lt__(self, v): method __le__ (line 1572) | def __le__(self, v): method __eq__ (line 1576) | def __eq__(self, v): method __ne__ (line 1580) | def __ne__(self, v): method __ge__ (line 1584) | def __ge__(self, v): method __gt__ (line 1588) | def __gt__(self, v): method transpose (line 1592) | def transpose(self): method __getitem__ (line 1596) | def __getitem__(self, key): method ndim (line 1601) | def ndim(self): method shape (line 1606) | def shape(self): method T (line 1611) | def T(self): class Identity (line 1616) | class Identity(object): method __init__ (line 1652) | def __init__(self, positive=True): method __repr__ (line 1655) | def __repr__(self): method __bool__ (line 1662) | def __bool__(self): method __pos__ (line 1666) | def __pos__(self): method __neg__ (line 1670) | def __neg__(self): method __add__ (line 1674) | def __add__(self, v): method __radd__ (line 1680) | def __radd__(self, v): method __sub__ (line 1684) | def __sub__(self, v): method __rsub__ (line 1688) | def __rsub__(self, v): method __mul__ (line 1692) | def __mul__(self, v): method __rmul__ (line 1696) | def __rmul__(self, v): method __matmul__ (line 1700) | def __matmul__(self, v): method __rmatmul__ (line 1704) | def __rmatmul__(self, v): method __div__ (line 1708) | def __div__(self, v): method __truediv__ (line 1714) | def __truediv__(self, v): method __rdiv__ (line 1720) | def __rdiv__(self, v): method __rtruediv__ (line 1724) | def __rtruediv__(self, v): method __floordiv__ (line 1728) | def __floordiv__(self, v): method __rfloordiv__ (line 1732) | def __rfloordiv__(self, v): method __lt__ (line 1736) | def __lt__(self, v): method __le__ (line 1740) | def __le__(self, v): method __eq__ (line 1744) | def __eq__(self, v): method __ne__ (line 1748) | def __ne__(self, v): method __ge__ (line 1752) | def __ge__(self, v): method __gt__ (line 1756) | def __gt__(self, v): method ndim (line 1761) | def ndim(self): method shape (line 1766) | def shape(self): method T (line 1771) | def T(self): method transpose (line 1775) | def transpose(self): class _inftup (line 1780) | class _inftup(tuple): method __init__ (line 1783) | def __init__(self, val=None): method __getitem__ (line 1786) | def __getitem__(self, key): method __len__ (line 1791) | def __len__(self): method __repr__ (line 1794) | def __repr__(self): FILE: discretize/utils/mesh_utils.py function random_model (line 17) | def random_model( function unpack_widths (line 117) | def unpack_widths(value): function closest_points_index (line 189) | def closest_points_index(mesh, pts, grid_loc="CC", **kwargs): function extract_core_mesh (line 255) | def extract_core_mesh(xyzlim, mesh, mesh_type="tensor"): function mesh_builder_xyz (line 396) | def mesh_builder_xyz( function refine_tree_xyz (line 567) | def refine_tree_xyz( function active_from_xyz (line 940) | def active_from_xyz(mesh, xyz, grid_reference="CC", method="linear"): function example_simplex_mesh (line 1114) | def example_simplex_mesh(rect_shape): FILE: docs/conf.py function linkcode_resolve (line 158) | def linkcode_resolve(domain, info): FILE: examples/plot_cahn_hilliard.py function run (line 52) | def run(plotIt=True, n=60): FILE: examples/plot_cyl_mirror.py function run (line 14) | def run(plotIt=True): FILE: examples/plot_dc_resistivity.py function run (line 14) | def run(plotIt=True): FILE: examples/plot_image.py function run (line 12) | def run(plotIt=True): FILE: examples/plot_quadtree_divergence.py function run (line 19) | def run(plotIt=True, n=60): FILE: examples/plot_quadtree_hanging.py function run (line 18) | def run(plotIt=True): FILE: examples/plot_slicer_demo.py function beautify (line 63) | def beautify(title, fig=None): FILE: tests/base/test_basemesh.py class TestBaseMesh (line 7) | class TestBaseMesh(unittest.TestCase): method setUp (line 65) | def setUp(self): method test_not_impl_attr (line 68) | def test_not_impl_attr(self): method test_not_impl_func (line 73) | def test_not_impl_func(self): class TestBaseRectangularMesh (line 96) | class TestBaseRectangularMesh(unittest.TestCase): method setUp (line 97) | def setUp(self): method test_meshDimensions (line 100) | def test_meshDimensions(self): method test_mesh_nc (line 103) | def test_mesh_nc(self): method test_mesh_nc_xyz (line 107) | def test_mesh_nc_xyz(self): method test_mesh_nf (line 112) | def test_mesh_nf(self): method test_mesh_ne (line 117) | def test_mesh_ne(self): method test_mesh_numbers (line 122) | def test_mesh_numbers(self): method test_mesh_r_E_V (line 129) | def test_mesh_r_E_V(self): method test_mesh_r_F_V (line 145) | def test_mesh_r_F_V(self): method test_mesh_r_E_M (line 161) | def test_mesh_r_E_M(self): method test_mesh_r_F_M (line 173) | def test_mesh_r_F_M(self): method test_mesh_r_CC_M (line 185) | def test_mesh_r_CC_M(self): method test_serialization (line 197) | def test_serialization(self): class TestMeshNumbers2D (line 204) | class TestMeshNumbers2D(unittest.TestCase): method setUp (line 205) | def setUp(self): method test_meshDimensions (line 208) | def test_meshDimensions(self): method test_mesh_nc (line 211) | def test_mesh_nc(self): method test_mesh_nc_xyz (line 214) | def test_mesh_nc_xyz(self): method test_mesh_nf (line 218) | def test_mesh_nf(self): method test_mesh_ne (line 223) | def test_mesh_ne(self): method test_mesh_numbers (line 228) | def test_mesh_numbers(self): method test_mesh_r_E_V (line 239) | def test_mesh_r_E_V(self): method test_mesh_r_F_V (line 253) | def test_mesh_r_F_V(self): method test_mesh_r_E_M (line 267) | def test_mesh_r_E_M(self): method test_mesh_r_F_M (line 276) | def test_mesh_r_F_M(self): method test_mesh_r_CC_M (line 285) | def test_mesh_r_CC_M(self): FILE: tests/base/test_coordutils.py class coorutilsTest (line 10) | class coorutilsTest(unittest.TestCase): method test_rotation_matrix_from_normals (line 11) | def test_rotation_matrix_from_normals(self): method test_rotate_points_from_normals (line 25) | def test_rotate_points_from_normals(self): method test_rotateMatrixFromNormals (line 37) | def test_rotateMatrixFromNormals(self): method test_rotate_vec_cyl2cart (line 57) | def test_rotate_vec_cyl2cart(self): FILE: tests/base/test_curvilinear.py class BasicCurvTests (line 7) | class BasicCurvTests(unittest.TestCase): method setUp (line 8) | def setUp(self): method test_area_3D (line 23) | def test_area_3D(self): method test_vol_3D (line 82) | def test_vol_3D(self): method test_vol_2D (line 87) | def test_vol_2D(self): method test_edge_3D (line 92) | def test_edge_3D(self): method test_edge_2D (line 175) | def test_edge_2D(self): method test_tangents (line 180) | def test_tangents(self): method test_normals (line 226) | def test_normals(self): method test_grid (line 272) | def test_grid(self): FILE: tests/base/test_curvilinear_vtk.py class TestCurvilinearMeshVTK (line 16) | class TestCurvilinearMeshVTK(unittest.TestCase): method setUp (line 17) | def setUp(self): method test_VTK_object_conversion (line 24) | def test_VTK_object_conversion(self): method test_VTK_file_IO (line 49) | def test_VTK_file_IO(self): FILE: tests/base/test_interpolation.py class TestInterpolation1D (line 43) | class TestInterpolation1D(discretize.tests.OrderTest): method getError (line 52) | def getError(self): method test_orderCC (line 67) | def test_orderCC(self): method test_orderN (line 72) | def test_orderN(self): class TestOutliersInterp1D (line 78) | class TestOutliersInterp1D(unittest.TestCase): method setUp (line 79) | def setUp(self): method test_outliers (line 82) | def test_outliers(self): class TestInterpolation2d (line 95) | class TestInterpolation2d(discretize.tests.OrderTest): method getError (line 104) | def getError(self): method test_orderCC (line 131) | def test_orderCC(self): method test_orderN (line 136) | def test_orderN(self): method test_orderFx (line 141) | def test_orderFx(self): method test_orderFy (line 146) | def test_orderFy(self): method test_orderEx (line 151) | def test_orderEx(self): method test_orderEy (line 156) | def test_orderEy(self): class TestInterpolationSymmetricCyl_Simple (line 162) | class TestInterpolationSymmetricCyl_Simple(unittest.TestCase): method test_simpleInter (line 163) | def test_simpleInter(self): method test_exceptions (line 171) | def test_exceptions(self): class TestInterpolationSymCyl (line 179) | class TestInterpolationSymCyl(discretize.tests.OrderTest): method getError (line 192) | def getError(self): method test_orderCC (line 227) | def test_orderCC(self): method test_orderFx (line 232) | def test_orderFx(self): method test_orderFz (line 237) | def test_orderFz(self): method test_orderEy (line 242) | def test_orderEy(self): class TestInterpolationCyl (line 248) | class TestInterpolationCyl(discretize.tests.OrderTest): method getError (line 260) | def getError(self): method test_orderCC (line 279) | def test_orderCC(self): method test_orderN (line 284) | def test_orderN(self): method test_orderFx (line 289) | def test_orderFx(self): method test_orderFy (line 294) | def test_orderFy(self): method test_orderFz (line 299) | def test_orderFz(self): method test_orderEx (line 304) | def test_orderEx(self): method test_orderEy (line 309) | def test_orderEy(self): method test_orderEz (line 314) | def test_orderEz(self): class TestInterpolation3D (line 320) | class TestInterpolation3D(discretize.tests.OrderTest): method getError (line 329) | def getError(self): method test_orderCC (line 359) | def test_orderCC(self): method test_orderN (line 364) | def test_orderN(self): method test_orderFx (line 369) | def test_orderFx(self): method test_orderFy (line 374) | def test_orderFy(self): method test_orderFz (line 379) | def test_orderFz(self): method test_orderEx (line 384) | def test_orderEx(self): method test_orderEy (line 389) | def test_orderEy(self): method test_orderEz (line 394) | def test_orderEz(self): FILE: tests/base/test_operators.py class TestCurl (line 45) | class TestCurl(discretize.tests.OrderTest): method getError (line 49) | def getError(self): method test_order (line 76) | def test_order(self): class TestCurl2D (line 80) | class TestCurl2D(discretize.tests.OrderTest): method getError (line 86) | def getError(self): method test_order (line 99) | def test_order(self): class TestCellGrad2D_Dirichlet (line 133) | class TestCellGrad2D_Dirichlet(discretize.tests.OrderTest): method getError (line 139) | def getError(self): method test_order (line 157) | def test_order(self): class TestCellGrad3D_Dirichlet (line 161) | class TestCellGrad3D_Dirichlet(discretize.tests.OrderTest): method getError (line 167) | def getError(self): method test_order (line 208) | def test_order(self): class TestCellGrad2D_Neumann (line 212) | class TestCellGrad2D_Neumann(discretize.tests.OrderTest): method getError (line 218) | def getError(self): method test_order (line 236) | def test_order(self): class TestCellGrad3D_Neumann (line 240) | class TestCellGrad3D_Neumann(discretize.tests.OrderTest): method getError (line 246) | def getError(self): method test_order (line 287) | def test_order(self): class TestFaceDiv3D (line 291) | class TestFaceDiv3D(discretize.tests.OrderTest): method getError (line 296) | def getError(self): method test_order (line 321) | def test_order(self): class TestFaceDiv2D (line 325) | class TestFaceDiv2D(discretize.tests.OrderTest): method getError (line 331) | def getError(self): method test_order (line 347) | def test_order(self): class TestNodalGrad (line 351) | class TestNodalGrad(discretize.tests.OrderTest): method getError (line 355) | def getError(self): method test_order (line 373) | def test_order(self): class TestNodalGrad2D (line 377) | class TestNodalGrad2D(discretize.tests.OrderTest): method getError (line 382) | def getError(self): method test_order (line 399) | def test_order(self): class TestAveraging1D (line 403) | class TestAveraging1D(discretize.tests.OrderTest): method getError (line 409) | def getError(self): method test_orderN2CC (line 414) | def test_orderN2CC(self): method test_exactN2F (line 422) | def test_exactN2F(self): method test_orderN2E (line 430) | def test_orderN2E(self): method test_orderF2CC (line 438) | def test_orderF2CC(self): method test_orderF2CCV (line 446) | def test_orderF2CCV(self): method test_orderCC2F (line 454) | def test_orderCC2F(self): method test_exactE2CC (line 464) | def test_exactE2CC(self): method test_exactE2CCV (line 472) | def test_exactE2CCV(self): method test_exactCC2E (line 480) | def test_exactCC2E(self): method test_orderCC2FV (line 488) | def test_orderCC2FV(self): method test_orderE2FV (line 498) | def test_orderE2FV(self): class TestAverating2DSimple (line 507) | class TestAverating2DSimple(unittest.TestCase): method setUp (line 508) | def setUp(self): method test_constantEdges (line 513) | def test_constantEdges(self): method test_constantFaces (line 518) | def test_constantFaces(self): class TestAveraging2D (line 524) | class TestAveraging2D(discretize.tests.OrderTest): method getError (line 530) | def getError(self): method test_orderN2CC (line 535) | def test_orderN2CC(self): method test_orderN2F (line 543) | def test_orderN2F(self): method test_orderN2E (line 551) | def test_orderN2E(self): method test_orderF2CC (line 559) | def test_orderF2CC(self): method test_orderF2CCV (line 567) | def test_orderF2CCV(self): method test_orderCC2F (line 576) | def test_orderCC2F(self): method test_orderE2CC (line 586) | def test_orderE2CC(self): method test_orderE2CCV (line 594) | def test_orderE2CCV(self): method test_orderCC2E (line 603) | def test_orderCC2E(self): method test_orderCC2FV (line 613) | def test_orderCC2FV(self): class TestAverating3DSimple (line 625) | class TestAverating3DSimple(unittest.TestCase): method setUp (line 626) | def setUp(self): method test_constantEdges (line 632) | def test_constantEdges(self): method test_constantFaces (line 637) | def test_constantFaces(self): class TestAveraging3D (line 643) | class TestAveraging3D(discretize.tests.OrderTest): method getError (line 649) | def getError(self): method test_orderN2CC (line 654) | def test_orderN2CC(self): method test_orderN2F (line 662) | def test_orderN2F(self): method test_orderN2E (line 672) | def test_orderN2E(self): method test_orderF2CC (line 682) | def test_orderF2CC(self): method test_orderF2CCV (line 692) | def test_orderF2CCV(self): method test_orderE2CC (line 706) | def test_orderE2CC(self): method test_orderE2CCV (line 716) | def test_orderE2CCV(self): method test_orderCC2F (line 731) | def test_orderCC2F(self): method test_orderCC2E (line 743) | def test_orderCC2E(self): method test_orderCCV2F (line 753) | def test_orderCCV2F(self): class MimeticProperties (line 770) | class MimeticProperties(unittest.TestCase): method test_DivCurl (line 776) | def test_DivCurl(self): method test_CurlGrad (line 790) | def test_CurlGrad(self): FILE: tests/base/test_properties.py function compare_meshes (line 7) | def compare_meshes(test, mesh0, mesh1): class TensorTest (line 54) | class TensorTest(unittest.TestCase): method setUp (line 58) | def setUp(self): method test_save_load (line 61) | def test_save_load(self): method test_copy (line 69) | def test_copy(self): method test_base_updates (line 75) | def test_base_updates(self): class CylTest (line 88) | class CylTest(unittest.TestCase): method setUp (line 91) | def setUp(self): method test_save_load (line 94) | def test_save_load(self): method test_copy (line 102) | def test_copy(self): class CurviTest (line 151) | class CurviTest(unittest.TestCase): method setUp (line 152) | def setUp(self): method test_save_load (line 163) | def test_save_load(self): method test_copy (line 171) | def test_copy(self): method test_base_updates (line 177) | def test_base_updates(self): FILE: tests/base/test_slicer.py function mesh (line 13) | def mesh(): function test_slicer_errors (line 17) | def test_slicer_errors(mesh): function test_slicer_default_clim (line 26) | def test_slicer_default_clim(mesh): function test_slicer_set_clim (line 34) | def test_slicer_set_clim(mesh): function test_slicer_set_norm (line 41) | def test_slicer_set_norm(mesh): function test_slicer_ones_clim (line 49) | def test_slicer_ones_clim(mesh): function test_slicer_zeros_clim (line 56) | def test_slicer_zeros_clim(mesh): FILE: tests/base/test_tensor.py class BasicTensorMeshTests (line 13) | class BasicTensorMeshTests(unittest.TestCase): method setUp (line 14) | def setUp(self): method test_gridded_2D (line 21) | def test_gridded_2D(self): method test_gridded_3D (line 27) | def test_gridded_3D(self): method test_vectorN_2D (line 40) | def test_vectorN_2D(self): method test_vectorCC_2D (line 47) | def test_vectorCC_2D(self): method test_area_3D (line 55) | def test_area_3D(self): method test_vol_3D (line 115) | def test_vol_3D(self): method test_vol_2D (line 120) | def test_vol_2D(self): method test_edge_3D (line 125) | def test_edge_3D(self): method test_edge_2D (line 208) | def test_edge_2D(self): method test_oneCell (line 213) | def test_oneCell(self): method test_printing (line 218) | def test_printing(self): method test_centering (line 223) | def test_centering(self): method test_negative (line 231) | def test_negative(self): method test_cent_neg (line 240) | def test_cent_neg(self): method test_tensor (line 244) | def test_tensor(self): method test_serialization (line 248) | def test_serialization(self): class TestTensorMeshProperties (line 257) | class TestTensorMeshProperties: method mesh (line 263) | def mesh(self, request): method test_cell_nodes (line 276) | def test_cell_nodes(self, mesh): method test_cell_bounds (line 281) | def test_cell_bounds(self, mesh): class TestPoissonEqn (line 287) | class TestPoissonEqn(discretize.tests.OrderTest): method getError (line 291) | def getError(self): method test_orderForward (line 314) | def test_orderForward(self): method test_orderBackward (line 319) | def test_orderBackward(self): function random_tensor_mesh (line 326) | def random_tensor_mesh(request): function test_tensor_point2index_inside_points (line 336) | def test_tensor_point2index_inside_points(random_tensor_mesh): function test_tensor_point2index_outside_points (line 356) | def test_tensor_point2index_outside_points(random_tensor_mesh): FILE: tests/base/test_tensor_cell.py function test_slice_to_index (line 26) | def test_slice_to_index(slice_indices, expected_result): class TestTensorCell (line 34) | class TestTensorCell: method cell (line 38) | def cell(self, request): method test_center (line 58) | def test_center(self, cell): method test_index (line 68) | def test_index(self, cell): method test_index_unraveled (line 78) | def test_index_unraveled(self, cell): method test_bounds (line 88) | def test_bounds(self, cell): method test_eq (line 102) | def test_eq(self, cell, change_h, change_origin, change_index, change_... method test_eq_invalid_type (line 119) | def test_eq_invalid_type(self, cell): class TestTensorMeshCells (line 132) | class TestTensorMeshCells: method mesh (line 136) | def mesh(self, request): method test_cell_centers (line 150) | def test_cell_centers(self, mesh): method test_cell_bounds (line 158) | def test_cell_bounds(self, mesh): method test_cell_int_indices (line 181) | def test_cell_int_indices(self, mesh): method test_cell_negative_int_indices (line 212) | def test_cell_negative_int_indices(self, mesh): method test_cells_single_slice (line 234) | def test_cells_single_slice(self, mesh, start, stop, step): method test_cells_slices (line 244) | def test_cells_slices(self, mesh, step): method test_cells_slices_negative_bounds (line 268) | def test_cells_slices_negative_bounds(self, mesh, step): method generate_expected_cells (line 298) | def generate_expected_cells(self, mesh, start, stop, step): class TestNeighbors (line 333) | class TestNeighbors: method sample_1D (line 337) | def sample_1D(self): method sample_2D (line 345) | def sample_2D(self): method sample_3D (line 353) | def sample_3D(self): method test_neighbors_1D (line 361) | def test_neighbors_1D(self, sample_1D, index): method test_neighbors_2D (line 378) | def test_neighbors_2D(self, sample_2D, index_x, index_y): method test_neighbors_3D (line 410) | def test_neighbors_3D(self, sample_3D, index_x, index_y, index_z): class TestNodes (line 446) | class TestNodes: method cell_1D (line 450) | def cell_1D(self): method cell_2D (line 455) | def cell_2D(self): method cell_3D (line 463) | def cell_3D(self): method test_nodes_indices_1D (line 473) | def test_nodes_indices_1D(self, cell_1D): method test_nodes_indices_2D (line 477) | def test_nodes_indices_2D(self, cell_2D): method test_nodes_indices_3D (line 481) | def test_nodes_indices_3D(self, cell_3D): class TestEdges (line 486) | class TestEdges: method mesh_1D (line 490) | def mesh_1D(self): method mesh_2D (line 497) | def mesh_2D(self): method mesh_3D (line 504) | def mesh_3D(self): method test_edges_1D (line 510) | def test_edges_1D(self, mesh_1D): method test_edges_2D (line 519) | def test_edges_2D(self, mesh_2D): method test_edges_3D (line 533) | def test_edges_3D(self, mesh_3D): class TestFaces (line 556) | class TestFaces: method mesh_1D (line 560) | def mesh_1D(self): method mesh_2D (line 567) | def mesh_2D(self): method mesh_3D (line 574) | def mesh_3D(self): method test_faces_1D (line 580) | def test_faces_1D(self, mesh_1D): method test_faces_2D (line 589) | def test_faces_2D(self, mesh_2D): method test_faces_3D (line 603) | def test_faces_3D(self, mesh_3D): FILE: tests/base/test_tensor_innerproduct.py class TestInnerProducts (line 8) | class TestInnerProducts(discretize.tests.OrderTest): method getError (line 16) | def getError(self): method test_order1_edges (line 82) | def test_order1_edges(self): method test_order1_edges_invert_model (line 89) | def test_order1_edges_invert_model(self): method test_order3_edges (line 96) | def test_order3_edges(self): method test_order3_edges_invert_model (line 103) | def test_order3_edges_invert_model(self): method test_order6_edges (line 110) | def test_order6_edges(self): method test_order6_edges_invert_model (line 117) | def test_order6_edges_invert_model(self): method test_order1_faces (line 124) | def test_order1_faces(self): method test_order1_faces_invert_model (line 131) | def test_order1_faces_invert_model(self): method test_order3_faces (line 138) | def test_order3_faces(self): method test_order3_faces_invert_model (line 145) | def test_order3_faces_invert_model(self): method test_order6_faces (line 152) | def test_order6_faces(self): method test_order6_faces_invert_model (line 159) | def test_order6_faces_invert_model(self): class TestInnerProductsFaceProperties3D (line 167) | class TestInnerProductsFaceProperties3D(discretize.tests.OrderTest): method getError (line 175) | def getError(self): method test_order1_edges (line 256) | def test_order1_edges(self): method test_order1_edges_invert_model (line 263) | def test_order1_edges_invert_model(self): method test_order1_edges_invert_matrix (line 270) | def test_order1_edges_invert_matrix(self): method test_order1_edges_invert_matrix_and_model (line 277) | def test_order1_edges_invert_matrix_and_model(self): method test_order1_faces (line 284) | def test_order1_faces(self): method test_order1_faces_invert_model (line 291) | def test_order1_faces_invert_model(self): method test_order1_faces_invert_matrix (line 298) | def test_order1_faces_invert_matrix(self): method test_order1_faces_invert_matrix_and_model (line 305) | def test_order1_faces_invert_matrix_and_model(self): class TestInnerProductsEdgeProperties3D (line 313) | class TestInnerProductsEdgeProperties3D(discretize.tests.OrderTest): method getError (line 321) | def getError(self): method test_order1_edges (line 372) | def test_order1_edges(self): method test_order1_edges_invert_model (line 379) | def test_order1_edges_invert_model(self): method test_order1_edges_invert_matrix (line 386) | def test_order1_edges_invert_matrix(self): method test_order1_edges_invert_matrix_and_model (line 393) | def test_order1_edges_invert_matrix_and_model(self): class TestInnerProducts2D (line 401) | class TestInnerProducts2D(discretize.tests.OrderTest): method getError (line 409) | def getError(self): method test_order1_edges (line 461) | def test_order1_edges(self): method test_order1_edges_invert_model (line 468) | def test_order1_edges_invert_model(self): method test_order3_edges (line 475) | def test_order3_edges(self): method test_order3_edges_invert_model (line 482) | def test_order3_edges_invert_model(self): method test_order6_edges (line 489) | def test_order6_edges(self): method test_order6_edges_invert_model (line 496) | def test_order6_edges_invert_model(self): method test_order1_faces (line 503) | def test_order1_faces(self): method test_order1_faces_invert_model (line 510) | def test_order1_faces_invert_model(self): method test_order2_faces (line 517) | def test_order2_faces(self): method test_order2_faces_invert_model (line 524) | def test_order2_faces_invert_model(self): method test_order3_faces (line 531) | def test_order3_faces(self): method test_order3_faces_invert_model (line 538) | def test_order3_faces_invert_model(self): class TestInnerProductsFaceProperties2D (line 546) | class TestInnerProductsFaceProperties2D(discretize.tests.OrderTest): method getError (line 554) | def getError(self): method test_order1_edges (line 611) | def test_order1_edges(self): method test_order1_edges_invert_model (line 617) | def test_order1_edges_invert_model(self): method test_order1_faces (line 623) | def test_order1_faces(self): method test_order1_faces_invert_model (line 629) | def test_order1_faces_invert_model(self): class TestInnerProductsEdgeProperties2D (line 636) | class TestInnerProductsEdgeProperties2D(discretize.tests.OrderTest): method getError (line 644) | def getError(self): method test_order1_edges (line 685) | def test_order1_edges(self): method test_order1_edges_invert_model (line 691) | def test_order1_edges_invert_model(self): class TestInnerProducts1D (line 698) | class TestInnerProducts1D(discretize.tests.OrderTest): method getError (line 706) | def getError(self): method test_order1_faces (line 731) | def test_order1_faces(self): method test_order1_faces_invert_model (line 738) | def test_order1_faces_invert_model(self): class TestTensorSizeErrorRaises (line 746) | class TestTensorSizeErrorRaises(unittest.TestCase): method setUp (line 749) | def setUp(self): method test_edge_inner_product_surface (line 753) | def test_edge_inner_product_surface(self): method test_face_inner_product_surface (line 758) | def test_face_inner_product_surface(self): method test_edge_inner_product_line (line 763) | def test_edge_inner_product_line(self): FILE: tests/base/test_tensor_innerproduct_derivs.py class TestInnerProductsDerivsTensor (line 9) | class TestInnerProductsDerivsTensor(unittest.TestCase): method doTestFace (line 10) | def doTestFace( method doTestEdge (line 49) | def doTestEdge( method test_FaceIP_1D_float (line 88) | def test_FaceIP_1D_float(self): method test_FaceIP_2D_float (line 91) | def test_FaceIP_2D_float(self): method test_FaceIP_3D_float (line 94) | def test_FaceIP_3D_float(self): method test_FaceIP_1D_isotropic (line 97) | def test_FaceIP_1D_isotropic(self): method test_FaceIP_2D_isotropic (line 100) | def test_FaceIP_2D_isotropic(self): method test_FaceIP_3D_isotropic (line 103) | def test_FaceIP_3D_isotropic(self): method test_FaceIP_2D_anisotropic (line 106) | def test_FaceIP_2D_anisotropic(self): method test_FaceIP_3D_anisotropic (line 109) | def test_FaceIP_3D_anisotropic(self): method test_FaceIP_2D_tensor (line 112) | def test_FaceIP_2D_tensor(self): method test_FaceIP_3D_tensor (line 115) | def test_FaceIP_3D_tensor(self): method test_FaceIP_1D_float_fast (line 118) | def test_FaceIP_1D_float_fast(self): method test_FaceIP_2D_float_fast (line 121) | def test_FaceIP_2D_float_fast(self): method test_FaceIP_3D_float_fast (line 124) | def test_FaceIP_3D_float_fast(self): method test_FaceIP_1D_isotropic_fast (line 127) | def test_FaceIP_1D_isotropic_fast(self): method test_FaceIP_2D_isotropic_fast (line 130) | def test_FaceIP_2D_isotropic_fast(self): method test_FaceIP_3D_isotropic_fast (line 133) | def test_FaceIP_3D_isotropic_fast(self): method test_FaceIP_2D_anisotropic_fast (line 136) | def test_FaceIP_2D_anisotropic_fast(self): method test_FaceIP_3D_anisotropic_fast (line 139) | def test_FaceIP_3D_anisotropic_fast(self): method test_EdgeIP_1D_float (line 142) | def test_EdgeIP_1D_float(self): method test_EdgeIP_2D_float (line 145) | def test_EdgeIP_2D_float(self): method test_EdgeIP_3D_float (line 148) | def test_EdgeIP_3D_float(self): method test_EdgeIP_1D_isotropic (line 151) | def test_EdgeIP_1D_isotropic(self): method test_EdgeIP_2D_isotropic (line 154) | def test_EdgeIP_2D_isotropic(self): method test_EdgeIP_3D_isotropic (line 157) | def test_EdgeIP_3D_isotropic(self): method test_EdgeIP_2D_anisotropic (line 160) | def test_EdgeIP_2D_anisotropic(self): method test_EdgeIP_3D_anisotropic (line 163) | def test_EdgeIP_3D_anisotropic(self): method test_EdgeIP_2D_tensor (line 166) | def test_EdgeIP_2D_tensor(self): method test_EdgeIP_3D_tensor (line 169) | def test_EdgeIP_3D_tensor(self): method test_EdgeIP_1D_float_fast (line 172) | def test_EdgeIP_1D_float_fast(self): method test_EdgeIP_2D_float_fast (line 175) | def test_EdgeIP_2D_float_fast(self): method test_EdgeIP_3D_float_fast (line 178) | def test_EdgeIP_3D_float_fast(self): method test_EdgeIP_1D_isotropic_fast (line 181) | def test_EdgeIP_1D_isotropic_fast(self): method test_EdgeIP_2D_isotropic_fast (line 184) | def test_EdgeIP_2D_isotropic_fast(self): method test_EdgeIP_3D_isotropic_fast (line 187) | def test_EdgeIP_3D_isotropic_fast(self): method test_EdgeIP_2D_anisotropic_fast (line 190) | def test_EdgeIP_2D_anisotropic_fast(self): method test_EdgeIP_3D_anisotropic_fast (line 193) | def test_EdgeIP_3D_anisotropic_fast(self): method test_FaceIP_1D_float_fast_harmonic (line 196) | def test_FaceIP_1D_float_fast_harmonic(self): method test_FaceIP_2D_float_fast_harmonic (line 203) | def test_FaceIP_2D_float_fast_harmonic(self): method test_FaceIP_3D_float_fast_harmonic (line 210) | def test_FaceIP_3D_float_fast_harmonic(self): method test_FaceIP_1D_isotropic_fast_harmonic (line 217) | def test_FaceIP_1D_isotropic_fast_harmonic(self): method test_FaceIP_2D_isotropic_fast_harmonic (line 224) | def test_FaceIP_2D_isotropic_fast_harmonic(self): method test_FaceIP_3D_isotropic_fast_harmonic (line 231) | def test_FaceIP_3D_isotropic_fast_harmonic(self): method test_FaceIP_2D_anisotropic_fast_harmonic (line 238) | def test_FaceIP_2D_anisotropic_fast_harmonic(self): method test_FaceIP_3D_anisotropic_fast_harmonic (line 245) | def test_FaceIP_3D_anisotropic_fast_harmonic(self): method test_FaceIP_2D_float_Curv (line 252) | def test_FaceIP_2D_float_Curv(self): method test_FaceIP_3D_float_Curv (line 255) | def test_FaceIP_3D_float_Curv(self): method test_FaceIP_2D_isotropic_Curv (line 258) | def test_FaceIP_2D_isotropic_Curv(self): method test_FaceIP_3D_isotropic_Curv (line 261) | def test_FaceIP_3D_isotropic_Curv(self): method test_FaceIP_2D_anisotropic_Curv (line 264) | def test_FaceIP_2D_anisotropic_Curv(self): method test_FaceIP_3D_anisotropic_Curv (line 267) | def test_FaceIP_3D_anisotropic_Curv(self): method test_FaceIP_2D_tensor_Curv (line 270) | def test_FaceIP_2D_tensor_Curv(self): method test_FaceIP_3D_tensor_Curv (line 273) | def test_FaceIP_3D_tensor_Curv(self): method test_FaceIP_2D_float_fast_Curv (line 276) | def test_FaceIP_2D_float_fast_Curv(self): method test_FaceIP_3D_float_fast_Curv (line 279) | def test_FaceIP_3D_float_fast_Curv(self): method test_FaceIP_2D_isotropic_fast_Curv (line 282) | def test_FaceIP_2D_isotropic_fast_Curv(self): method test_FaceIP_3D_isotropic_fast_Curv (line 285) | def test_FaceIP_3D_isotropic_fast_Curv(self): method test_FaceIP_2D_anisotropic_fast_Curv (line 288) | def test_FaceIP_2D_anisotropic_fast_Curv(self): method test_FaceIP_3D_anisotropic_fast_Curv (line 291) | def test_FaceIP_3D_anisotropic_fast_Curv(self): method test_EdgeIP_2D_float_Curv (line 294) | def test_EdgeIP_2D_float_Curv(self): method test_EdgeIP_3D_float_Curv (line 297) | def test_EdgeIP_3D_float_Curv(self): method test_EdgeIP_2D_isotropic_Curv (line 300) | def test_EdgeIP_2D_isotropic_Curv(self): method test_EdgeIP_3D_isotropic_Curv (line 303) | def test_EdgeIP_3D_isotropic_Curv(self): method test_EdgeIP_2D_anisotropic_Curv (line 306) | def test_EdgeIP_2D_anisotropic_Curv(self): method test_EdgeIP_3D_anisotropic_Curv (line 309) | def test_EdgeIP_3D_anisotropic_Curv(self): method test_EdgeIP_2D_tensor_Curv (line 312) | def test_EdgeIP_2D_tensor_Curv(self): method test_EdgeIP_3D_tensor_Curv (line 315) | def test_EdgeIP_3D_tensor_Curv(self): method test_EdgeIP_2D_float_fast_Curv (line 318) | def test_EdgeIP_2D_float_fast_Curv(self): method test_EdgeIP_3D_float_fast_Curv (line 321) | def test_EdgeIP_3D_float_fast_Curv(self): method test_EdgeIP_2D_isotropic_fast_Curv (line 324) | def test_EdgeIP_2D_isotropic_fast_Curv(self): method test_EdgeIP_3D_isotropic_fast_Curv (line 327) | def test_EdgeIP_3D_isotropic_fast_Curv(self): method test_EdgeIP_2D_anisotropic_fast_Curv (line 330) | def test_EdgeIP_2D_anisotropic_fast_Curv(self): method test_EdgeIP_3D_anisotropic_fast_Curv (line 333) | def test_EdgeIP_3D_anisotropic_fast_Curv(self): class TestFacePropertiesInnerProductsDerivsTensor (line 337) | class TestFacePropertiesInnerProductsDerivsTensor(unittest.TestCase): method doTestFace (line 338) | def doTestFace(self, h, rep, meshType, invert_model=False, invert_matr... method doTestEdge (line 371) | def doTestEdge(self, h, rep, meshType, invert_model=False, invert_matr... method test_FaceIP_2D_float (line 404) | def test_FaceIP_2D_float(self): method test_FaceIP_3D_float (line 407) | def test_FaceIP_3D_float(self): method test_FaceIP_2D_isotropic (line 410) | def test_FaceIP_2D_isotropic(self): method test_FaceIP_3D_isotropic (line 413) | def test_FaceIP_3D_isotropic(self): method test_EdgeIP_2D_float (line 416) | def test_EdgeIP_2D_float(self): method test_EdgeIP_3D_float (line 419) | def test_EdgeIP_3D_float(self): method test_EdgeIP_2D_isotropic (line 422) | def test_EdgeIP_2D_isotropic(self): method test_EdgeIP_3D_isotropic (line 425) | def test_EdgeIP_3D_isotropic(self): method test_FaceIP_2D_float_invert_all (line 428) | def test_FaceIP_2D_float_invert_all(self): method test_FaceIP_3D_float_invert_all (line 433) | def test_FaceIP_3D_float_invert_all(self): method test_FaceIP_2D_isotropic_invert_all (line 440) | def test_FaceIP_2D_isotropic_invert_all(self): method test_FaceIP_3D_isotropic_invert_all (line 445) | def test_FaceIP_3D_isotropic_invert_all(self): method test_EdgeIP_2D_float_invert_all (line 452) | def test_EdgeIP_2D_float_invert_all(self): method test_EdgeIP_3D_float_invert_all (line 457) | def test_EdgeIP_3D_float_invert_all(self): method test_EdgeIP_2D_isotropic_invert_all (line 464) | def test_EdgeIP_2D_isotropic_invert_all(self): method test_EdgeIP_3D_isotropic_invert_all (line 469) | def test_EdgeIP_3D_isotropic_invert_all(self): class TestEdgePropertiesInnerProductsDerivsTensor (line 477) | class TestEdgePropertiesInnerProductsDerivsTensor(unittest.TestCase): method doTestEdge (line 478) | def doTestEdge(self, h, rep, meshType, invert_model=False, invert_matr... method test_EdgeIP_2D_float (line 515) | def test_EdgeIP_2D_float(self): method test_EdgeIP_3D_float (line 518) | def test_EdgeIP_3D_float(self): method test_EdgeIP_2D_isotropic (line 521) | def test_EdgeIP_2D_isotropic(self): method test_EdgeIP_3D_isotropic (line 524) | def test_EdgeIP_3D_isotropic(self): method test_EdgeIP_2D_float_invert_all (line 527) | def test_EdgeIP_2D_float_invert_all(self): method test_EdgeIP_3D_float_invert_all (line 532) | def test_EdgeIP_3D_float_invert_all(self): method test_EdgeIP_2D_isotropic_invert_all (line 539) | def test_EdgeIP_2D_isotropic_invert_all(self): method test_EdgeIP_3D_isotropic_invert_all (line 544) | def test_EdgeIP_3D_isotropic_invert_all(self): class TestTensorSizeErrorRaises (line 552) | class TestTensorSizeErrorRaises(unittest.TestCase): method setUp (line 555) | def setUp(self): method test_edge_inner_product_surface_deriv (line 559) | def test_edge_inner_product_surface_deriv(self): method test_face_inner_product_surface_deriv (line 564) | def test_face_inner_product_surface_deriv(self): method test_edge_inner_product_line_deriv (line 569) | def test_edge_inner_product_line_deriv(self): class TestNone (line 575) | class TestNone(unittest.TestCase): method setUp (line 578) | def setUp(self): method test_edge_inner_product_surface_deriv (line 581) | def test_edge_inner_product_surface_deriv(self): method test_face_inner_product_surface_deriv (line 584) | def test_face_inner_product_surface_deriv(self): method test_edge_inner_product_line_deriv (line 587) | def test_edge_inner_product_line_deriv(self): FILE: tests/base/test_tensor_io.py function test_write_read_ubc_mesh_model (line 14) | def test_write_read_ubc_mesh_model(dim, tmp_path): function test_VTKfiles (line 43) | def test_VTKfiles(tmp_path): FILE: tests/base/test_tensor_omf.py class TestTensorMeshOMF (line 16) | class TestTensorMeshOMF(unittest.TestCase): method setUp (line 17) | def setUp(self): method test_to_omf (line 22) | def test_to_omf(self): method test_from_omf (line 52) | def test_from_omf(self): FILE: tests/base/test_tensor_vtk.py class TestTensorMeshVTK (line 15) | class TestTensorMeshVTK(unittest.TestCase): method setUp (line 16) | def setUp(self): method test_VTK_object_conversion (line 21) | def test_VTK_object_conversion(self): FILE: tests/base/test_tests.py class TestAssertIsAdjoint (line 16) | class TestAssertIsAdjoint: method test_defaults (line 17) | def test_defaults(self, capsys): method test_different_shape (line 51) | def test_different_shape(self): method test_complex_clinear (line 72) | def test_complex_clinear(self): class TestCheckDerivative (line 86) | class TestCheckDerivative: method test_simplePass (line 87) | def test_simplePass(self): method test_simpleFunction (line 96) | def test_simpleFunction(self): method test_simpleFail (line 105) | def test_simpleFail(self): function test_expected_order_pass (line 117) | def test_expected_order_pass(test_type): function test_expected_order_failed (line 137) | def test_expected_order_failed(test_type): function test_expected_order_bad_test_type (line 157) | def test_expected_order_bad_test_type(): function test_import_time (line 164) | def test_import_time(): function test_random_test_warning (line 177) | def test_random_test_warning(): FILE: tests/base/test_utils.py class TestSequenceFunctions (line 32) | class TestSequenceFunctions(unittest.TestCase): method setUp (line 33) | def setUp(self): method test_mkvc1 (line 38) | def test_mkvc1(self): method test_mkvc2 (line 42) | def test_mkvc2(self): method test_mkvc3 (line 46) | def test_mkvc3(self): method test_ndgrid_2D (line 50) | def test_ndgrid_2D(self): method test_ndgrid_3D (line 59) | def test_ndgrid_3D(self): method test_sub2ind (line 76) | def test_sub2ind(self): method test_ind2sub (line 87) | def test_ind2sub(self): method test_index_cube_2D (line 92) | def test_index_cube_2D(self): method test_index_cube_3D (line 99) | def test_index_cube_3D(self): method test_invXXXBlockDiagonal (line 126) | def test_invXXXBlockDiagonal(self): method test_inverse_property_tensor2D (line 157) | def test_inverse_property_tensor2D(self): method test_TensorType2D (line 178) | def test_TensorType2D(self): method test_TensorType3D (line 194) | def test_TensorType3D(self): method test_inverse_property_tensor3D (line 213) | def test_inverse_property_tensor3D(self): method test_is_scalar (line 237) | def test_is_scalar(self): method test_as_array_n_by_dim (line 251) | def test_as_array_n_by_dim(self): class TestZero (line 273) | class TestZero(unittest.TestCase): method test_zero (line 274) | def test_zero(self): method test_mat_zero (line 305) | def test_mat_zero(self): method test_numpy_multiply (line 310) | def test_numpy_multiply(self): method test_one (line 321) | def test_one(self): method test_mat_one (line 363) | def test_mat_one(self): method test_mat_shape (line 385) | def test_mat_shape(self): method test_numpy_one (line 396) | def test_numpy_one(self): method test_both (line 413) | def test_both(self): class TestMeshUtils (line 424) | class TestMeshUtils(unittest.TestCase): method test_extract_core_mesh (line 425) | def test_extract_core_mesh(self): method test_active_from_xyz (line 462) | def test_active_from_xyz(self): function test_cross2d (line 622) | def test_cross2d(): FILE: tests/base/test_view.py class Cyl3DView (line 18) | class Cyl3DView(unittest.TestCase): method setUp (line 19) | def setUp(self): method test_incorrectAxesWarnings (line 22) | def test_incorrectAxesWarnings(self): method test_plot_image (line 56) | def test_plot_image(self): FILE: tests/base/test_volume_avg.py function generate_mesh (line 8) | def generate_mesh(dim, mesh_type, tree_point=None, sub_mesh=False, seed=0): function test_volume_average (line 42) | def test_volume_average(dim, mesh1_type, mesh2_type, same_base, sub_mesh... function test_errors (line 98) | def test_errors(): FILE: tests/boundaries/test_boundary_integrals.py function u (line 7) | def u(*args): function u_cyl (line 18) | def u_cyl(*args): function v (line 23) | def v(*args): function v_cyl (line 34) | def v_cyl(*args): function w (line 40) | def w(*args): function w_cyl (line 48) | def w_cyl(*args): class Test1DBoundaryIntegral (line 83) | class Test1DBoundaryIntegral(discretize.tests.OrderTest): method getError (line 90) | def getError(self): method test_orderWeakCellGradIntegral (line 116) | def test_orderWeakCellGradIntegral(self): method test_orderWeakEdgeDivIntegral (line 121) | def test_orderWeakEdgeDivIntegral(self): class Test2DBoundaryIntegral (line 127) | class Test2DBoundaryIntegral(discretize.tests.OrderTest): method getError (line 140) | def getError(self): method test_orderWeakCellGradIntegral (line 190) | def test_orderWeakCellGradIntegral(self): method test_orderWeakEdgeDivIntegral (line 195) | def test_orderWeakEdgeDivIntegral(self): method test_orderWeakFaceCurlIntegral (line 200) | def test_orderWeakFaceCurlIntegral(self): class Test3DBoundaryIntegral (line 206) | class Test3DBoundaryIntegral(discretize.tests.OrderTest): method getError (line 220) | def getError(self): method test_orderWeakCellGradIntegral (line 268) | def test_orderWeakCellGradIntegral(self): method test_orderWeakEdgeDivIntegral (line 273) | def test_orderWeakEdgeDivIntegral(self): method test_orderWeakFaceCurlIntegral (line 278) | def test_orderWeakFaceCurlIntegral(self): FILE: tests/boundaries/test_boundary_maxwell.py class TestFz2D_InhomogeneousDirichlet (line 7) | class TestFz2D_InhomogeneousDirichlet(discretize.tests.OrderTest): method getError (line 14) | def getError(self): method test_orderX (line 44) | def test_orderX(self): class TestE3D_Inhomogeneous (line 50) | class TestE3D_Inhomogeneous(discretize.tests.OrderTest): method getError (line 57) | def getError(self): method test_orderFace (line 117) | def test_orderFace(self): method test_orderNuemann (line 122) | def test_orderNuemann(self): FILE: tests/boundaries/test_boundary_poisson.py class TestCC1D_InhomogeneousDirichlet (line 10) | class TestCC1D_InhomogeneousDirichlet(discretize.tests.OrderTest): method getError (line 17) | def getError(self): method test_orderX (line 47) | def test_orderX(self): class TestCC2D_InhomogeneousDirichlet (line 53) | class TestCC2D_InhomogeneousDirichlet(discretize.tests.OrderTest): method getError (line 60) | def getError(self): method test_orderX (line 90) | def test_orderX(self): class TestCC1D_InhomogeneousNeumann (line 96) | class TestCC1D_InhomogeneousNeumann(discretize.tests.OrderTest): method getError (line 103) | def getError(self): method test_orderJ (line 151) | def test_orderJ(self): method test_orderXJ (line 156) | def test_orderXJ(self): class TestCC2D_InhomogeneousNeumann (line 162) | class TestCC2D_InhomogeneousNeumann(discretize.tests.OrderTest): method getError (line 170) | def getError(self): method test_orderX (line 219) | def test_orderX(self): class TestCC1D_InhomogeneousMixed (line 225) | class TestCC1D_InhomogeneousMixed(discretize.tests.OrderTest): method getError (line 232) | def getError(self): method test_orderX (line 272) | def test_orderX(self): method test_orderXJ (line 277) | def test_orderXJ(self): class TestCC2D_InhomogeneousMixed (line 283) | class TestCC2D_InhomogeneousMixed(discretize.tests.OrderTest): method getError (line 291) | def getError(self): method test_orderX (line 344) | def test_orderX(self): class TestCC3D_InhomogeneousMixed (line 350) | class TestCC3D_InhomogeneousMixed(discretize.tests.OrderTest): method getError (line 357) | def getError(self): method test_orderX (line 432) | def test_orderX(self): class TestN1D_boundaries (line 438) | class TestN1D_boundaries(discretize.tests.OrderTest): method getError (line 446) | def getError(self): method test_orderNuemannX (line 500) | def test_orderNuemannX(self): method test_orderRobinX (line 505) | def test_orderRobinX(self): method test_orderMixed (line 510) | def test_orderMixed(self): class TestN2D_boundaries (line 516) | class TestN2D_boundaries(discretize.tests.OrderTest): method getError (line 525) | def getError(self): method test_orderNuemannX (line 601) | def test_orderNuemannX(self): method test_orderRobinX (line 606) | def test_orderRobinX(self): method test_orderMixed (line 611) | def test_orderMixed(self): class TestN3D_boundaries (line 617) | class TestN3D_boundaries(discretize.tests.OrderTest): method getError (line 626) | def getError(self): method test_orderNuemannX (line 725) | def test_orderNuemannX(self): method test_orderRobinX (line 730) | def test_orderRobinX(self): method test_orderMixed (line 735) | def test_orderMixed(self): FILE: tests/boundaries/test_errors.py class RobinOperatorTest (line 9) | class RobinOperatorTest(unittest.TestCase): method setUp (line 10) | def setUp(self): method testCellGradBroadcasting (line 13) | def testCellGradBroadcasting(self): method testEdgeDivBroadcasting (line 46) | def testEdgeDivBroadcasting(self): method testEdgeDivErrors (line 108) | def testEdgeDivErrors(self): class mesh1DTests (line 133) | class mesh1DTests(unittest.TestCase): method setUp (line 134) | def setUp(self): method testItems (line 137) | def testItems(self): FILE: tests/boundaries/test_tensor_boundary.py function getxBCyBC_CC (line 9) | def getxBCyBC_CC(mesh, alpha, beta, gamma): class Test1D_InhomogeneousMixed (line 177) | class Test1D_InhomogeneousMixed(discretize.tests.OrderTest): method getError (line 184) | def getError(self): method test_order (line 234) | def test_order(self): class Test2D_InhomogeneousMixed (line 241) | class Test2D_InhomogeneousMixed(discretize.tests.OrderTest): method getError (line 248) | def getError(self): method test_order (line 328) | def test_order(self): class Test3D_InhomogeneousMixed (line 335) | class Test3D_InhomogeneousMixed(discretize.tests.OrderTest): method getError (line 342) | def getError(self): method test_order (line 459) | def test_order(self): FILE: tests/boundaries/test_tensor_boundary_poisson.py class Test1D_InhomogeneousDirichlet (line 12) | class Test1D_InhomogeneousDirichlet(discretize.tests.OrderTest): method getError (line 19) | def getError(self): method test_orderJ (line 70) | def test_orderJ(self): method test_orderQ (line 75) | def test_orderQ(self): method test_orderX (line 80) | def test_orderX(self): method test_orderXJ (line 85) | def test_orderXJ(self): class Test2D_InhomogeneousDirichlet (line 91) | class Test2D_InhomogeneousDirichlet(discretize.tests.OrderTest): method getError (line 98) | def getError(self): method test_orderJ (line 152) | def test_orderJ(self): method test_orderQ (line 157) | def test_orderQ(self): method test_orderX (line 162) | def test_orderX(self): method test_orderXJ (line 167) | def test_orderXJ(self): class Test1D_InhomogeneousNeumann (line 173) | class Test1D_InhomogeneousNeumann(discretize.tests.OrderTest): method getError (line 180) | def getError(self): method test_orderJ (line 234) | def test_orderJ(self): method test_orderQ (line 239) | def test_orderQ(self): method test_orderXJ (line 244) | def test_orderXJ(self): class Test2D_InhomogeneousNeumann (line 250) | class Test2D_InhomogeneousNeumann(discretize.tests.OrderTest): method getError (line 258) | def getError(self): method test_orderJ (line 319) | def test_orderJ(self): method test_orderQ (line 324) | def test_orderQ(self): method test_orderXJ (line 329) | def test_orderXJ(self): class Test1D_InhomogeneousMixed (line 335) | class Test1D_InhomogeneousMixed(discretize.tests.OrderTest): method getError (line 342) | def getError(self): method test_orderJ (line 396) | def test_orderJ(self): method test_orderQ (line 401) | def test_orderQ(self): method test_orderXJ (line 406) | def test_orderXJ(self): class Test2D_InhomogeneousMixed (line 412) | class Test2D_InhomogeneousMixed(discretize.tests.OrderTest): method getError (line 420) | def getError(self): method test_orderJ (line 496) | def test_orderJ(self): method test_orderQ (line 501) | def test_orderQ(self): method test_orderXJ (line 506) | def test_orderXJ(self): FILE: tests/cyl/test_cyl.py class TestCylSymmetricMesh (line 11) | class TestCylSymmetricMesh(unittest.TestCase): method setUp (line 12) | def setUp(self): method test_vectorsCC (line 17) | def test_vectorsCC(self): method test_vectorsN (line 25) | def test_vectorsN(self): method test_edge (line 33) | def test_edge(self): method test_area (line 37) | def test_area(self): method test_vol (line 46) | def test_vol(self): method test_vol_simple (line 52) | def test_vol_simple(self): method test_gridSizes (line 59) | def test_gridSizes(self): method test_gridCC (line 71) | def test_gridCC(self): method test_gridN (line 78) | def test_gridN(self): method test_gridFx (line 85) | def test_gridFx(self): method test_gridFz (line 92) | def test_gridFz(self): method test_gridEy (line 99) | def test_gridEy(self): method test_lightOperators (line 106) | def test_lightOperators(self): method test_getInterpMatCartMesh_Cells (line 109) | def test_getInterpMatCartMesh_Cells(self): method test_getInterpMatCartMesh_Cells2Nodes (line 128) | def test_getInterpMatCartMesh_Cells2Nodes(self): method test_getInterpMatCartMesh_Faces (line 149) | def test_getInterpMatCartMesh_Faces(self): method test_getInterpMatCartMesh_Faces2Edges (line 180) | def test_getInterpMatCartMesh_Faces2Edges(self): method test_getInterpMatCartMesh_Edges (line 213) | def test_getInterpMatCartMesh_Edges(self): method test_getInterpMatCartMesh_Edges2Faces (line 244) | def test_getInterpMatCartMesh_Edges2Faces(self): method test_serialization (line 275) | def test_serialization(self): class TestFaceDiv2D (line 297) | class TestFaceDiv2D(tests.OrderTest): method getError (line 302) | def getError(self): method test_order (line 320) | def test_order(self): class TestEdgeCurl2D (line 324) | class TestEdgeCurl2D(tests.OrderTest): method getError (line 329) | def getError(self): method test_order (line 359) | def test_order(self): class TestCellGrad2D_Dirichlet (line 363) | class TestCellGrad2D_Dirichlet(unittest.TestCase): method setUp (line 390) | def setUp(self): method test_NotImplementedError (line 395) | def test_NotImplementedError(self): class TestAveragingSimple (line 400) | class TestAveragingSimple(unittest.TestCase): method setUp (line 401) | def setUp(self): method test_simpleEdges (line 406) | def test_simpleEdges(self): method test_constantFaces (line 417) | def test_constantFaces(self): class TestAveE2CC (line 424) | class TestAveE2CC(tests.OrderTest): method getError (line 430) | def getError(self): method test_order (line 441) | def test_order(self): class TestAveE2CCV (line 445) | class TestAveE2CCV(tests.OrderTest): method getError (line 451) | def getError(self): method test_order (line 462) | def test_order(self): class TestAveF2CCV (line 466) | class TestAveF2CCV(tests.OrderTest): method getError (line 471) | def getError(self): method test_order (line 489) | def test_order(self): class TestAveF2CC (line 493) | class TestAveF2CC(tests.OrderTest): method getError (line 498) | def getError(self): method test_order (line 511) | def test_order(self): class TestCyl3DMesh (line 570) | class TestCyl3DMesh(unittest.TestCase): method setUp (line 571) | def setUp(self): method test_vectorsCC (line 577) | def test_vectorsCC(self): method test_vectorsN (line 585) | def test_vectorsN(self): function test_non_sym_errors (line 594) | def test_non_sym_errors(): function test_sym_errors (line 639) | def test_sym_errors(): FILE: tests/cyl/test_cyl3D.py class TestCyl3DGeometries (line 10) | class TestCyl3DGeometries(unittest.TestCase): method setUp (line 11) | def setUp(self): method test_areas (line 19) | def test_areas(self): method test_edges (line 39) | def test_edges(self): method test_vol (line 68) | def test_vol(self): function test_boundary_items (line 83) | def test_boundary_items(): class Cyl3DGrid (line 108) | class Cyl3DGrid(unittest.TestCase): method setUp (line 109) | def setUp(self): method test_counting (line 112) | def test_counting(self): method test_gridCC (line 151) | def test_gridCC(self): method test_gridN (line 184) | def test_gridN(self): method test_gridFx (line 209) | def test_gridFx(self): method test_gridFy (line 226) | def test_gridFy(self): method test_gridFz (line 243) | def test_gridFz(self): method test_gridEx (line 266) | def test_gridEx(self): method test_gridEy (line 283) | def test_gridEy(self): method test_gridEz (line 306) | def test_gridEz(self): class TestCartesianGrid (line 329) | class TestCartesianGrid(unittest.TestCase): method test_cartesianGrid (line 330) | def test_cartesianGrid(self): class Deflation (line 356) | class Deflation(unittest.TestCase): method test_areas (line 357) | def test_areas(self): FILE: tests/cyl/test_cylOperators.py class FaceInnerProductFctsIsotropic (line 41) | class FaceInnerProductFctsIsotropic(object): method fcts (line 42) | def fcts(self): method sol (line 62) | def sol(self): method vectors (line 76) | def vectors(self, mesh): class EdgeInnerProductFctsIsotropic (line 94) | class EdgeInnerProductFctsIsotropic(object): method fcts (line 95) | def fcts(self): method sol (line 115) | def sol(self): method vectors (line 128) | def vectors(self, mesh): class TestCylInnerProducts_simple (line 146) | class TestCylInnerProducts_simple(unittest.TestCase): method setUp (line 147) | def setUp(self): method test_FaceInnerProductIsotropic (line 151) | def test_FaceInnerProductIsotropic(self): method test_EdgeInnerProduct (line 171) | def test_EdgeInnerProduct(self): class TestCylFaceInnerProducts_Order (line 192) | class TestCylFaceInnerProducts_Order(tests.OrderTest): method getError (line 196) | def getError(self): method test_order (line 202) | def test_order(self): class TestCylEdgeInnerProducts_Order (line 206) | class TestCylEdgeInnerProducts_Order(tests.OrderTest): method getError (line 210) | def getError(self): method test_order (line 216) | def test_order(self): FILE: tests/cyl/test_cyl_counting.py function test_pizza_slice_counting (line 5) | def test_pizza_slice_counting(): function test_ring_counting (line 104) | def test_ring_counting(): function test_cyl_tensor_counting (line 203) | def test_cyl_tensor_counting(): function test_sym_ring_counting (line 300) | def test_sym_ring_counting(): function test_sym_full_counting (line 358) | def test_sym_full_counting(): function test_wrapped_counting (line 417) | def test_wrapped_counting(): FILE: tests/cyl/test_cyl_innerproducts.py class FaceInnerProductFctsIsotropic (line 15) | class FaceInnerProductFctsIsotropic(object): method fcts (line 18) | def fcts(self): method sol (line 31) | def sol(self): method vectors (line 45) | def vectors(self, mesh): class FaceInnerProductFunctionsDiagAnisotropic (line 61) | class FaceInnerProductFunctionsDiagAnisotropic(FaceInnerProductFctsIsotr... method fcts (line 67) | def fcts(self): method vectors (line 80) | def vectors(self, mesh): class EdgeInnerProductFctsIsotropic (line 97) | class EdgeInnerProductFctsIsotropic(object): method fcts (line 100) | def fcts(self): method sol (line 108) | def sol(self): method vectors (line 120) | def vectors(self, mesh): class EdgeInnerProductFunctionsDiagAnisotropic (line 133) | class EdgeInnerProductFunctionsDiagAnisotropic(EdgeInnerProductFctsIsotr... method vectors (line 139) | def vectors(self, mesh): class FaceInnerProductFctsFacePropertiesIsotropic (line 151) | class FaceInnerProductFctsFacePropertiesIsotropic(object): method fcts (line 154) | def fcts(self): method sol (line 167) | def sol(self): method vectors (line 180) | def vectors(self, mesh): class EdgeInnerProductFctsFacePropertiesIsotropic (line 206) | class EdgeInnerProductFctsFacePropertiesIsotropic(object): method fcts (line 209) | def fcts(self): method sol (line 221) | def sol(self): method vectors (line 243) | def vectors(self, mesh): class TestCylInnerProducts_simple (line 267) | class TestCylInnerProducts_simple(unittest.TestCase): method setUp (line 268) | def setUp(self): method test_FaceInnerProductIsotropic (line 272) | def test_FaceInnerProductIsotropic(self): method test_FaceInnerProductDiagAnisotropic (line 292) | def test_FaceInnerProductDiagAnisotropic(self): method test_EdgeInnerProduct (line 312) | def test_EdgeInnerProduct(self): method test_EdgeInnerProductDiagAnisotropic (line 332) | def test_EdgeInnerProductDiagAnisotropic(self): method test_FaceInnerProductFacePropertiesIsotropic (line 353) | def test_FaceInnerProductFacePropertiesIsotropic(self): method test_EdgeInnerProductFacePropertiesIsotropic (line 373) | def test_EdgeInnerProductFacePropertiesIsotropic(self): class TestCylFaceInnerProducts_Order (line 394) | class TestCylFaceInnerProducts_Order(tests.OrderTest): method getError (line 398) | def getError(self): method test_order (line 404) | def test_order(self): class TestCylEdgeInnerProducts_Order (line 408) | class TestCylEdgeInnerProducts_Order(tests.OrderTest): method getError (line 412) | def getError(self): method test_order (line 418) | def test_order(self): class TestCylFaceInnerProductsDiagAnisotropic_Order (line 422) | class TestCylFaceInnerProductsDiagAnisotropic_Order(tests.OrderTest): method getError (line 426) | def getError(self): method test_order (line 432) | def test_order(self): class TestCylFaceInnerProductsFaceProperties_Order (line 436) | class TestCylFaceInnerProductsFaceProperties_Order(tests.OrderTest): method getError (line 440) | def getError(self): method test_order (line 446) | def test_order(self): class TestCylEdgeInnerProductsFaceProperties_Order (line 450) | class TestCylEdgeInnerProductsFaceProperties_Order(tests.OrderTest): method getError (line 454) | def getError(self): method test_order (line 460) | def test_order(self): class TestCylInnerProducts_Deriv (line 464) | class TestCylInnerProducts_Deriv(unittest.TestCase): method setUp (line 465) | def setUp(self): method test_FaceInnerProductIsotropicDeriv (line 473) | def test_FaceInnerProductIsotropicDeriv(self): method test_FaceInnerProductIsotropicDerivInvProp (line 486) | def test_FaceInnerProductIsotropicDerivInvProp(self): method test_FaceInnerProductIsotropicDerivInvMat (line 501) | def test_FaceInnerProductIsotropicDerivInvMat(self): method test_FaceInnerProductIsotropicDerivInvPropInvMat (line 516) | def test_FaceInnerProductIsotropicDerivInvPropInvMat(self): method test_EdgeInnerProductIsotropicDeriv (line 533) | def test_EdgeInnerProductIsotropicDeriv(self): method test_EdgeInnerProductIsotropicDerivInvProp (line 546) | def test_EdgeInnerProductIsotropicDerivInvProp(self): method test_EdgeInnerProductIsotropicDerivInvMat (line 561) | def test_EdgeInnerProductIsotropicDerivInvMat(self): method test_EdgeInnerProductIsotropicDerivInvPropInvMat (line 576) | def test_EdgeInnerProductIsotropicDerivInvPropInvMat(self): class TestCylInnerProductsAnisotropic_Deriv (line 594) | class TestCylInnerProductsAnisotropic_Deriv(unittest.TestCase): method setUp (line 595) | def setUp(self): method test_FaceInnerProductAnisotropicDeriv (line 605) | def test_FaceInnerProductAnisotropicDeriv(self): method test_FaceInnerProductAnisotropicDerivInvProp (line 627) | def test_FaceInnerProductAnisotropicDerivInvProp(self): method test_FaceInnerProductAnisotropicDerivInvMat (line 647) | def test_FaceInnerProductAnisotropicDerivInvMat(self): method test_FaceInnerProductAnisotropicDerivInvPropInvMat (line 667) | def test_FaceInnerProductAnisotropicDerivInvPropInvMat(self): method test_EdgeInnerProductAnisotropicDeriv (line 691) | def test_EdgeInnerProductAnisotropicDeriv(self): method test_EdgeInnerProductAnisotropicDerivInvProp (line 711) | def test_EdgeInnerProductAnisotropicDerivInvProp(self): method test_EdgeInnerProductAnisotropicDerivInvMat (line 731) | def test_EdgeInnerProductAnisotropicDerivInvMat(self): method test_EdgeInnerProductAnisotropicDerivInvPropInvMat (line 751) | def test_EdgeInnerProductAnisotropicDerivInvPropInvMat(self): class TestCylInnerProductsFaceProperties_Deriv (line 776) | class TestCylInnerProductsFaceProperties_Deriv(unittest.TestCase): method setUp (line 777) | def setUp(self): method test_FaceInnerProductIsotropicDeriv (line 788) | def test_FaceInnerProductIsotropicDeriv(self): method test_FaceInnerProductIsotropicDerivInvProp (line 801) | def test_FaceInnerProductIsotropicDerivInvProp(self): method test_FaceInnerProductIsotropicDerivInvMat (line 816) | def test_FaceInnerProductIsotropicDerivInvMat(self): method test_EdgeInnerProductIsotropicDeriv (line 831) | def test_EdgeInnerProductIsotropicDeriv(self): method test_EdgeInnerProductIsotropicDerivInvProp (line 844) | def test_EdgeInnerProductIsotropicDerivInvProp(self): method test_EdgeInnerProductIsotropicDerivInvMat (line 859) | def test_EdgeInnerProductIsotropicDerivInvMat(self): FILE: tests/cyl/test_cyl_io.py function test_convert_zero_wrapped_to_vtk (line 18) | def test_convert_zero_wrapped_to_vtk(): function test_convert_zero_nonwrapped_to_vtk (line 24) | def test_convert_zero_nonwrapped_to_vtk(): function test_convert_nonzero_wrapped_to_vtk (line 30) | def test_convert_nonzero_wrapped_to_vtk(): function test_convert_nonzero_nonwrapped_to_vtk (line 36) | def test_convert_nonzero_nonwrapped_to_vtk(): function test_convert_zero_wrapped_plot_grid (line 42) | def test_convert_zero_wrapped_plot_grid(): function test_convert_zero_nonwrapped_plot_grid (line 48) | def test_convert_zero_nonwrapped_plot_grid(): function test_convert_nonzero_wrapped_plot_grid (line 54) | def test_convert_nonzero_wrapped_plot_grid(): function test_convert_nonzero_nonwrapped_plot_grid (line 60) | def test_convert_nonzero_nonwrapped_plot_grid(): function cleanup_files (line 66) | def cleanup_files(monkeypatch): FILE: tests/cyl/test_cyl_operators.py function lambdify_vector (line 19) | def lambdify_vector(variabls, u_vecs, func): function setup_mesh (line 62) | def setup_mesh(mesh_type, n): function get_integration_limits (line 113) | def get_integration_limits(mesh_type): function test_edge_curl (line 128) | def test_edge_curl(mesh_type): function test_nodal_gradient (line 152) | def test_nodal_gradient(mesh_type): function test_face_divergence (line 172) | def test_face_divergence(mesh_type): function test_ave_edge_to_face (line 196) | def test_ave_edge_to_face(mesh_type): function test_ave_edge_to_cell (line 214) | def test_ave_edge_to_cell(mesh_type): function test_ave_face_to_cell (line 232) | def test_ave_face_to_cell(mesh_type): function test_ave_cell_to_face (line 250) | def test_ave_cell_to_face(mesh_type): function test_ave_node_to_cell (line 268) | def test_ave_node_to_cell(mesh_type): function test_ave_node_to_face (line 286) | def test_ave_node_to_face(mesh_type): function test_ave_face_to_cell_vector (line 304) | def test_ave_face_to_cell_vector(mesh_type): function test_ave_edge_to_cell_vector (line 326) | def test_ave_edge_to_cell_vector(mesh_type): function test_mimetic_div_curl (line 348) | def test_mimetic_div_curl(mesh_type): function test_mimetic_curl_grad (line 357) | def test_mimetic_curl_grad(mesh_type): function test_simple_edge_inner_product (line 366) | def test_simple_edge_inner_product(mesh_type): function test_simple_face_inner_product (line 391) | def test_simple_face_inner_product(mesh_type): function test_simple_edge_ave (line 416) | def test_simple_edge_ave(mesh_type): function test_simple_face_ave (line 428) | def test_simple_face_ave(mesh_type): function test_gradient_boundary_integral (line 440) | def test_gradient_boundary_integral(mesh_type): function test_div_boundary_integral (line 479) | def test_div_boundary_integral(mesh_type): function test_curl_boundary_integral (line 517) | def test_curl_boundary_integral(mesh_type): function test_interpolation (line 568) | def test_interpolation(mesh_type, location_type): FILE: tests/simplex/test_inner_products.py function u (line 10) | def u(*args): function v (line 21) | def v(*args): function w (line 32) | def w(*args): class TestInnerProducts2D (line 40) | class TestInnerProducts2D(discretize.tests.OrderTest): method setupMesh (line 44) | def setupMesh(self, n): method getError (line 49) | def getError(self): method test_order1_edges (line 99) | def test_order1_edges(self): method test_order1_edges_invert_model (line 106) | def test_order1_edges_invert_model(self): method test_order2_edges (line 113) | def test_order2_edges(self): method test_order2_edges_invert_model (line 120) | def test_order2_edges_invert_model(self): method test_order3_edges (line 127) | def test_order3_edges(self): method test_order3_edges_invert_model (line 134) | def test_order3_edges_invert_model(self): method test_order1_faces (line 141) | def test_order1_faces(self): method test_order1_faces_invert_model (line 148) | def test_order1_faces_invert_model(self): method test_order2_faces (line 155) | def test_order2_faces(self): method test_order2_faces_invert_model (line 162) | def test_order2_faces_invert_model(self): method test_order3_faces (line 169) | def test_order3_faces(self): method test_order3_faces_invert_model (line 176) | def test_order3_faces_invert_model(self): class TestInnerProducts3D (line 184) | class TestInnerProducts3D(discretize.tests.OrderTest): method setupMesh (line 188) | def setupMesh(self, n): method getError (line 193) | def getError(self): method test_order1_edges (line 248) | def test_order1_edges(self): method test_order1_edges_invert_model (line 255) | def test_order1_edges_invert_model(self): method test_order3_edges (line 262) | def test_order3_edges(self): method test_order3_edges_invert_model (line 269) | def test_order3_edges_invert_model(self): method test_order6_edges (line 276) | def test_order6_edges(self): method test_order6_edges_invert_model (line 283) | def test_order6_edges_invert_model(self): method test_order1_faces (line 290) | def test_order1_faces(self): method test_order1_faces_invert_model (line 297) | def test_order1_faces_invert_model(self): method test_order3_faces (line 304) | def test_order3_faces(self): method test_order3_faces_invert_model (line 311) | def test_order3_faces_invert_model(self): method test_order6_faces (line 318) | def test_order6_faces(self): method test_order6_faces_invert_model (line 325) | def test_order6_faces_invert_model(self): class TestInnerProductsDerivs (line 333) | class TestInnerProductsDerivs(unittest.TestCase): method doTestFace (line 334) | def doTestFace(self, h, rep): method doTestEdge (line 350) | def doTestEdge(self, h, rep): method test_FaceIP_2D_float (line 366) | def test_FaceIP_2D_float(self): method test_FaceIP_3D_float (line 369) | def test_FaceIP_3D_float(self): method test_FaceIP_2D_isotropic (line 372) | def test_FaceIP_2D_isotropic(self): method test_FaceIP_3D_isotropic (line 375) | def test_FaceIP_3D_isotropic(self): method test_FaceIP_2D_anisotropic (line 378) | def test_FaceIP_2D_anisotropic(self): method test_FaceIP_3D_anisotropic (line 381) | def test_FaceIP_3D_anisotropic(self): method test_FaceIP_2D_tensor (line 384) | def test_FaceIP_2D_tensor(self): method test_FaceIP_3D_tensor (line 387) | def test_FaceIP_3D_tensor(self): method test_EdgeIP_2D_float (line 390) | def test_EdgeIP_2D_float(self): method test_EdgeIP_3D_float (line 393) | def test_EdgeIP_3D_float(self): method test_EdgeIP_2D_isotropic (line 396) | def test_EdgeIP_2D_isotropic(self): method test_EdgeIP_3D_isotropic (line 399) | def test_EdgeIP_3D_isotropic(self): method test_EdgeIP_2D_anisotropic (line 402) | def test_EdgeIP_2D_anisotropic(self): method test_EdgeIP_3D_anisotropic (line 405) | def test_EdgeIP_3D_anisotropic(self): method test_EdgeIP_2D_tensor (line 408) | def test_EdgeIP_2D_tensor(self): method test_EdgeIP_3D_tensor (line 411) | def test_EdgeIP_3D_tensor(self): class Test2DBoundaryIntegral (line 415) | class Test2DBoundaryIntegral(discretize.tests.OrderTest): method setupMesh (line 419) | def setupMesh(self, n): method getError (line 424) | def getError(self): method test_orderWeakCellGradIntegral (line 463) | def test_orderWeakCellGradIntegral(self): method test_orderWeakEdgeDivIntegral (line 468) | def test_orderWeakEdgeDivIntegral(self): method test_orderWeakFaceCurlIntegral (line 473) | def test_orderWeakFaceCurlIntegral(self): class Test3DBoundaryIntegral (line 479) | class Test3DBoundaryIntegral(discretize.tests.OrderTest): method setupMesh (line 483) | def setupMesh(self, n): method getError (line 488) | def getError(self): method test_orderWeakCellGradIntegral (line 529) | def test_orderWeakCellGradIntegral(self): method test_orderWeakEdgeDivIntegral (line 534) | def test_orderWeakEdgeDivIntegral(self): method test_orderWeakFaceCurlIntegral (line 539) | def test_orderWeakFaceCurlIntegral(self): class TestBadModels (line 545) | class TestBadModels(unittest.TestCase): method setUp (line 546) | def setUp(self): method test_bad_model_size (line 551) | def test_bad_model_size(self): method test_cant_invert (line 559) | def test_cant_invert(self): FILE: tests/simplex/test_interpolation.py class TestInterpolation2d (line 6) | class TestInterpolation2d(discretize.tests.OrderTest): method setupMesh (line 16) | def setupMesh(self, n): method getError (line 21) | def getError(self): method test_orderCC (line 49) | def test_orderCC(self): method test_orderN (line 56) | def test_orderN(self): method test_orderFx (line 63) | def test_orderFx(self): method test_orderFy (line 68) | def test_orderFy(self): method test_orderEx (line 73) | def test_orderEx(self): method test_orderEy (line 78) | def test_orderEy(self): class TestInterpolation3d (line 84) | class TestInterpolation3d(discretize.tests.OrderTest): method setupMesh (line 94) | def setupMesh(self, n): method getError (line 99) | def getError(self): method test_orderCC (line 138) | def test_orderCC(self): method test_orderN (line 145) | def test_orderN(self): method test_orderFx (line 152) | def test_orderFx(self): method test_orderFy (line 157) | def test_orderFy(self): method test_orderFz (line 162) | def test_orderFz(self): method test_orderEx (line 167) | def test_orderEx(self): method test_orderEy (line 172) | def test_orderEy(self): method test_orderEz (line 177) | def test_orderEz(self): class TestAveraging (line 183) | class TestAveraging(discretize.tests.OrderTest): method setupMesh (line 187) | def setupMesh(self, n): method getError (line 193) | def getError(self): method test_AvgN2CC_2D (line 256) | def test_AvgN2CC_2D(self): method test_AvgN2F_2D (line 264) | def test_AvgN2F_2D(self): method test_AvgN2E_2D (line 272) | def test_AvgN2E_2D(self): method test_AvgCC2E_2D (line 280) | def test_AvgCC2E_2D(self): method test_AvgE2CC_2D (line 288) | def test_AvgE2CC_2D(self): method test_AvgF2CC_2D (line 296) | def test_AvgF2CC_2D(self): method test_AvgCC2F_2D (line 304) | def test_AvgCC2F_2D(self): method test_AvgN2CC_3D (line 313) | def test_AvgN2CC_3D(self): method test_AvgN2F_3D (line 321) | def test_AvgN2F_3D(self): method test_AvgN2E_3D (line 329) | def test_AvgN2E_3D(self): method test_AvgCC2N_3D (line 337) | def test_AvgCC2N_3D(self): method test_AvgE2CC_3D (line 345) | def test_AvgE2CC_3D(self): method test_AvgF2CC_3D (line 353) | def test_AvgF2CC_3D(self): method test_AvgCC2F_3D (line 361) | def test_AvgCC2F_3D(self): class TestVectorAveraging2D (line 370) | class TestVectorAveraging2D(discretize.tests.OrderTest): method setupMesh (line 377) | def setupMesh(self, n): method getError (line 382) | def getError(self): method test_AvgE2CCV (line 402) | def test_AvgE2CCV(self): method test_AvgF2CCV (line 407) | def test_AvgF2CCV(self): class TestVectorAveraging3D (line 413) | class TestVectorAveraging3D(discretize.tests.OrderTest): method setupMesh (line 420) | def setupMesh(self, n): method getError (line 425) | def getError(self): method test_AvgE2CCV (line 448) | def test_AvgE2CCV(self): method test_AvgF2CCV (line 454) | def test_AvgF2CCV(self): function test_cell_to_face_extrap (line 461) | def test_cell_to_face_extrap(): function test_zeros_outside (line 483) | def test_zeros_outside(): FILE: tests/simplex/test_operators.py class TestOperators2D (line 9) | class TestOperators2D(discretize.tests.OrderTest): method setupMesh (line 13) | def setupMesh(self, n): method getError (line 18) | def getError(self): method test_curl_order (line 67) | def test_curl_order(self): method test_div_order (line 72) | def test_div_order(self): method test_grad_order (line 77) | def test_grad_order(self): method test_cell_gradient_stencil (line 82) | def test_cell_gradient_stencil(self): class TestOperators3D (line 100) | class TestOperators3D(discretize.tests.OrderTest): method setupMesh (line 104) | def setupMesh(self, n): method getError (line 112) | def getError(self): method test_curl_order (line 171) | def test_curl_order(self): method test_div_order (line 176) | def test_div_order(self): method test_grad_order (line 181) | def test_grad_order(self): function test_simplex_projection_caching (line 188) | def test_simplex_projection_caching(i_type): FILE: tests/simplex/test_utils.py class SimplexTests (line 22) | class SimplexTests(unittest.TestCase): method test_init_errors (line 23) | def test_init_errors(self): method test_find_containing (line 52) | def test_find_containing(self): method test_pickle2D (line 62) | def test_pickle2D(self): method test_pickle3D (line 73) | def test_pickle3D(self): method test_image_plotting (line 85) | def test_image_plotting(self): method test_plot_grid (line 121) | def test_plot_grid(self): method test_2D_vtk (line 133) | def test_2D_vtk(self): method test_3D_vtk (line 155) | def test_3D_vtk(self): method tearDown (line 176) | def tearDown(self): FILE: tests/tree/test_intersections.py function test_point_locator (line 9) | def test_point_locator(dim): function test_ball_locator (line 20) | def test_ball_locator(dim): function test_line_locator (line 46) | def test_line_locator(dim): function test_box_locator (line 65) | def test_box_locator(dim): function test_plane_locator (line 86) | def test_plane_locator(dim): function test_triangle_locator (line 122) | def test_triangle_locator(dim): function test_vert_tri_prism_locator (line 149) | def test_vert_tri_prism_locator(dim): function test_tetrahedron_locator (line 194) | def test_tetrahedron_locator(dim): FILE: tests/tree/test_refine.py function test_2d_line (line 9) | def test_2d_line(): function test_3d_line (line 26) | def test_3d_line(): function test_line_errors (line 43) | def test_line_errors(): function test_triangle2d (line 59) | def test_triangle2d(): function test_triangle3d (line 77) | def test_triangle3d(): function test_triangle_errors (line 96) | def test_triangle_errors(): function test_tetra2d (line 117) | def test_tetra2d(): function test_tetra3d (line 137) | def test_tetra3d(): function test_tetra_errors (line 163) | def test_tetra_errors(): function test_box_errors (line 184) | def test_box_errors(): function test_ball_errors (line 211) | def test_ball_errors(): function test_insert_errors (line 229) | def test_insert_errors(): function test_refine_triang_prism (line 243) | def test_refine_triang_prism(): function test_refine_triang_prism_errors (line 281) | def test_refine_triang_prism_errors(): function test_bounding_box (line 317) | def test_bounding_box(): function test_bounding_box_errors (line 351) | def test_bounding_box_errors(): function test_refine_points (line 364) | def test_refine_points(): function test_refine_points_errors (line 389) | def test_refine_points_errors(): function test_refine_surface2D (line 398) | def test_refine_surface2D(): function test_refine_surface3D (line 428) | def test_refine_surface3D(): function test_refine_surface_errors (line 453) | def test_refine_surface_errors(): function test_refine_plane2D (line 464) | def test_refine_plane2D(): function test_refine_plane3D (line 478) | def test_refine_plane3D(): function _make_quadrant_model (line 497) | def _make_quadrant_model(mesh, order): function test_refine_image_input_ordering (line 538) | def test_refine_image_input_ordering(tens_inp): function test_refine_image (line 595) | def test_refine_image(tens_inp, model_func): function test_refine_image_bad_size (line 618) | def test_refine_image_bad_size(): function test_refine_image_bad_shape (line 631) | def test_refine_image_bad_shape(): FILE: tests/tree/test_safeguards.py function mesh (line 64) | def mesh(): function refine_mesh (line 73) | def refine_mesh(mesh): class TestSafeGuards (line 85) | class TestSafeGuards: method test_errors (line 89) | def test_errors(self, mesh, prop_name, refine): method test_no_errors (line 102) | def test_no_errors(self, mesh, prop_name): method test_errors_inherited_properties (line 114) | def test_errors_inherited_properties(self, mesh, prop_name, refine): FILE: tests/tree/test_tree.py class TestSimpleQuadTree (line 11) | class TestSimpleQuadTree(unittest.TestCase): method test_counts (line 12) | def test_counts(self): method test_getitem (line 30) | def test_getitem(self): method test_getitem3D (line 40) | def test_getitem3D(self): method test_refine (line 51) | def test_refine(self): method test_h_gridded_2D (line 56) | def test_h_gridded_2D(self): method test_faceDiv (line 90) | def test_faceDiv(self): method test_serialization (line 120) | def test_serialization(self): class TestOcTree (line 134) | class TestOcTree(unittest.TestCase): method test_counts (line 135) | def test_counts(self): method test_faceDiv (line 161) | def test_faceDiv(self): method test_edge_curl (line 182) | def test_edge_curl(self): method test_faceInnerProduct (line 193) | def test_faceInnerProduct(self): method test_VectorIdenties (line 215) | def test_VectorIdenties(self): method test_h_gridded_3D (line 235) | def test_h_gridded_3D(self): method test_cell_nodes (line 313) | def test_cell_nodes(self): class TestTreeMeshNodes (line 346) | class TestTreeMeshNodes: method sample_mesh (line 348) | def sample_mesh(self, request): method test_total_nodes (line 368) | def test_total_nodes(self, sample_mesh): class TestTreeCellBounds (line 383) | class TestTreeCellBounds: method mesh (line 387) | def mesh(self, request): method test_bounds (line 406) | def test_bounds(self, mesh): method test_bounds_relations (line 419) | def test_bounds_relations(self, mesh): method test_cell_bounds (line 432) | def test_cell_bounds(self, mesh): class TestWrapAroundLevels (line 441) | class TestWrapAroundLevels(unittest.TestCase): method test_refine_func (line 442) | def test_refine_func(self): method test_refine_box (line 451) | def test_refine_box(self): method test_refine_ball (line 462) | def test_refine_ball(self): method test_insert_point (line 473) | def test_insert_point(self): function test_cell_locator (line 484) | def test_cell_locator(dim): class TestRepr (line 500) | class TestRepr: method mesh (line 509) | def mesh(self, request): method finalize (line 521) | def finalize(self, mesh): method test_repr (line 537) | def test_repr(self, mesh, finalize): method test_repr_html (line 548) | def test_repr_html(self, mesh, finalize): function test_caching (line 560) | def test_caching(attr): FILE: tests/tree/test_tree_balancing.py function check_for_diag_unbalance (line 5) | def check_for_diag_unbalance(mesh): function test_insert_cells_2D (line 18) | def test_insert_cells_2D(): function test_insert_cells_3D (line 38) | def test_insert_cells_3D(): function test_refine (line 66) | def test_refine(): function test_refine_box (line 86) | def test_refine_box(): function test_refine_ball (line 100) | def test_refine_ball(): function test_refine_line (line 114) | def test_refine_line(): function test_refine_triangle (line 130) | def test_refine_triangle(): function test_refine_tetra (line 145) | def test_refine_tetra(): function test_balance_out_unbalance_in (line 162) | def test_balance_out_unbalance_in(): FILE: tests/tree/test_tree_innerproduct_derivs.py class TestInnerProductsDerivsTensor (line 8) | class TestInnerProductsDerivsTensor(unittest.TestCase): method doTestFace (line 9) | def doTestFace( method doTestEdge (line 47) | def doTestEdge( method test_FaceIP_2D_float_Tree (line 85) | def test_FaceIP_2D_float_Tree(self): method test_FaceIP_3D_float_Tree (line 88) | def test_FaceIP_3D_float_Tree(self): method test_FaceIP_2D_isotropic_Tree (line 91) | def test_FaceIP_2D_isotropic_Tree(self): method test_FaceIP_3D_isotropic_Tree (line 94) | def test_FaceIP_3D_isotropic_Tree(self): method test_FaceIP_2D_anisotropic_Tree (line 97) | def test_FaceIP_2D_anisotropic_Tree(self): method test_FaceIP_3D_anisotropic_Tree (line 100) | def test_FaceIP_3D_anisotropic_Tree(self): method test_FaceIP_2D_tensor_Tree (line 103) | def test_FaceIP_2D_tensor_Tree(self): method test_FaceIP_3D_tensor_Tree (line 106) | def test_FaceIP_3D_tensor_Tree(self): method test_FaceIP_2D_float_fast_Tree (line 109) | def test_FaceIP_2D_float_fast_Tree(self): method test_FaceIP_3D_float_fast_Tree (line 112) | def test_FaceIP_3D_float_fast_Tree(self): method test_FaceIP_2D_isotropic_fast_Tree (line 115) | def test_FaceIP_2D_isotropic_fast_Tree(self): method test_FaceIP_3D_isotropic_fast_Tree (line 118) | def test_FaceIP_3D_isotropic_fast_Tree(self): method test_FaceIP_2D_anisotropic_fast_Tree (line 121) | def test_FaceIP_2D_anisotropic_fast_Tree(self): method test_FaceIP_3D_anisotropic_fast_Tree (line 124) | def test_FaceIP_3D_anisotropic_fast_Tree(self): method test_EdgeIP_3D_float_Tree (line 129) | def test_EdgeIP_3D_float_Tree(self): method test_EdgeIP_3D_isotropic_Tree (line 135) | def test_EdgeIP_3D_isotropic_Tree(self): method test_EdgeIP_3D_anisotropic_Tree (line 141) | def test_EdgeIP_3D_anisotropic_Tree(self): method test_EdgeIP_3D_tensor_Tree (line 147) | def test_EdgeIP_3D_tensor_Tree(self): method test_EdgeIP_3D_float_fast_Tree (line 152) | def test_EdgeIP_3D_float_fast_Tree(self): method test_EdgeIP_3D_isotropic_fast_Tree (line 158) | def test_EdgeIP_3D_isotropic_fast_Tree(self): method test_EdgeIP_3D_anisotropic_fast_Tree (line 164) | def test_EdgeIP_3D_anisotropic_fast_Tree(self): class TestFacePropertiesInnerProductsDerivsTensor (line 168) | class TestFacePropertiesInnerProductsDerivsTensor(unittest.TestCase): method doTestFace (line 169) | def doTestFace(self, h, rep, meshType, invert_model=False, invert_matr... method doTestEdge (line 204) | def doTestEdge(self, h, rep, meshType, invert_model=False, invert_matr... method test_FaceIP_2D_float_fast_Tree (line 239) | def test_FaceIP_2D_float_fast_Tree(self): method test_FaceIP_3D_float_fast_Tree (line 242) | def test_FaceIP_3D_float_fast_Tree(self): method test_FaceIP_2D_isotropic_fast_Tree (line 245) | def test_FaceIP_2D_isotropic_fast_Tree(self): method test_FaceIP_3D_isotropic_fast_Tree (line 248) | def test_FaceIP_3D_isotropic_fast_Tree(self): method test_EdgeIP_2D_float_fast_Tree (line 251) | def test_EdgeIP_2D_float_fast_Tree(self): method test_EdgeIP_3D_float_fast_Tree (line 254) | def test_EdgeIP_3D_float_fast_Tree(self): method test_EdgeIP_2D_isotropic_fast_Tree (line 257) | def test_EdgeIP_2D_isotropic_fast_Tree(self): method test_EdgeIP_3D_isotropic_fast_Tree (line 260) | def test_EdgeIP_3D_isotropic_fast_Tree(self): class TestEdgePropertiesInnerProductsDerivsTensor (line 264) | class TestEdgePropertiesInnerProductsDerivsTensor(unittest.TestCase): method doTestEdge (line 265) | def doTestEdge(self, h, rep, meshType, invert_model=False, invert_matr... method test_EdgeIP_2D_float_fast_Tree (line 300) | def test_EdgeIP_2D_float_fast_Tree(self): method test_EdgeIP_3D_float_fast_Tree (line 303) | def test_EdgeIP_3D_float_fast_Tree(self): method test_EdgeIP_2D_isotropic_fast_Tree (line 306) | def test_EdgeIP_2D_isotropic_fast_Tree(self): method test_EdgeIP_3D_isotropic_fast_Tree (line 309) | def test_EdgeIP_3D_isotropic_fast_Tree(self): FILE: tests/tree/test_tree_interpolation.py function test_order (line 56) | def test_order(tree_type, dim, mesh_locs, zeros_outside): function ana_func (line 78) | def ana_func(locs): function order_func (line 90) | def order_func(n): function test_zeros_outside (line 122) | def test_zeros_outside(dim, mesh_locs): function test_project_outside (line 172) | def test_project_outside(dim, mesh_locs): function ana_func (line 199) | def ana_func(locs): FILE: tests/tree/test_tree_io.py function mesh (line 17) | def mesh(request): function test_UBCfiles (line 32) | def test_UBCfiles(mesh, tmp_path): function test_ubc_files_no_warning_diagonal_balance (line 53) | def test_ubc_files_no_warning_diagonal_balance(mesh, tmp_path): function test_write_VTU_files (line 68) | def test_write_VTU_files(mesh, tmp_path): function test_pickle (line 74) | def test_pickle(mesh): function test_dic_serialize (line 82) | def test_dic_serialize(mesh): function test_json_serialize (line 89) | def test_json_serialize(mesh, tmp_path): FILE: tests/tree/test_tree_operators.py class TestCellGrad2D (line 34) | class TestCellGrad2D(discretize.tests.OrderTest): method getError (line 42) | def getError(self): method test_order (line 57) | def test_order(self): class TestCellGrad3D (line 61) | class TestCellGrad3D(discretize.tests.OrderTest): method getError (line 69) | def getError(self): method test_order (line 106) | def test_order(self): class TestFaceDivxy2D (line 110) | class TestFaceDivxy2D(discretize.tests.OrderTest): method getError (line 116) | def getError(self): method test_order (line 136) | def test_order(self): class TestFaceDiv3D (line 140) | class TestFaceDiv3D(discretize.tests.OrderTest): method getError (line 145) | def getError(self): method test_order (line 163) | def test_order(self): class TestFaceDivxyz3D (line 167) | class TestFaceDivxyz3D(discretize.tests.OrderTest): method getError (line 173) | def getError(self): method test_order (line 200) | def test_order(self): class TestCurl (line 204) | class TestCurl(discretize.tests.OrderTest): method getError (line 210) | def getError(self): method test_order (line 235) | def test_order(self): class TestNodalGrad (line 239) | class TestNodalGrad(discretize.tests.OrderTest): method getError (line 245) | def getError(self): method test_order (line 263) | def test_order(self): class TestNodalGrad2D (line 267) | class TestNodalGrad2D(discretize.tests.OrderTest): method getError (line 274) | def getError(self): method test_order (line 291) | def test_order(self): class TestTreeInnerProducts (line 295) | class TestTreeInnerProducts(discretize.tests.OrderTest): method getError (line 305) | def getError(self): method test_order1_edges (line 371) | def test_order1_edges(self): method test_order1_edges_invert_model (line 378) | def test_order1_edges_invert_model(self): method test_order3_edges (line 385) | def test_order3_edges(self): method test_order3_edges_invert_model (line 392) | def test_order3_edges_invert_model(self): method test_order6_edges (line 399) | def test_order6_edges(self): method test_order6_edges_invert_model (line 406) | def test_order6_edges_invert_model(self): method test_order1_faces (line 413) | def test_order1_faces(self): method test_order1_faces_invert_model (line 420) | def test_order1_faces_invert_model(self): method test_order3_faces (line 427) | def test_order3_faces(self): method test_order3_faces_invert_model (line 434) | def test_order3_faces_invert_model(self): method test_order6_faces (line 441) | def test_order6_faces(self): method test_order6_faces_invert_model (line 448) | def test_order6_faces_invert_model(self): class TestInnerProductsFaceProperties3D (line 456) | class TestInnerProductsFaceProperties3D(discretize.tests.OrderTest): method getError (line 464) | def getError(self): method test_order1_edges (line 525) | def test_order1_edges(self): method test_order1_edges_invert_model (line 531) | def test_order1_edges_invert_model(self): method test_order1_faces (line 537) | def test_order1_faces(self): method test_order1_faces_invert_model (line 543) | def test_order1_faces_invert_model(self): class TestInnerProductsEdgeProperties3D (line 550) | class TestInnerProductsEdgeProperties3D(discretize.tests.OrderTest): method getError (line 558) | def getError(self): method test_order1_edges (line 601) | def test_order1_edges(self): method test_order1_edges_invert_model (line 607) | def test_order1_edges_invert_model(self): class TestTreeInnerProducts2D (line 614) | class TestTreeInnerProducts2D(discretize.tests.OrderTest): method getError (line 621) | def getError(self): method test_order1_edges (line 673) | def test_order1_edges(self): method test_order1_edges_invert_model (line 680) | def test_order1_edges_invert_model(self): method test_order3_edges (line 687) | def test_order3_edges(self): method test_order3_edges_invert_model (line 694) | def test_order3_edges_invert_model(self): method test_order1_faces (line 715) | def test_order1_faces(self): method test_order1_faces_invert_model (line 722) | def test_order1_faces_invert_model(self): method test_order2_faces (line 729) | def test_order2_faces(self): method test_order2_faces_invert_model (line 736) | def test_order2_faces_invert_model(self): method test_order3_faces (line 743) | def test_order3_faces(self): method test_order3_faces_invert_model (line 750) | def test_order3_faces_invert_model(self): class TestInnerProductsFaceProperties2D (line 758) | class TestInnerProductsFaceProperties2D(discretize.tests.OrderTest): method getError (line 766) | def getError(self): method test_order1_edges (line 823) | def test_order1_edges(self): method test_order1_edges_invert_model (line 829) | def test_order1_edges_invert_model(self): method test_order1_faces (line 835) | def test_order1_faces(self): method test_order1_faces_invert_model (line 841) | def test_order1_faces_invert_model(self): class TestInnerProductsEdgeProperties2D (line 848) | class TestInnerProductsEdgeProperties2D(discretize.tests.OrderTest): method getError (line 856) | def getError(self): method test_order1_edges (line 897) | def test_order1_edges(self): method test_order1_edges_invert_model (line 903) | def test_order1_edges_invert_model(self): class TestTreeAveraging2D (line 910) | class TestTreeAveraging2D(discretize.tests.OrderTest): method getError (line 918) | def getError(self): method test_orderN2CC (line 923) | def test_orderN2CC(self): method test_orderN2Fx (line 931) | def test_orderN2Fx(self): method test_orderN2E (line 939) | def test_orderN2E(self): method test_orderF2CC (line 947) | def test_orderF2CC(self): method test_orderFx2CC (line 955) | def test_orderFx2CC(self): method test_orderFy2CC (line 963) | def test_orderFy2CC(self): method test_orderF2CCV (line 971) | def test_orderF2CCV(self): method test_orderCC2F (line 980) | def test_orderCC2F(self): class TestAveraging3D (line 991) | class TestAveraging3D(discretize.tests.OrderTest): method getError (line 998) | def getError(self): method test_orderN2CC (line 1003) | def test_orderN2CC(self): method test_orderN2F (line 1011) | def test_orderN2F(self): method test_orderN2E (line 1021) | def test_orderN2E(self): method test_orderF2CC (line 1031) | def test_orderF2CC(self): method test_orderFx2CC (line 1041) | def test_orderFx2CC(self): method test_orderFy2CC (line 1049) | def test_orderFy2CC(self): method test_orderFz2CC (line 1057) | def test_orderFz2CC(self): method test_orderF2CCV (line 1065) | def test_orderF2CCV(self): method test_orderEx2CC (line 1079) | def test_orderEx2CC(self): method test_orderEy2CC (line 1087) | def test_orderEy2CC(self): method test_orderEz2CC (line 1095) | def test_orderEz2CC(self): method test_orderE2CC (line 1103) | def test_orderE2CC(self): method test_orderE2CCV (line 1113) | def test_orderE2CCV(self): method test_orderCC2F (line 1127) | def test_orderCC2F(self): FILE: tests/tree/test_tree_plotting.py class TestOcTreePlotting (line 19) | class TestOcTreePlotting(unittest.TestCase): method setUp (line 20) | def setUp(self): method test_plot_slice (line 25) | def test_plot_slice(self): class TestQuadTreePlotting (line 68) | class TestQuadTreePlotting(unittest.TestCase): method setUp (line 69) | def setUp(self): method test_plot_slice (line 74) | def test_plot_slice(self): FILE: tests/tree/test_tree_utils.py class TestRefineOcTree (line 8) | class TestRefineOcTree(unittest.TestCase): method test_radial (line 9) | def test_radial(self): method test_box (line 42) | def test_box(self): method test_surface (line 72) | def test_surface(self): method test_errors (line 111) | def test_errors(self): FILE: tests/tree/test_tree_vtk.py class TestTreeMeshVTK (line 15) | class TestTreeMeshVTK(unittest.TestCase): method setUp (line 16) | def setUp(self): method test_VTK_object_conversion (line 24) | def test_VTK_object_conversion(self): FILE: tutorials/inner_products/1_basic.py function fcn_gaussian (line 107) | def fcn_gaussian(x, mu, sig): function fcn_x (line 169) | def fcn_x(xy, sig): function fcn_y (line 175) | def fcn_y(xy, sig): FILE: tutorials/mesh_generation/1_mesh_overview.py function refine (line 39) | def refine(cell): FILE: tutorials/operators/1_averaging.py function fun (line 55) | def fun(x): FILE: tutorials/pde/3_nodal_dirichlet_poisson.py function get_error (line 134) | def get_error(n_cells, plot_it=False):