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


Main Page   Class Hierarchy   Compound List   File List  

Coords Class Reference

Implementation of a point in the computational domain in global index coordinates. More...

#include <Coords.h>

Collaboration diagram for Coords:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CoordsIterator Iterator

Public Methods

 Coords (void)
 Coords (int const r, int const val)
 Coords (int const r, int const *val)
 Coords (Coords const &other)
 Coords (int const r, int const i, int const j)
 Coords (int const r, int const i, int const j, int const k)
Coords & operator= (Coords const &rhs)
Coords & operator= (const int &rhs)
 ~Coords ()
int & operator() (int const i)
int operator() (int const i) const
int * operator() (void)
int * operator() (void) const
 operator int * ()
 operator int * () const
 operator long int * ()
 operator const long int * () const
Coords & operator+= (Coords const &rhs)
Coords operator+ (Coords const &rhs) const
Coords & operator-= (Coords const &rhs)
Coords operator- (Coords const &rhs) const
Coords & operator *= (Coords const &rhs)
Coords operator * (Coords const &rhs) const
Coords & operator/= (Coords const &rhs)
Coords operator/ (Coords const &rhs) const
Coords & operator%= (Coords const &rhs)
Coords operator% (Coords const &rhs) const
Coords & operator+= (int const rhs)
Coords operator+ (int const rhs) const
Coords & operator-= (int const rhs)
Coords operator- (int const rhs) const
Coords & operator *= (int const rhs)
Coords operator * (int const rhs) const
Coords & operator/= (int const rhs)
Coords operator/ (int const rhs) const
Coords & operator%= (int const rhs)
Coords operator% (int const rhs) const
Coords operator- () const
int operator!= (Coords const &rhs) const
int operator== (Coords const &rhs) const
int operator> (Coords const &rhs) const
int operator< (Coords const &rhs) const
void setval (int const val)
void setval (Coords const rhs)
void min (Coords const &rhs)
void max (Coords const &rhs)
Coords getmin (Coords const &rhs) const
Coords getmax (Coords const &rhs) const

Public Attributes

int rank

Static Public Attributes

Coords _empty_coords

Friends

istream & operator>> (istream &s, Coords &c)
ostream & operator<< (ostream &s, const Coords &c)
ifstream & operator>> (ifstream &s, Coords &c)
ofstream & operator<< (ofstream &s, const Coords &c)

Detailed Description

Implementation of a point in the computational domain in global index coordinates.

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 37 of file Coords.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