DCoords Class Reference
This class implements the double precision coordinates of a point in the computational domain.
More...
#include <DCoords.h>
List of all members.
Public Member Functions |
| DCoords (void) |
| DCoords (int const r) |
| DCoords (int const r, double const val) |
| DCoords (int const r, double const *val) |
| DCoords (DCoords const &other) |
| DCoords (int const r, double const i, double const j) |
| DCoords (int const r, double const i, double const j, double const k) |
DCoords & | operator= (DCoords const &rhs) |
| ~DCoords () |
double & | operator() (int const i) |
double | operator() (int const i) const |
double * | operator() (void) |
double const * | operator() (void) const |
| operator double * () |
| operator const double * () const |
| Point_Point_Operator (+=,+) Point_Point_Operator(- |
Point_Point_Operator * | Point_Point_Operator (/=,/)#define Point_Scalar_Operator(ope, op) Point_Scalar_Operator(+=,+) Point_Scalar_Operator(-=,-) Point_Scalar_Operator(*=,*) Point_Scalar_Operator(/=,/) inline DCoords operator-() const {DCoords coords(rank |
| return (coords) |
int | operator!= (DCoords const &rhs) const |
int | operator== (DCoords const &rhs) const |
int | operator> (DCoords const &rhs) const |
int | operator< (DCoords const &rhs) const |
void | setval (double const val) |
void | setval (DCoords const &rhs) |
void | min (DCoords const &rhs) |
void | max (DCoords const &rhs) |
DCoords | getmin (DCoords const &rhs) const |
DCoords | getmax (DCoords const &rhs) const |
Public Attributes |
int | rank |
coords | c [0] = -c[0] |
Static Public Attributes |
static class DCoords | _empty_dcoords |
Friends |
std::istream & | operator>> (std::istream &s, DCoords &c) |
std::ostream & | operator<< (std::ostream &s, const DCoords &c) |
Detailed Description
This class implements the double precision coordinates of a point in the computational domain.
This class is sort of an adaptation and extension of the from Class RegionX of LPARX developed by Scott Kohn (skohn-at-cs.ucsd.edu)
- Author:
- Manish Parashar
- Date:
- Jun-1997
Constructor & Destructor Documentation
DCoords::DCoords |
( |
void |
|
) |
[inline] |
DCoords::DCoords |
( |
int const |
r |
) |
[inline] |
DCoords::DCoords |
( |
int const |
r, |
|
|
double const |
val | |
|
) |
| | [inline] |
DCoords::DCoords |
( |
int const |
r, |
|
|
double const * |
val | |
|
) |
| | [inline] |
DCoords::DCoords |
( |
DCoords const & |
other |
) |
[inline] |
DCoords::DCoords |
( |
int const |
r, |
|
|
double const |
i, |
|
|
double const |
j | |
|
) |
| | [inline] |
DCoords::DCoords |
( |
int const |
r, |
|
|
double const |
i, |
|
|
double const |
j, |
|
|
double const |
k | |
|
) |
| | [inline] |
DCoords::~DCoords |
( |
|
) |
[inline] |
Member Function Documentation
void DCoords::max |
( |
DCoords const & |
rhs |
) |
[inline] |
void DCoords::min |
( |
DCoords const & |
rhs |
) |
[inline] |
DCoords::operator const double * |
( |
|
) |
const [inline] |
DCoords::operator double * |
( |
|
) |
[inline] |
int DCoords::operator!= |
( |
DCoords const & |
rhs |
) |
const [inline] |
double const* DCoords::operator() |
( |
void |
|
) |
const [inline] |
double* DCoords::operator() |
( |
void |
|
) |
[inline] |
double DCoords::operator() |
( |
int const |
i |
) |
const [inline] |
double& DCoords::operator() |
( |
int const |
i |
) |
[inline] |
int DCoords::operator< |
( |
DCoords const & |
rhs |
) |
const [inline] |
int DCoords::operator== |
( |
DCoords const & |
rhs |
) |
const [inline] |
int DCoords::operator> |
( |
DCoords const & |
rhs |
) |
const [inline] |
Point_Point_Operator* DCoords::Point_Point_Operator |
( |
/ |
, |
|
|
/ |
| |
|
) |
| | const |
DCoords::Point_Point_Operator |
( |
+ |
, |
|
|
+ |
| |
|
) |
| | |
DCoords::return |
( |
coords |
|
) |
|
void DCoords::setval |
( |
DCoords const & |
rhs |
) |
[inline] |
void DCoords::setval |
( |
double const |
val |
) |
[inline] |
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const DCoords & |
c | |
|
) |
| | [friend] |
std::istream& operator>> |
( |
std::istream & |
s, |
|
|
DCoords & |
c | |
|
) |
| | [friend] |
Member Data Documentation
coords DCoords::c[2] = -c[0] |
The documentation for this class was generated from the following file: