escript  Revision_
Classes | Typedefs | Enumerations | Functions | Variables
ripley Namespace Reference

Classes

class  AbstractAssembler
class  Brick
 Brick is the 3-dimensional implementation of a RipleyDomain. More...
class  DefaultAssembler2D
class  DefaultAssembler3D
class  LameAssembler2D
class  LameAssembler3D
class  Rectangle
 Rectangle is the 2-dimensional implementation of a RipleyDomain. More...
struct  ReaderParameters
 Structure that wraps parameters for the grid reading routines. More...
struct  DiracPoint
 A struct to contain a dirac point's information. More...
class  RipleyDomain
 RipleyDomain extends the AbstractContinuousDomain interface for the Ripley library and is the base class for Rectangle and Brick. More...
class  RipleyException
 RipleyException exception class. More...
class  WaveAssembler2D
class  WaveAssembler3D

Typedefs

typedef std::pair< index_t,
index_t
IndexPair
typedef std::vector< index_tIndexVector
typedef std::vector< double > DoubleVector
typedef std::vector
< Esys_MPI_rank
RankVector
typedef std::map< std::string,
index_t
TagMap
typedef std::map< std::string,
int > 
simap_t

Enumerations

enum  {
  DegreesOfFreedom = 1, ReducedDegreesOfFreedom = 2, Nodes = 3, ReducedNodes = 14,
  Elements = 4, ReducedElements = 10, FaceElements = 5, ReducedFaceElements = 11,
  Points = 6
}
enum  assembler_t { DEFAULT_ASSEMBLER, WAVE_ASSEMBLER, LAME_ASSEMBLER }
enum  { BYTEORDER_NATIVE = BOOST_BYTE_ORDER, BYTEORDER_LITTLE_ENDIAN = 1234, BYTEORDER_BIG_ENDIAN = 4321 }
enum  { DATATYPE_INT32 = 1, DATATYPE_FLOAT32, DATATYPE_FLOAT64 }

Functions

escript::Data unpackData (std::string target, std::map< std::string, escript::Data > mapping)
int indexOfMax (int a, int b, int c)
template<typename T >
std::vector< T > extractPyArray (const object &obj, const std::string &name, int expectedLength=0)
escript::Data readBinaryGrid (std::string filename, escript::FunctionSpace fs, const object &pyShape, double fill, int byteOrder, int dataType, const object &pyFirst, const object &pyNum, const object &pyMultiplier, const object &pyReverse)
escript::Data readNcGrid (std::string filename, std::string varname, escript::FunctionSpace fs, const object &pyShape, double fill, const object &pyFirst, const object &pyNum, const object &pyMultiplier, const object &pyReverse)
escript::Domain_ptr _brick (double _n0, double _n1, double _n2, const object &l0, const object &l1, const object &l2, int d0, int d1, int d2, const object &objpoints, const object &objtags)
escript::Domain_ptr _rectangle (double _n0, double _n1, const object &l0, const object &l1, int d0, int d1, const object &objpoints, const object &objtags)
std::string _who ()
void tupleListToMap (map< string, escript::Data > &mapping, boost::python::list &list)
char * byte_swap32 (char *val)

Variables

const int _q [] = {0x62207363, 0x6574735F, 0x2020214e}

Typedef Documentation

typedef std::vector<double> ripley::DoubleVector
typedef std::pair<index_t,index_t> ripley::IndexPair
typedef std::vector<index_t> ripley::IndexVector
typedef std::vector<Esys_MPI_rank> ripley::RankVector
typedef std::map<std::string, int> ripley::simap_t
typedef std::map<std::string,index_t> ripley::TagMap

Enumeration Type Documentation

anonymous enum
Enumerator:
DegreesOfFreedom 
ReducedDegreesOfFreedom 
Nodes 
ReducedNodes 
Elements 
ReducedElements 
FaceElements 
ReducedFaceElements 
Points 
anonymous enum
Enumerator:
BYTEORDER_NATIVE 
BYTEORDER_LITTLE_ENDIAN 
BYTEORDER_BIG_ENDIAN 
anonymous enum
Enumerator:
DATATYPE_INT32 
DATATYPE_FLOAT32 
DATATYPE_FLOAT64 
Enumerator:
DEFAULT_ASSEMBLER 
WAVE_ASSEMBLER 
LAME_ASSEMBLER 

Function Documentation

escript::Domain_ptr ripley::_brick ( double  _n0,
double  _n1,
double  _n2,
const object &  l0,
const object &  l1,
const object &  l2,
int  d0,
int  d1,
int  d2,
const object &  objpoints,
const object &  objtags 
)

References paso::util::l2().

Referenced by BOOST_PYTHON_MODULE().

escript::Domain_ptr ripley::_rectangle ( double  _n0,
double  _n1,
const object &  l0,
const object &  l1,
int  d0,
int  d1,
const object &  objpoints,
const object &  objtags 
)

Referenced by BOOST_PYTHON_MODULE().

std::string ripley::_who ( )

References _q.

Referenced by BOOST_PYTHON_MODULE().

char* ripley::byte_swap32 ( char *  val) [inline]
template<typename T >
std::vector<T> ripley::extractPyArray ( const object &  obj,
const std::string &  name,
int  expectedLength = 0 
)
int ripley::indexOfMax ( int  a,
int  b,
int  c 
)

Referenced by ripley::Brick::Brick().

escript::Data ripley::readBinaryGrid ( std::string  filename,
escript::FunctionSpace  fs,
const object &  pyShape,
double  fill,
int  byteOrder,
int  dataType,
const object &  pyFirst,
const object &  pyNum,
const object &  pyMultiplier,
const object &  pyReverse 
)
escript::Data ripley::readNcGrid ( std::string  filename,
std::string  varname,
escript::FunctionSpace  fs,
const object &  pyShape,
double  fill,
const object &  pyFirst,
const object &  pyNum,
const object &  pyMultiplier,
const object &  pyReverse 
)
void ripley::tupleListToMap ( map< string, escript::Data > &  mapping,
boost::python::list &  list 
)
escript::Data ripley::unpackData ( std::string  target,
std::map< std::string, escript::Data mapping 
)

Variable Documentation

const int ripley::_q[] = {0x62207363, 0x6574735F, 0x2020214e}

Referenced by _who().