|
void | runPythonObject (py::object obj) |
|
template<> |
bool | DictWrapper::has< std::function< void()> > (const char *name) |
|
void | exportBasicWalberlaDatastructures (py::module_ &m) |
|
void | exportMPI (py::module_ &m) |
|
BlockDataID | blockDataIDFromString (BlockStorage &bs, const std::string &stringID) |
|
BlockDataID | blockDataIDFromString (IBlock &block, const std::string &stringID) |
|
BlockDataID | blockDataIDFromString (StructuredBlockStorage &bs, const std::string &stringID) |
|
template<typename UID , typename StringContainer > |
Set< UID > | uidSetFromStringContainer (const StringContainer &) |
|
template<typename FField > |
FField::value_type | maskFromFlagList (const shared_ptr< StructuredBlockStorage > &, ConstBlockDataID, const std::vector< std::string > &) |
|
void | initWalberlaForPythonModule () |
|
template<typename F > |
void | for_each_noncopyable_type (const F &) |
|
template<typename Type , typename... Types, typename F > |
void | for_each_noncopyable_type (const F &f) |
|
template<py::return_value_policy Policy = py::return_value_policy::reference_internal, typename T > |
py::iterator | make_owning_iterator (T obj) |
|
template<typename T > |
static bool | isCppEqualToPythonType (std::string n) |
|
template<> |
bool | isCppEqualToPythonType< float > (std::string n) |
|
template<> |
bool | isCppEqualToPythonType< double > (std::string n) |
|
template<> |
bool | isCppEqualToPythonType< uint8_t > (std::string n) |
|
template<> |
bool | isCppEqualToPythonType< uint16_t > (std::string n) |
|
template<> |
bool | isCppEqualToPythonType< uint32_t > (std::string n) |
|
template<> |
bool | isCppEqualToPythonType< uint64_t > (std::string n) |
|
template<> |
bool | isCppEqualToPythonType< int8_t > (std::string n) |
|
template<> |
bool | isCppEqualToPythonType< int16_t > (std::string n) |
|
template<> |
bool | isCppEqualToPythonType< int32_t > (std::string n) |
|
template<> |
bool | isCppEqualToPythonType< int64_t > (std::string n) |
|
template<typename T > |
std::vector< T > | pythonIterableToStdVector (const py::object &iterable) |
|
CellInterval | globalPythonSliceToCellInterval (const shared_ptr< StructuredBlockStorage > &blocks, py::tuple indexTuple) |
| Creates a CellInterval as subset from the complete domain-cell-bounding-box based on a Python slice. More...
|
|
template<typename... Types> |
py::object | testBlockData (IBlock &block, BlockDataID blockDataID) |
|
void | importModuleOrFile (const std::string &, const std::vector< std::string > &) |
|
Creates a CellInterval as subset from the complete domain-cell-bounding-box based on a Python slice.
Example: Python Slice: [ :, 3, -1 ] and a domain size of ( 3,4,5 )
- x coordinate is the complete valid x-range indicated by the semicolon: i.e. [0,3)
- y coordinate is just a normal index i.e. the range from [3,4)
- z coordinate is the first valid coordinate from the back [4,5)
Python slices are tuples with slice classes as entry. Each slice has start, stop and step. Steps are not supported since they can not be encoded in a CellInterval