ESyS-Particle  2.3.2
esys::lsm::bpu Namespace Reference

Classes

class  DefaultExtractor
class  PythonIterIterator

Functions

template<typename TmplValue >
std::vector< TmplValue > listToVector (const boost::python::list &pythonList)
template<typename TmplValue >
std::vector< TmplValue > tupleToVector (const boost::python::tuple &pythonTulple)
template<typename TmplValue , typename TmplExtractor >
std::vector< TmplValue > listToVector (const boost::python::list &pythonList, TmplExtractor extractor=TmplExtractor())
template<typename TmplVector >
boost::python::list vectorToList (const TmplVector &vec)
boost::python::object iter (const boost::python::object &pyOb)
int len (const boost::python::object &pyOb)

Function Documentation

boost::python::object esys::lsm::bpu::iter ( const boost::python::object &  pyOb)
inline

Referenced by TSubLattice< T >::addBondedWIG(), FracWriter::addData(), TSubLattice< T >::addDirBondedWIG(), TSubLattice< T >::addElasticWIG(), TSubLattice< T >::addESphereBodyIG(), ParallelInteractionStorage_ED< P, I >::addExIG(), NeighborTable< T >::addPairsToList(), NeighborTable< T >::addPairsToListFlagged(), NeighborTable< T >::addPairsToListLocal(), NeighborTable< T >::addPairsToListLocalFlagged(), FracWriter::addPlane(), TSubLattice< T >::addTaggedElasticWIG(), TSubLattice< T >::addVectorWallField(), TSubLattice< T >::addViscWIG(), CEWallInteractionGroup< T >::applyForce(), CESphereBodyInteractionGroup< T >::applyForce(), CSoftBWallInteractionGroup< T >::applyForce(), CViscWallIG< T >::applyForce(), CBWallInteractionGroup< T >::applyForce(), TSubLattice< T >::applyForceToWall(), TML_Comm::broadcast_cont(), TML_Comm::broadcast_cont_packed(), NeighborTable< T >::build(), GVMap::calc(), TSubLattice< T >::calcForces(), TSubLattice< T >::calcHeatFrict(), TSubLattice< T >::calcHeatTrans(), CRandomBlock2D::calcPorosity(), CRandomBlock3D::calcPorosity(), Graph::ccR(), ARandomAssembly3D::checkAFit(), FaultedBlock2D::checkAFit(), ARandomAssembly2D::checkAFit(), CRoughPaddedBlock3D::checkAFit(), esys::lsm::SphereBlockGenerator::checkAFit(), TSubLattice< T >::checkNeighbors(), NeighborTable< T >::clear_search_array(), ScalarParticleDistributionMaster::collect(), VectorWallFieldMaster::collect(), VectorParticleFieldMaster::collect(), ScalarTriangleFieldMaster::collectFull(), VectorTriangleFieldMaster::collectFull(), ScalarParticleFieldMaster::collectFull(), ScalarInteractionFieldMaster::collectFull(), VectorInteractionFieldMaster::collectFull(), ScalarInteractionFieldMaster::collectFull2(), VectorInteractionFieldMaster::collectFull2(), ScalarInteractionFieldMaster::collectFullWithID(), VectorInteractionFieldMaster::collectFullWithID(), ScalarInteractionFieldMaster::collectFullWithPosID(), VectorInteractionFieldMaster::collectFullWithPosID(), ScalarParticleFieldMaster::collectSum(), ScalarInteractionFieldMaster::collectSum(), VectorInteractionFieldMaster::collectSum(), convert_to_vtk(), Graph::dfsIter(), do_mesh(), do_single_frame(), do_single_frame_geo(), do_single_frame_geo_r(), do_single_frame_r(), do_single_frame_sliced_vtk_r(), do_single_frame_vtk(), do_single_frame_vtk_r(), do_single_frame_vtk_single_r(), Matrix3::eigen(), Mesh2D_PIS_EB< ParticleType, IType >::exchange_boundary(), TriMesh_PIS_EB< ParticleType, IType >::exchange_boundary(), ParallelInteractionStorage_E< P, I >::exchange_boundary(), ParallelParticleArray< T >::exchange_single(), fitPlaneToFracture(), Mesh2D::forAllEdgesGet(), Mesh2D::forAllEdgesGetIndexed(), TParallelInteractionStorage< I >::forAllInnerInteractionsGet(), TParallelInteractionStorage< I >::forAllInnerInteractionsGetDataWithID(), TParallelInteractionStorage< I >::forAllInnerInteractionsGetDataWithPosID(), TParallelInteractionStorage< I >::forAllInnerInteractionsGetRaw2(), TParallelInteractionStorage< I >::forAllInnerInteractionsGetWithPos(), ParallelParticleArray< T >::forAllInnerParticles(), ParallelParticleArray< T >::forAllInnerParticlesGet(), ParallelParticleArray< T >::forAllInnerParticlesGetIndexed(), ParallelParticleArray< T >::forAllInnerTaggedParticlesGetIndexed(), ParallelParticleArray< T >::forAllParticles(), ParallelParticleArray< T >::forAllParticlesGet(), ParallelParticleArray< T >::forAllParticlesGetIndexed(), TParallelInteractionStorage< I >::forAllTaggedInnerInteractionsGet(), TParallelInteractionStorage< I >::forAllTaggedInnerInteractionsGetWithPos(), ParallelParticleArray< T >::forAllTaggedInnerParticlesGet(), ParallelParticleArray< T >::forAllTaggedParticlesGet(), ParallelParticleArray< T >::forAllTaggedParticlesGetIndexed(), TriMesh::forAllTrianglesGet(), TriMesh::forAllTrianglesGetIndexed(), ParallelParticleArray< T >::forParticleTag(), ParallelParticleArray< T >::forParticleTagMask(), Frac::Frac(), CSplitBlock2D::generate(), CSplitBlock3D::generate(), CLayeredBlock2D::generate(), CPaddedBlock3D::generate(), FaultedBlock2D::generate(), CRoughPaddedBlock3D::generate(), esys::lsm::GranularGougeBlock3D::generateGrains(), GeoColorMap::GeoColorMap(), ParallelParticleArray< T >::get2ndSlabIds(), ARandomAssembly::get3ClosestNeighbors(), get_filenames(), get_frame_disp_r(), Frac::get_grain_mass(), Frac::get_move_vectors(), ParallelParticleArray< T >::getAllInnerParticles(), NeighborTable< T >::getAllParticles(), ParallelParticleArray< T >::getBoundarySlabIds(), CameraPos::getCamPos(), PointCloud::getCenter(), ARandomAssembly::getClosestNeighbors(), ASimpleNTable::getClosestParticleID(), CRoughPaddedBlock3D::getClosestPatch(), FaultedBlock2D::getClosestPlane(), ARandomAssembly3D::getClosestPlane(), ARandomAssembly2D::getClosestPlane(), GeoColorMap::getColor(), PointCloud::getFitPlane(), FracFrame::getFrac(), CSimple3DNTable::getInteractions(), CSimple2DNTable::getInteractions(), TSubLattice< T >::getMeshFaceRef(), TSubLattice< T >::getMeshNodeRef(), NeighborTable< T >::getNearestPtr(), NeighborTable< T >::getNewList(), NeighborTable< T >::getParticlesAtPlane(), NeighborTable< T >::getParticlesNearEdge(), NeighborTable< T >::getParticlesNearPoint(), NeighborTable< T >::getParticlesNearSphere(), NeighborTable< T >::getParticlesNearTriangle(), Graph::getPercentile(), CRandomBlock2D::getSizeDistribution(), CLatticeMaster::getSlaveSpatialDomains(), TSubLattice< T >::getSphereBodyForce(), CLatticeMaster::getSphereBodyForce(), TSubLattice< T >::getSphereBodyPos(), Graph::getVertexData(), TSubLattice< T >::getWallForce(), CLatticeMaster::getWallForce(), TSubLattice< T >::getWallPos(), CSubLatticeControler::initLatticeCirc(), ParallelParticleArray< T >::insert(), NeighborTable< T >::insert(), Graph::isEdge(), Mesh2D::LoadMesh(), TriMesh::LoadMesh(), main(), Graph::makeConnComp(), DataExtractor::MaxShearToScalarData(), Mesh2D::moveNode(), TriMesh::moveNode(), TSubLattice< T >::moveSphereBodyBy(), TSubLattice< T >::moveWallBy(), Graph::numE(), MaxTrigger::Off(), MaxTrigger::On(), operator<<(), esys::lsm::BoxPacker< TmplPackerBase >::particleFitsWithNeighbours(), esys::lsm::BlockGenerator::particleFitsWithNeighbours(), CSimple3DNTable::print(), CSimple2DNTable::print(), Graph::printAllAsVtk(), Graph::printCrossSection(), Graph::printGrainCenterPosition(), Graph::printGrainCountDist(), Graph::printGrainDiamDist(), Graph::printGrainMass(), Graph::printGrainMassDist(), Graph::printGrainPCount(), Graph::printGrainsAsVtk(), Graph::printIdList(), Graph::printRotList(), Graph::printSieveDist(), DataExtractor::read(), GVMap::read(), read_and_write_disp_grid(), read_and_write_poros_grid(), read_and_write_profile_r(), read_and_write_profile_rel(), Rextract::read_frame(), FracFrame::readFile(), FracFrame::readFileRot(), FracFrame::readFileRotTagged(), FracFrame::readFileTagged(), readGeo(), readParticles(), readParticlesSliced(), readSnap(), ParallelInteractionStorage_E< P, I >::rebuild(), ParallelParticleArray< T >::rebuild(), TSubLattice< T >::rebuildInteractions(), Graph::removeDoubles(), TSubLattice< T >::removeIG(), TriMesh::resetCurrentDisplacement(), TSubLattice< T >::resetDisplacements(), CLatticeMaster::runOneStep(), ParallelParticleArray< T >::saveCheckPointData(), TSubLattice< T >::saveCheckPointData(), saveSiloSnap(), saveSiloSnapSliced(), TML_Comm::scatter(), TML_Comm::scatter_packed(), TML_Comm::send_cont(), TML_Comm::send_cont_packed(), TML_Comm::send_gather(), TML_Comm::send_gather_debug(), TML_Comm::send_gather_packed(), VectorWallFieldSlave< WallType >::sendData(), CheckedScalarInteractionFieldSlave< T >::SendDataFull(), CheckedScalarInteractionFieldSlaveTagged< T >::SendDataFull(), CheckedScalarInteractionFieldSlave< T >::SendDataFull2(), CheckedScalarInteractionFieldSlaveTagged< T >::SendDataMax(), ScalarInteractionFieldSlaveTagged< T >::SendDataMax(), ScalarParticleFieldSlave< T >::SendDataMax(), CheckedScalarInteractionFieldSlave< T >::SendDataMax(), ScalarInteractionFieldSlave< T >::SendDataMax(), ScalarParticleFieldSlaveTagged< T >::SendDataMax(), ScalarInteractionFieldSlaveTagged< T >::SendDataSum(), ScalarParticleFieldSlave< T >::SendDataSum(), CheckedScalarInteractionFieldSlaveTagged< T >::SendDataSum(), CheckedScalarInteractionFieldSlave< T >::SendDataSum(), ScalarParticleFieldSlaveTagged< T >::SendDataSum(), ScalarInteractionFieldSlave< T >::SendDataSum(), VectorInteractionFieldSlave< T >::SendDataSum(), CheckedScalarInteractionFieldSlave< T >::SendDataWithID(), TML_Comm::sendrecv_cont(), TML_Comm::sendrecv_cont_packed(), TML_Comm::sendrecv_cont_packed_replace(), TML_Comm::sendrecv_cont_replace(), TSubLattice< T >::setTimeStepSize(), TSubLattice< T >::setVelocityOfWall(), TSubLattice< T >::setWallNormal(), DataExtractor::StrainToTensorData(), CRandomBlock2D::tagEdgeY(), CRandomBlock3D::tagEdgeY(), CRandomBlock3D::tagEdgeZ(), CRandomBlock2D::tagParticleClosestTo(), CSplitBlock2D::tagSplit(), CSplitBlock3D::tagSplit(), test_container(), test_container_map(), test_container_packed(), test_container_packed_user(), test_container_sendrecv(), test_container_sendrecv_packed(), test_container_sendrecv_packed_replace(), test_container_sendrecv_replace(), test_container_vec3(), test_gather(), TML_CartComm::TML_CartComm(), TriMesh::translateBy(), ParallelInteractionStorage_Single< P, I >::update(), ParallelInteractionStorage_NE_T< P, I >::update(), ParallelInteractionStorage_ED_T< P, I >::update(), ParallelInteractionStorage_EB< P, I >::update(), CTaggedEWallInteractionGroup< T >::Update(), ParallelInteractionStorage_NE< P, I >::update(), ParallelInteractionStorage_ED< P, I >::update(), CRotThermElasticInteractionGroup< T >::Update(), TriMesh_PIS_EB< ParticleType, IType >::update(), CRotElasticInteractionGroup< T >::Update(), CElasticInteractionGroup< T >::Update(), Mesh2D_PIS_EB< ParticleType, IType >::update(), CEWallInteractionGroup< T >::Update(), CESphereBodyInteractionGroup< T >::Update(), CSoftBWallInteractionGroup< T >::Update(), CViscWallIG< T >::Update(), CBWallInteractionGroup< T >::Update(), TSubLattice< T >::updateInteractions(), VectorWallFieldMaster::VectorWallFieldMaster(), CLatticeMaster::visitMesh2dEdgeStress(), CLatticeMaster::visitMesh2dNodeReferences(), CLatticeMaster::visitParticlesOfType(), CLatticeMaster::visitTriMeshFaceForce(), FracWriter::write(), write_bonds(), write_bonds_with_mesh(), Rextract::write_data(), Rextract::write_data_bin(), write_vtu_nr_base_data(), write_vtu_rot_base_data(), Frac::writeAllMass(), ScalarParticleFieldMaster::writeAsDX(), ScalarInteractionFieldMaster::writeAsDX(), VectorInteractionFieldMaster::writeAsDX(), VectorParticleFieldMaster::writeAsDX(), ScalarParticleFieldMaster::writeAsMAX(), ScalarInteractionFieldMaster::writeAsMAX(), VectorParticleFieldMaster::writeAsMAX(), ScalarParticleFieldMaster::writeAsPOV(), ScalarTriangleFieldMaster::writeAsRAW(), VectorTriangleFieldMaster::writeAsRAW(), ScalarInteractionFieldMaster::writeAsRAW(), ScalarInteractionFieldMaster::writeAsRAW2(), VectorInteractionFieldMaster::writeAsRAW2(), VectorParticleFieldMaster::writeAsRAW2(), VectorWallFieldMaster::writeAsRAW_SERIES(), ScalarParticleFieldMaster::writeAsRAW_SERIES(), VectorParticleFieldMaster::writeAsRAW_SERIES(), ScalarInteractionFieldMaster::writeAsRawWithID(), VectorInteractionFieldMaster::writeAsRawWithID(), VectorParticleFieldMaster::writeAsRawWithID(), ScalarParticleFieldMaster::writeAsRawWithPosID(), ScalarInteractionFieldMaster::writeAsRawWithPosID(), VectorInteractionFieldMaster::writeAsRawWithPosID(), VectorWallFieldMaster::writeAsSILO(), ScalarParticleFieldMaster::writeAsSILO(), VectorParticleFieldMaster::writeAsSILO(), ScalarParticleFieldMaster::writeAsSUM(), ScalarInteractionFieldMaster::writeAsSUM(), VectorInteractionFieldMaster::writeAsSUM(), VectorParticleFieldMaster::writeAsSUM(), Frac::writeAsVtk(), Graph::writeAvgGrainSizeGrid(), Graph::writeAvgGrainSizeProfile(), writeBonds(), Mesh2D::writeCheckPoint(), TriMesh::writeCheckPoint(), Graph::writeMatrixFractionGrid(), Graph::writeMatrixFractionProfile(), FracWriter::writeParticleList(), FracWriter::writeProfile(), DataExtractor::writeScalarDataVtk(), FracWriter::writeText(), CRandomBlock2D::writeToGeoFile(), CRandomBlock3D::writeToGeoFile(), ARandomAssembly::writeToVtkFile(), Mesh2D::zeroForces(), TriMesh::zeroForces(), and TSubLattice< T >::zeroForces().

template<typename TmplValue >
std::vector<TmplValue> esys::lsm::bpu::listToVector ( const boost::python::list &  pythonList)

References len().

Here is the call graph for this function:

template<typename TmplValue , typename TmplExtractor >
std::vector<TmplValue> esys::lsm::bpu::listToVector ( const boost::python::list &  pythonList,
TmplExtractor  extractor = TmplExtractor() 
)

References len().

Here is the call graph for this function:

template<typename TmplValue >
std::vector<TmplValue> esys::lsm::bpu::tupleToVector ( const boost::python::tuple &  pythonTulple)

References len().

Here is the call graph for this function: