IntVect.H File Reference

#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include "SPACE.H"
#include "Vector.H"
#include "IndexTM.H"
#include <cstdint>
#include "SPMD.H"
#include "Misc.H"
#include <functional>
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
#include "BaseNamespaceHeader.H"
#include "NamespaceVar.H"
#include "BaseNamespaceFooter.H"

Include dependency graph for IntVect.H:

Go to the source code of this file.

Namespaces

namespace  BLfacade
namespace  std

Classes

class  IntVect
 An integer Vector in SpaceDim-dimensional space. More...

Functions

template<>
int linearSize (const CH_XDIR::IntVect &a_iv)
 functions for linearization
template<>
void linearIn (CH_XDIR::IntVect &a_iv, const void *a_inBuf)
 functions for linearization
template<>
void linearOut (void *a_outBuf, const CH_XDIR::IntVect &a_iv)
 functions for linearization
template<>
int linearSize (const Vector< CH_XDIR::IntVect > &a_input)
template<>
void linearIn (Vector< CH_XDIR::IntVect > &a_outputT, const void *const inBuf)
template<>
void linearOut (void *const a_outBuf, const Vector< CH_XDIR::IntVect > &a_inputT)
template<>
int linearSize (const Vector< Vector< CH_XDIR::IntVect > > &a_input)
template<>
void linearIn (Vector< Vector< CH_XDIR::IntVect > > &a_outputT, const void *const inBuf)
template<>
void linearOut (void *const a_outBuf, const Vector< Vector< CH_XDIR::IntVect > > &a_inputT)
IntVect operator+ (int s, const IntVect &p)
IntVect operator- (int s, const IntVect &p)
IntVect operator* (int s, const IntVect &p)
IntVect scale (const IntVect &p, int s)
const IntVect absolute (const IntVect &p)
IntVect diagShift (const IntVect &p, int s)
IntVect min (const IntVect &p1, const IntVect &p2)
IntVect max (const IntVect &p1, const IntVect &p2)

Variables

static int s_dummyForIntVectH = IntVect::InitStatics()


Function Documentation

template<>
int linearSize ( const CH_XDIR::IntVect &  a_iv  )  [inline]

functions for linearization

template<>
void linearIn ( CH_XDIR::IntVect &  a_iv,
const void *  a_inBuf 
) [inline]

functions for linearization

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

functions for linearization

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

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

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

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

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

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

IntVect operator+ ( int  s,
const IntVect p 
) [inline]

Returns an IntVect that is an IntVect p with a scalar s added to each component.

References D_DECL6, and IntVect::IntVect().

IntVect operator- ( int  s,
const IntVect p 
) [inline]

Returns s - p.

References D_DECL6, and IntVect::IntVect().

IntVect operator* ( int  s,
const IntVect p 
) [inline]

Returns an IntVect that is an IntVect p with each component multiplied by a scalar s.

References D_DECL6, and IntVect::IntVect().

IntVect scale ( const IntVect p,
int  s 
) [inline]

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

References D_DECL6, and IntVect::IntVect().

const IntVect absolute ( const IntVect p  )  [inline]

References D_DECL6, and IntVect::IntVect().

IntVect diagShift ( const IntVect p,
int  s 
) [inline]

Returns IntVect obtained by adding a scalar to each of the components of the given IntVect.

References D_DECL6, and IntVect::IntVect().

IntVect min ( const IntVect p1,
const IntVect p2 
) [inline]

Returns the IntVect that is the component-wise minimum of two argument IntVects.

References IntVect::min(), and IntVect::p().

IntVect max ( const IntVect p1,
const IntVect p2 
) [inline]

Returns the IntVect that is the component-wise maximum of two argument IntVects.

References IntVect::max(), and IntVect::p().


Variable Documentation

int s_dummyForIntVectH = IntVect::InitStatics() [static]


Generated on Fri Apr 5 04:22:02 2019 for Chombo + EB by  doxygen 1.5.5