#include <iostream>
#include "cell.h"
#include "datastore.h"
#include "spline.h"
#include "util.h"
Include dependency graph for cell.C:
Go to the source code of this file.
Defines | |
#define | define_iterators_any(cls, cell, plural, out) |
#define | define_iterators_canon(cls, cell, plural, out) |
Functions | |
ostream & | operator<< (ostream &stream, const BoundaryVertex &v) |
Print info. | |
define_iterators_any (BoundaryVertex, edge, edges, BoundaryEdge) | |
ostream & | operator<< (ostream &stream, const BoundaryEdge &e) |
Print info to stream. | |
define_iterators_canon (BoundaryEdge, vertex, vertices, BoundaryVertex) | |
define_iterators_any (BoundaryEdge, face, faces, BoundaryFace) | |
ostream & | operator<< (ostream &stream, const BoundaryFace &f) |
Print info to stream. | |
define_iterators_canon (BoundaryFace, edge, edges, BoundaryEdge) | |
ostream & | operator<< (ostream &stream, const BezierVertex &v) |
Print info to stream. | |
define_iterators_any (BezierVertex, edge, edges, BezierEdge) | |
ostream & | operator<< (ostream &stream, const BezierEdge &e) |
Print info to stream. | |
define_iterators_canon (BezierEdge, vertex, vertices, BezierVertex) | |
define_iterators_any (BezierEdge, face, faces, BezierTriangle) | |
static int | map_idx (int i, bool ccw) |
ostream & | operator<< (ostream &stream, const BezierTriangle &t) |
Print info to stream. | |
define_iterators_canon (BezierTriangle, edge, edges, BezierEdge) | |
ostream & | operator<< (ostream &stream, const GhostTriangle &t) |
Print info to stream. | |
Variables | |
static unsigned long | id_counter = 0 |
A static counter to implement unique Cell ID's. | |
static const double | large_num = 1.0E9 |
static const double | newton_optimal_tolerance = 1.0E-12 |
static const double | newton_zero_tolerance = 1.0E-5 |
static const double | newton_tolerance = 1.0E-6 |
static const unsigned | newton_iterations = 30 |
Definition in file cell.C.
#define define_iterators_any | ( | cls, | |||
cell, | |||||
plural, | |||||
out | ) |
Value:
cls::cell##_iterator cls::begin_##plural() { \ return cell##_iterator(super::begin_##plural()); \ } \ cls::cell##_const_iterator cls::begin_##plural() const { \ return cell##_const_iterator(super::begin_##plural()); \ } \ cls::cell##_iterator cls::end_##plural() { \ return cell##_iterator(super::end_##plural()); \ } \ cls::cell##_const_iterator cls::end_##plural() const { \ return cell##_const_iterator(super::end_##plural()); \ } \ out *cls::get_any_##cell() { \ return static_cast<out*>(super::get_any_##cell()); \ } \ const out *cls::get_any_##cell() const { \ return static_cast<const out*>(super::get_any_##cell()); \ }
#define define_iterators_canon | ( | cls, | |||
cell, | |||||
plural, | |||||
out | ) |
Value:
cls::cell##_iterator cls::begin_##plural() { \ return cell##_iterator(super::begin_##plural()); \ } \ cls::cell##_const_iterator cls::begin_##plural() const { \ return cell##_const_iterator(super::begin_##plural()); \ } \ cls::cell##_iterator cls::end_##plural() { \ return cell##_iterator(super::end_##plural()); \ } \ cls::cell##_const_iterator cls::end_##plural() const { \ return cell##_const_iterator(super::end_##plural()); \ } \ out *cls::get_canon_##cell() { \ return static_cast<out*>(super::get_canon_##cell()); \ } \ const out *cls::get_canon_##cell() const { \ return static_cast<const out*>(super::get_canon_##cell()); \ }
define_iterators_any | ( | BezierEdge | , | |
face | , | |||
faces | , | |||
BezierTriangle | ||||
) |
define_iterators_any | ( | BezierVertex | , | |
edge | , | |||
edges | , | |||
BezierEdge | ||||
) |
define_iterators_any | ( | BoundaryEdge | , | |
face | , | |||
faces | , | |||
BoundaryFace | ||||
) |
define_iterators_any | ( | BoundaryVertex | , | |
edge | , | |||
edges | , | |||
BoundaryEdge | ||||
) |
define_iterators_canon | ( | BezierTriangle | , | |
edge | , | |||
edges | , | |||
BezierEdge | ||||
) |
Define the iterator functions.
define_iterators_canon | ( | BezierEdge | , | |
vertex | , | |||
vertices | , | |||
BezierVertex | ||||
) |
define_iterators_canon | ( | BoundaryFace | , | |
edge | , | |||
edges | , | |||
BoundaryEdge | ||||
) |
define_iterators_canon | ( | BoundaryEdge | , | |
vertex | , | |||
vertices | , | |||
BoundaryVertex | ||||
) |
static int map_idx | ( | int | i, | |
bool | ccw | |||
) | [static] |
ostream& operator<< | ( | ostream & | stream, | |
const GhostTriangle & | t | |||
) |
Print info to stream.
Definition at line 2334 of file cell.C.
References GhostTriangle::cp, and GhostTriangle::dp.
ostream& operator<< | ( | ostream & | stream, | |
const BezierTriangle & | t | |||
) |
Print info to stream.
Definition at line 2112 of file cell.C.
References FaceCell::begin_edges(), FaceCell::end_edges(), BezierTriangle::get_bdry_face(), BezierTriangle::get_cp(), BezierTriangle::get_dp(), and BezierTriangle::has_bdry_face().
Here is the call graph for this function:
ostream& operator<< | ( | ostream & | stream, | |
const BezierEdge & | e | |||
) |
Print info to stream.
Definition at line 1417 of file cell.C.
References EdgeCell::begin_faces(), EdgeCell::begin_vertices(), EdgeCell::end_faces(), EdgeCell::end_vertices(), BezierEdge::get_bdry_edge(), BezierEdge::get_cp(), BezierEdge::get_dp(), BezierEdge::get_u(), and BezierEdge::is_boundary().
Here is the call graph for this function:
ostream& operator<< | ( | ostream & | stream, | |
const BezierVertex & | v | |||
) |
Print info to stream.
Definition at line 1035 of file cell.C.
References VertexCell::begin_edges(), BezierVertex::containment_dimension(), VertexCell::end_edges(), BezierVertex::get_bdry_edge(), BezierVertex::get_bdry_vertex(), BezierVertex::get_cp(), BezierVertex::get_dp(), and BezierVertex::get_u().
Here is the call graph for this function:
ostream& operator<< | ( | ostream & | stream, | |
const BoundaryFace & | f | |||
) |
Print info to stream.
Definition at line 735 of file cell.C.
References BoundaryFace::get_min_angle().
Here is the call graph for this function:
ostream& operator<< | ( | ostream & | stream, | |
const BoundaryEdge & | e | |||
) |
Print info to stream.
Definition at line 669 of file cell.C.
References BoundaryEdge::get_fixed().
Here is the call graph for this function:
ostream& operator<< | ( | ostream & | stream, | |
const BoundaryVertex & | v | |||
) |
Print info.
Definition at line 429 of file cell.C.
References VertexCell::begin_edges(), VertexCell::end_edges(), BoundaryVertex::get_bezier(), BoundaryVertex::get_cp(), and BoundaryVertex::get_fixed().
Here is the call graph for this function:
unsigned long id_counter = 0 [static] |
const unsigned newton_iterations = 30 [static] |
const double newton_optimal_tolerance = 1.0E-12 [static] |
const double newton_tolerance = 1.0E-6 [static] |
const double newton_zero_tolerance = 1.0E-5 [static] |