AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

DCoords Class Reference

This class implements the double precision coordinates of a point in the computational domain. More...

#include <DCoords.h>

Collaboration diagram for DCoords:

Collaboration graph
[legend]
List of all members.

Public Methods

 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
DCoords & operator+= (DCoords const &rhs)
DCoords operator+ (DCoords const &rhs) const
DCoords & operator-= (DCoords const &rhs)
DCoords operator- (DCoords const &rhs) const
DCoords & operator *= (DCoords const &rhs)
DCoords operator * (DCoords const &rhs) const
DCoords & operator/= (DCoords const &rhs)
DCoords operator/ (DCoords const &rhs) const
DCoords & operator+= (double const rhs)
DCoords operator+ (double const rhs) const
DCoords & operator-= (double const rhs)
DCoords operator- (double const rhs) const
DCoords & operator *= (double const rhs)
DCoords operator * (double const rhs) const
DCoords & operator/= (double const rhs)
DCoords operator/ (double const rhs) const
DCoords operator- () const
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

Static Public Attributes

DCoords _empty_dcoords

Friends

istream & operator>> (istream &s, DCoords &c)
ostream & operator<< (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

Definition at line 28 of file DCoords.h.


The documentation for this class was generated from the following file:


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04