#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"
Go to the source code of this file.
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 |
|
) |
| |
Returns a RealVect obtained by multiplying each of the components of the given RealVect by a scalar.
References D_DECL6.
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.