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:

Go to the source code of this file.

Classes

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

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)


Function Documentation

template<>
int linearSize ( const CH_XDIR::RealVect &  vindex  )  [inline]

template<>
void linearIn ( CH_XDIR::RealVect &  a_outputT,
const void *const   inBuf 
) [inline]

template<>
void linearOut ( void *const   a_outBuf,
const CH_XDIR::RealVect &  a_inputT 
) [inline]

template<>
int linearSize ( const Vector< CH_XDIR::RealVect > &  a_input  )  [inline]

template<>
void linearIn ( Vector< CH_XDIR::RealVect > &  a_outputT,
const void *const   inBuf 
) [inline]

template<>
void linearOut ( void *const   a_outBuf,
const Vector< CH_XDIR::RealVect > &  a_inputT 
) [inline]

template<>
int linearSize ( const Vector< Vector< CH_XDIR::RealVect > > &  a_input  )  [inline]

template<>
void linearIn ( Vector< Vector< CH_XDIR::RealVect > > &  a_outputT,
const void *const   inBuf 
) [inline]

template<>
void linearOut ( void *const   a_outBuf,
const Vector< Vector< CH_XDIR::RealVect > > &  a_inputT 
) [inline]

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, and RealVect::RealVect().

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.


Generated on Fri Apr 5 04:23:57 2019 for Chombo + EB by  doxygen 1.5.5