#include <cartesian-grid2d.h>
Public Types | |
typedef indexmap_type::index_type | index_type |
typedef RegGrid2D | Grid |
typedef vertex_handle_int< RegGrid2D > | vertex_handle |
typedef edge_handle_int< RegGrid2D > | edge_handle |
typedef cell_handle_int< RegGrid2D > | cell_handle |
Element classes | |
typedef index_type | vertex_base |
incidence iterators | |
typedef CellOnCellIterator | CellNeighbourIterator |
Public Methods | |
dummy | group (work around) typedef xmjr_indexmap2D indexmap_type |
index_type | side_vertex1 (int s) const |
index_type | side_vertex2 (int s) const |
cell_handle | invalid_cell () const |
cell_handle | outer_cell_handle () const |
int | Offset (const Vertex &) const |
int | Offset (const Edge &) const |
int | Offset (const Cell &) const |
int | NumXpoints () const |
int | NumYpoints () const |
Constructors | |
RegGrid2D (int pts=2) | |
RegGrid2D (int x, int y) | |
RegGrid2D (int llx, int lly, int urx, int ury) | |
RegGrid2D (const index_type &LL, const index_type &UR) | |
access to shape information | |
const index_type & | ll () const |
const index_type & | ur () const |
int | llx () const |
int | lly () const |
int | urx () const |
int | ury () const |
Size operations | |
int | NumOfVertices () const |
int | NumOfEdges () const |
int | NumOfFacets () const |
int | NumOfCells () const |
int | NumOfXEdges () const |
int | NumOfYEdges () const |
int | NumOfHorizontalEdges () const |
int | NumOfVerticalEdges () const |
int | NumOfBoundaryVertices () const |
int | NumOfBoundaryEdges () const |
int | NumOfBoundaryFacets () const |
int | NumOfBoundaryCells () const |
Sequence iteration | |
VertexIterator | FirstVertex () const |
EdgeIterator | FirstEdge () const |
EdgeIterator | FirstFacet () const |
CellIterator | FirstCell () const |
Element validity tests | |
bool | IsValid (const vertex_base &v) const |
bool | IsValidCellBase (const vertex_base &v) const |
bool | IsValid (const Cell &C) const |
Boundary tests | |
bool | IsOnBoundary (const Vertex &V) const |
bool | IsOnBoundary (const vertex_base &) const |
bool | IsOnBoundary (const Edge &E) const |
bool | IsOnBoundary (const EdgeOnCellIterator &Nb) const |
bool | IsInside (const CellIterator &C) const |
bool | IsInside (const Cell &C) const |
element to handle mappings | |
vertex_handle | handle (const Vertex &V) const |
vertex_handle | handle (const VertexIterator &V) const |
vertex_handle | handle (const VertexOnCellIterator &V) const |
edge_handle | handle (const Edge &E) const |
cell_handle | handle (const Cell &C) const |
vertex_handle | vertex_num (int x, int y) const |
vertex_handle | vertex_num (const vertex_base &V) const |
vertex_handle | vertex_num (const Vertex &V) const |
vertex_base | get_vertex (vertex_handle v) const |
Vertex | vertex (vertex_handle v) const |
Vertex | vertex (const vertex_base &v) const |
Vertex | vertex (int x, int y) const |
edge_handle | edge_num (const Edge &E) const |
Edge | get_edge (edge_handle e) const |
Edge | edge (edge_handle e) const |
Edge | xedge (vertex_base leftv) const |
Edge | yedge (vertex_base bottomv) const |
cell_handle | cell_num (int llx, int lly) const |
cell_handle | cell_num (const vertex_base &llv) const |
cell_handle | cell_num (const Cell &C) const |
vertex_base | get_cell_llv (cell_handle c) const |
Cell | cell (cell_handle c) const |
Cell | cell (vertex_base llv) const |
Cell | cell (int llx, int lly) const |
intervals for element handles | |
vertex_handle | MinVertexNum () const |
vertex_handle | MaxVertexNum () const |
vertex_handle | MinNum (const Vertex &) const |
vertex_handle | MaxNum (const Vertex &) const |
edge_handle | MinEdgeNum () const |
edge_handle | MaxEdgeNum () const |
edge_handle | MinNum (const Edge &) const |
edge_handle | MaxNum (const Edge &) const |
cell_handle | MinCellNum () const |
cell_handle | MaxCellNum () const |
cell_handle | MinNum (const Cell &) const |
cell_handle | MaxNum (const Cell &) const |
switch operator | |
void | switch_vertex (Vertex &v, Edge const &e) const |
void | switch_edge (Vertex const &v, Edge &e, Cell const &c) const |
void | switch_facet (Vertex const &v, Edge &e, Cell const &c) const |
void | switch_cell (Edge const &e, Cell &c) const |
Vertex | switched_vertex (Vertex const &v, Edge const &e) const |
Edge | switched_edge (Vertex const &v, Edge const &e, Cell const &c) const |
Edge | switched_facet (Vertex const &v, Edge const &e, Cell const &c) const |
Cell | switched_cell (Edge const &e, Cell const &c) const |
Static Public Methods | |
int | get_side (const std::string &nm) |
int | get_corner (const std::string &nm) |
std::string | side_name (int side) |
std::string | corner_name (int corner) |
int | invalid_side () |
int | invalid_corner () |
const index_type & | corner_offset (int c) |
int | opposite_corner (int c) |
int | opposite_side (int s) |
const index_type & | side_offset (int s) |
const index_type & | direction (int s) |
const index_type & | outer_normal (int s) |
Friends | |
class | SubrangeReg2D |
class | Vertex |
class | Edge |
class | Cell |
class | VertexIterator |
class | EdgeIterator |
class | CellIterator |
class | VertexOnVertexIterator |
class | VertexOnCellIterator |
class | EdgeOnCellIterator |
class | CellOnCellIterator |
RegGrid2D implements the full kernel interface.
Definition at line 29 of file cartesian-grid2d.h.
|
Definition at line 39 of file cartesian-grid2d.h. Referenced by corner_offset, direction, ll, outer_normal, RegGrid2D, side_offset, side_vertex1, side_vertex2, and ur. |
|
Definition at line 150 of file cartesian-grid2d.h. |
|
Definition at line 152 of file cartesian-grid2d.h. |
|
Definition at line 153 of file cartesian-grid2d.h. |
|
Definition at line 154 of file cartesian-grid2d.h. |
|
Definition at line 211 of file cartesian-grid2d.h. Referenced by RegGrid2D::Edge::C1, cell, cell_num, RegGrid2D::Cell::edge, RegGrid2D::Vertex::get_cell_base, get_cell_llv, RegGrid2D::Cell::get_nb_base, RegGrid2D::Vertex::get_nb_base, get_vertex, IsInside, IsOnBoundary, IsValid, IsValidCellBase, RegGrid2D::Edge::V2, vertex, RegGrid2D::Cell::vertex, vertex_num, xedge, and yedge. |
|
Definition at line 870 of file cartesian-grid2d.h. |
|
Definition at line 61 of file cartesian-grid2d.h. |
|
Definition at line 66 of file cartesian-grid2d.h. |
|
Definition at line 71 of file cartesian-grid2d.h. |
|
Definition at line 77 of file cartesian-grid2d.h. References index_type. |
|
|
|
Definition at line 97 of file cartesian-grid2d.h. References index_type. |
|
Definition at line 98 of file cartesian-grid2d.h. References index_type. |
|
Definition at line 99 of file cartesian-grid2d.h. Referenced by cell, cell_num, IsOnBoundary, RegGrid2D, side_vertex1, and side_vertex2. |
|
Definition at line 100 of file cartesian-grid2d.h. Referenced by cell, cell_num, IsOnBoundary, RegGrid2D, side_vertex1, and side_vertex2. |
|
Definition at line 101 of file cartesian-grid2d.h. Referenced by IsOnBoundary, and RegGrid2D. |
|
Definition at line 102 of file cartesian-grid2d.h. Referenced by IsOnBoundary, and RegGrid2D. |
|
Definition at line 116 of file cartesian-grid2d.C. |
|
Definition at line 131 of file cartesian-grid2d.C. |
|
Definition at line 129 of file cartesian-grid2d.h. |
|
Definition at line 130 of file cartesian-grid2d.h. |
|
Definition at line 113 of file cartesian-grid2d.C. Referenced by RegGrid2D::Cell::EndEdge, and RegGrid2D::Cell::EndFacet. |
|
Definition at line 114 of file cartesian-grid2d.C. Referenced by RegGrid2D::Cell::EndVertex. |
|
Definition at line 136 of file cartesian-grid2d.h. References index_type. Referenced by RegGrid2D::Vertex::get_cell_base, and RegGrid2D::Cell::vertex. |
|
Definition at line 137 of file cartesian-grid2d.h. |
|
Definition at line 140 of file cartesian-grid2d.h. |
|
Definition at line 141 of file cartesian-grid2d.h. References index_type. Referenced by RegGrid2D::Cell::get_nb_base, and RegGrid2D::Vertex::get_nb_base. |
|
Definition at line 142 of file cartesian-grid2d.h. References index_type. |
|
Definition at line 143 of file cartesian-grid2d.h. References index_type. |
|
Definition at line 145 of file cartesian-grid2d.h. References index_type, llx, and lly. |
|
Definition at line 147 of file cartesian-grid2d.h. References index_type, llx, and lly. |
|
Definition at line 156 of file cartesian-grid2d.h. Referenced by grid_types< RegGrid2D >::invalid_cell_handle, grid_types< RegGrid2D >::is_cell_inside, and grid_types< RegGrid2D >::is_cell_valid. |
|
Definition at line 157 of file cartesian-grid2d.h. Referenced by grid_types< RegGrid2D >::outer_cell_handle. |
|
Definition at line 880 of file cartesian-grid2d.h. Referenced by main. |
|
Definition at line 881 of file cartesian-grid2d.h. References NumOfXEdges, and NumOfYEdges. Referenced by get_edge, main, MaxEdgeNum, and NumOfFacets. |
|
Definition at line 882 of file cartesian-grid2d.h. References NumOfEdges. |
|
Definition at line 883 of file cartesian-grid2d.h. Referenced by main. |
|
Definition at line 885 of file cartesian-grid2d.h. Referenced by edge_num, get_edge, NumOfEdges, and NumOfHorizontalEdges. |
|
Definition at line 886 of file cartesian-grid2d.h. Referenced by NumOfEdges, and NumOfVerticalEdges. |
|
Definition at line 887 of file cartesian-grid2d.h. References NumOfXEdges. |
|
Definition at line 888 of file cartesian-grid2d.h. References NumOfYEdges. |
|
Definition at line 891 of file cartesian-grid2d.h. |
|
Definition at line 892 of file cartesian-grid2d.h. Referenced by NumOfBoundaryFacets. |
|
Definition at line 893 of file cartesian-grid2d.h. References NumOfBoundaryEdges. |
|
Definition at line 894 of file cartesian-grid2d.h. |
|
Definition at line 897 of file cartesian-grid2d.h. References Vertex. |
|
Definition at line 898 of file cartesian-grid2d.h. References Edge. |
|
Definition at line 899 of file cartesian-grid2d.h. References Cell. |
|
Definition at line 902 of file cartesian-grid2d.h. |
|
Definition at line 903 of file cartesian-grid2d.h. |
|
Definition at line 907 of file cartesian-grid2d.h. References MinVertexNum, and VertexIterator. |
|
Definition at line 908 of file cartesian-grid2d.h. References EdgeIterator, and MinEdgeNum. Referenced by BoundaryRange< RegGrid2D >::BoundaryRange. |
|
Definition at line 909 of file cartesian-grid2d.h. References EdgeIterator, and MinEdgeNum. |
|
Definition at line 910 of file cartesian-grid2d.h. References CellIterator, and MinCellNum. |
|
Definition at line 915 of file cartesian-grid2d.h. References vertex_base. Referenced by grid_types< RegGrid2D >::is_cell_valid. |
|
Definition at line 916 of file cartesian-grid2d.h. References vertex_base. Referenced by RegGrid2D::Cell::neighbour. |
|
Definition at line 1252 of file cartesian-grid2d.h. References RegGrid2D::elem_base::_g, and IsInside. |
|
Definition at line 924 of file cartesian-grid2d.h. References Vertex. |
|
Definition at line 1227 of file cartesian-grid2d.h. References llx, lly, urx, ury, and vertex_base. |
|
Definition at line 1233 of file cartesian-grid2d.h. References RegGrid2D::Edge::dir, llx, lly, urx, ury, and RegGrid2D::Edge::v1_. |
|
Definition at line 1239 of file cartesian-grid2d.h. References RegGrid2D::EdgeOnCellIterator::e, RegGrid2D::Cell::get_nb_base, RegGrid2D::EdgeOnCellIterator::TheCell, and vertex_base. |
|
Referenced by grid_types< RegGrid2D >::is_cell_inside, and IsValid. |
|
Definition at line 1246 of file cartesian-grid2d.h. References RegGrid2D::Cell::ll, and vertex_base. |
|
Definition at line 949 of file cartesian-grid2d.h. References Vertex, and vertex_num. Referenced by SubrangeReg2D::handle, and handle. |
|
Definition at line 950 of file cartesian-grid2d.h. References VertexIterator. |
|
Definition at line 951 of file cartesian-grid2d.h. References handle, and VertexOnCellIterator. |
|
Definition at line 952 of file cartesian-grid2d.h. |
|
Definition at line 953 of file cartesian-grid2d.h. |
|
Definition at line 956 of file cartesian-grid2d.h. Referenced by handle, and vertex_num. |
|
Definition at line 957 of file cartesian-grid2d.h. References vertex_base, and vertex_num. |
|
Definition at line 958 of file cartesian-grid2d.h. References Vertex, and vertex_num. |
|
Definition at line 959 of file cartesian-grid2d.h. References vertex_base. Referenced by vertex. |
|
Definition at line 960 of file cartesian-grid2d.h. References get_vertex, and Vertex. Referenced by SubrangeReg2D::vertex, vertex, and RegGrid2D::Vertex::Vertex. |
|
Definition at line 961 of file cartesian-grid2d.h. References Vertex, and vertex_base. |
|
Definition at line 962 of file cartesian-grid2d.h. References vertex, Vertex, and vertex_base. |
|
Definition at line 1218 of file cartesian-grid2d.h. References RegGrid2D::Edge::dir, NumOfXEdges, and RegGrid2D::Edge::v1_. Referenced by handle. |
|
Definition at line 1203 of file cartesian-grid2d.h. References Edge, NumOfEdges, and NumOfXEdges. Referenced by edge. |
|
Definition at line 967 of file cartesian-grid2d.h. References Edge, and get_edge. Referenced by RegGrid2D::Edge::Edge. |
|
Definition at line 968 of file cartesian-grid2d.h. References Edge, and vertex_base. Referenced by SubrangeReg2D::edge. |
|
Definition at line 969 of file cartesian-grid2d.h. References Edge, and vertex_base. Referenced by SubrangeReg2D::edge. |
|
Definition at line 973 of file cartesian-grid2d.h. |
|
Definition at line 974 of file cartesian-grid2d.h. References cell_num, and vertex_base. |
|
Definition at line 975 of file cartesian-grid2d.h. |
|
Definition at line 976 of file cartesian-grid2d.h. References vertex_base. Referenced by cell. |
|
Definition at line 977 of file cartesian-grid2d.h. References Cell, and get_cell_llv. Referenced by SubrangeReg2D::cell, and RegGrid2D::Cell::Cell. |
|
Definition at line 978 of file cartesian-grid2d.h. References Cell, and vertex_base. |
|
Definition at line 979 of file cartesian-grid2d.h. References Cell, llx, lly, and vertex_base. |
|
Definition at line 984 of file cartesian-grid2d.h. Referenced by FirstVertex, and MinNum. |
|
Definition at line 985 of file cartesian-grid2d.h. Referenced by MaxNum. |
|
Definition at line 986 of file cartesian-grid2d.h. References MinVertexNum, and Vertex. |
|
Definition at line 987 of file cartesian-grid2d.h. References MaxVertexNum, and Vertex. |
|
Definition at line 989 of file cartesian-grid2d.h. Referenced by FirstEdge, FirstFacet, MaxEdgeNum, and MinNum. |
|
Definition at line 990 of file cartesian-grid2d.h. References MinEdgeNum, and NumOfEdges. Referenced by MaxNum. |
|
Definition at line 991 of file cartesian-grid2d.h. References Edge, and MinEdgeNum. |
|
Definition at line 992 of file cartesian-grid2d.h. References Edge, and MaxEdgeNum. |
|
Definition at line 994 of file cartesian-grid2d.h. |
|
Definition at line 995 of file cartesian-grid2d.h. Referenced by MaxNum. |
|
Definition at line 996 of file cartesian-grid2d.h. References Cell, and MinCellNum. |
|
Definition at line 997 of file cartesian-grid2d.h. References Cell, and MaxCellNum. |
|
Definition at line 1003 of file cartesian-grid2d.h. Referenced by switched_vertex. |
|
Definition at line 1005 of file cartesian-grid2d.h. References Cell, Edge, and Vertex. Referenced by switch_facet, switched_edge, and switched_facet. |
|
Definition at line 1007 of file cartesian-grid2d.h. References Cell, Edge, switch_edge, and Vertex. |
|
Definition at line 1009 of file cartesian-grid2d.h. Referenced by switched_cell. |
|
Definition at line 1011 of file cartesian-grid2d.h. References Edge, switch_vertex, and Vertex. |
|
Definition at line 1013 of file cartesian-grid2d.h. References Cell, Edge, switch_edge, and Vertex. |
|
Definition at line 1015 of file cartesian-grid2d.h. References Cell, Edge, switch_edge, and Vertex. |
|
Definition at line 1017 of file cartesian-grid2d.h. References Cell, Edge, and switch_cell. |
|
Definition at line 934 of file cartesian-grid2d.h. |
|
Definition at line 935 of file cartesian-grid2d.h. Referenced by RegGrid2D::Cell::FlipEdge, handle, IsOnBoundary, MaxNum, MinNum, Offset, switch_edge, switch_facet, switch_vertex, switched_edge, switched_facet, switched_vertex, RegGrid2D::Edge::V1, RegGrid2D::Edge::V2, vertex, RegGrid2D::Cell::vertex, and vertex_num. |
|
Definition at line 936 of file cartesian-grid2d.h. Referenced by edge, RegGrid2D::Cell::edge, RegGrid2D::Cell::FlipEdge, get_edge, handle, MaxNum, MinNum, Offset, switch_cell, switch_edge, switch_facet, switch_vertex, switched_cell, switched_edge, switched_facet, switched_vertex, xedge, and yedge. |
|
Definition at line 937 of file cartesian-grid2d.h. Referenced by RegGrid2D::Edge::C1, RegGrid2D::Edge::C2, RegGrid2D::Vertex::cell, cell, cell_num, handle, MaxNum, MinNum, Offset, switch_cell, switch_edge, switch_facet, switched_cell, switched_edge, and switched_facet. |
|
Definition at line 939 of file cartesian-grid2d.h. Referenced by FirstVertex, and handle. |
|
Definition at line 940 of file cartesian-grid2d.h. Referenced by FirstEdge, and FirstFacet. |
|
Definition at line 941 of file cartesian-grid2d.h. Referenced by FirstCell. |
|
Definition at line 942 of file cartesian-grid2d.h. Referenced by RegGrid2D::Vertex::EndVertex, and RegGrid2D::Vertex::FirstVertex. |
|
Definition at line 943 of file cartesian-grid2d.h. Referenced by RegGrid2D::Cell::EndVertex, RegGrid2D::Cell::FirstVertex, and handle. |
|
Definition at line 944 of file cartesian-grid2d.h. Referenced by RegGrid2D::Cell::EndEdge, RegGrid2D::Cell::EndFacet, RegGrid2D::Cell::FirstEdge, and RegGrid2D::Cell::FirstFacet. |
|
Definition at line 945 of file cartesian-grid2d.h. Referenced by RegGrid2D::Cell::EndNeighbour, and RegGrid2D::Cell::FirstNeighbour. |