|
| index_t | escript::DataTypes::index_t_min () |
| | Returns the minimum finite value for the index_t type.
|
| |
| index_t | escript::DataTypes::index_t_max () |
| | Returns the maximum finite value for the index_t type.
|
| |
| real_t | escript::DataTypes::real_t_max () |
| | Returns the maximum finite value for the real_t type.
|
| |
| real_t | escript::DataTypes::real_t_eps () |
| | Returns the machine epsilon for the real_t type.
|
| |
| int | escript::DataTypes::noValues (const DataTypes::ShapeType &shape) |
| | Calculate the number of values in a datapoint with the given shape.
|
| |
| int | escript::DataTypes::noValues (const DataTypes::RegionLoopRangeType ®ion) |
| | Calculate the number of values for the given region.
|
| |
| std::string | escript::DataTypes::shapeToString (const DataTypes::ShapeType &shape) |
| | Return the given shape as a string.
|
| |
| DataTypes::ShapeType | escript::DataTypes::getResultSliceShape (const DataTypes::RegionType ®ion) |
| | Determine the shape of the specified slice region.
|
| |
| DataTypes::RegionType | escript::DataTypes::getSliceRegion (const DataTypes::ShapeType &shape, const boost::python::object &key) |
| | Determine the region specified by the given python slice object.
|
| |
| DataTypes::RegionLoopRangeType | escript::DataTypes::getSliceRegionLoopRange (const DataTypes::RegionType ®ion) |
| | Modify region to copy from in order to deal with the case where one range in the region contains identical indexes, eg: <<1,1><0,3><0,3>> This situation implies we want to copy from an object with rank greater than that of this object. eg: we want to copy the values from a two dimensional slice out of a three dimensional object into a two dimensional object. We do this by taking a slice from the other object where one dimension of the slice region is of size 1. So in the above example, we modify the above region like so: <<1,2><0,3><0,3>> and take this slice.
|
| |
| int | escript::DataTypes::getRank (const DataTypes::ShapeType &shape) |
| | Return the rank (number of dimensions) of the given shape.
|
| |
| vec_size_type | escript::DataTypes::getRelIndex (const DataTypes::ShapeType &shape, vec_size_type i) |
| | Compute the offset (in 1D vector) of a given subscript with a shape.
|
| |
| vec_size_type | escript::DataTypes::getRelIndex (const DataTypes::ShapeType &shape, vec_size_type i, vec_size_type j) |
| | Compute the offset (in 1D vector) of a given subscript with a shape.
|
| |
| vec_size_type | escript::DataTypes::getRelIndex (const DataTypes::ShapeType &shape, vec_size_type i, vec_size_type j, vec_size_type k) |
| | Compute the offset (in 1D vector) of a given subscript with a shape.
|
| |
| vec_size_type | escript::DataTypes::getRelIndex (const DataTypes::ShapeType &shape, vec_size_type i, vec_size_type j, vec_size_type k, vec_size_type m) |
| | Compute the offset (in 1D vector) of a given subscript with a shape.
|
| |
| bool | escript::DataTypes::checkShape (const ShapeType &s1, const ShapeType &s2) |
| | Test if two shapes are equal.
|
| |
| std::string | escript::DataTypes::createShapeErrorMessage (const std::string &messagePrefix, const DataTypes::ShapeType &other, const DataTypes::ShapeType &thisShape) |
| | Produce a string containing two shapes.
|
| |
| bool | escript::DataTypes::checkOffset (vec_size_type offset, int size, int noval) |
| |