Chombo + EB + MF  3.2
Classes | Macros | Functions
RealVect.H File Reference
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include "SPACE.H"
#include "Misc.H"
#include "REAL.H"
#include "IntVect.H"
#include "Vector.H"
#include "SPMD.H"
#include "IndexTM.H"
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
#include "BaseNamespaceHeader.H"
#include "NamespaceVar.H"
#include "BaseNamespaceFooter.H"
Include dependency graph for RealVect.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Macros

#define _REALVECT_H_
 

Functions

template<>
int linearSize (const CH_XDIR::RealVect &vindex)
 
template<>
void linearIn (CH_XDIR::RealVect &a_outputT, const void *const inBuf)
 
template<>
void linearOut (void *const a_outBuf, const CH_XDIR::RealVect &a_inputT)
 
template<>
int linearSize (const Vector< CH_XDIR::RealVect > &a_input)
 
template<>
void linearIn (Vector< CH_XDIR::RealVect > &a_outputT, const void *const inBuf)
 
template<>
void linearOut (void *const a_outBuf, const Vector< CH_XDIR::RealVect > &a_inputT)
 
template<>
int linearSize (const Vector< Vector< CH_XDIR::RealVect > > &a_input)
 
template<>
void linearIn (Vector< Vector< CH_XDIR::RealVect > > &a_outputT, const void *const inBuf)
 
template<>
void linearOut (void *const a_outBuf, const Vector< Vector< CH_XDIR::RealVect > > &a_inputT)
 
RealVect scale (const RealVect &p, Real s)
 
RealVect min (const RealVect &p1, const RealVect &p2)
 
RealVect max (const RealVect &p1, const RealVect &p2)
 
RealVect BASISREALV (int idir)
 

Macro Definition Documentation

#define _REALVECT_H_

Function Documentation

template<>
int linearSize ( const CH_XDIR::RealVect &  vindex)
template<>
void linearIn ( CH_XDIR::RealVect &  a_outputT,
const void *const  inBuf 
)
template<>
void linearOut ( void *const  a_outBuf,
const CH_XDIR::RealVect &  a_inputT 
)
template<>
int linearSize ( const Vector< CH_XDIR::RealVect > &  a_input)
template<>
void linearIn ( Vector< CH_XDIR::RealVect > &  a_outputT,
const void *const  inBuf 
)
template<>
void linearOut ( void *const  a_outBuf,
const Vector< CH_XDIR::RealVect > &  a_inputT 
)
template<>
int linearSize ( const Vector< Vector< CH_XDIR::RealVect > > &  a_input)
template<>
void linearIn ( Vector< Vector< CH_XDIR::RealVect > > &  a_outputT,
const void *const  inBuf 
)
template<>
void linearOut ( void *const  a_outBuf,
const Vector< Vector< CH_XDIR::RealVect > > &  a_inputT 
)
RealVect scale ( const RealVect p,
Real  s 
)
inline

Returns a RealVect obtained by multiplying each of the components of the given RealVect by a scalar.

References D_DECL6.

RealVect min ( const RealVect p1,
const RealVect p2 
)
inline

Returns the RealVect that is the component-wise minimum of two argument RealVects.

References RealVect::min().

RealVect max ( const RealVect p1,
const RealVect p2 
)
inline

Returns the RealVect that is the component-wise maximum of two argument RealVects.

References RealVect::max().

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.