Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

RealVect.H File Reference

#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include "SPACE.H"
#include "Misc.H"
#include "REAL.H"
#include <cassert>
#include "IntVect.H"

Include dependency graph for RealVect.H:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  RealVect
 A Real vector in SpaceDim-dimensional space. More...


Functions

RealVect BASISREALV (int idir)


Function Documentation

RealVect BASISREALV int  idir  ) 
 

Returns a basis vector in the given coordinate direction.
In 2-D:
BASISREALV(0) == (1.,0.); BASISREALV(1) == (0.,1.).
In 3-D:
BASISREALV(0) == (1.,0.,0.); BASISREALV(1) == (0.,1.,0.); BASISREALV(2) == (0.,0.,1.).
Note that the coordinate directions are based at zero.


Generated on Wed Jun 2 13:57:41 2004 for Chombo&INSwithParticles by doxygen 1.3.2