|
| | ParticleAccessorWithShape (std::shared_ptr< data::ParticleStorage > &ps, std::shared_ptr< data::ShapeStorage > &ss) |
| |
| const auto & | getInvMass (const size_t p_idx) const |
| |
| const auto & | getMass (const size_t p_idx) const |
| |
| const auto & | getInvInertiaBF (const size_t p_idx) const |
| |
| const auto & | getInertiaBF (const size_t p_idx) const |
| |
| auto | getVolume (const size_t p_idx) const |
| |
| data::BaseShape * | getShape (const size_t p_idx) const |
| |
Public Member Functions inherited from walberla::mesa_pd::data::ParticleAccessor |
| | ParticleAccessor (const std::shared_ptr< data::ParticleStorage > &ps) |
| |
| | ~ParticleAccessor () override=default |
| |
| walberla::id_t const & | getUid (const size_t p_idx) const |
| |
| walberla::id_t & | getUidRef (const size_t p_idx) |
| |
| void | setUid (const size_t p_idx, walberla::id_t const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getPosition (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getPositionRef (const size_t p_idx) |
| |
| void | setPosition (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::real_t const & | getInteractionRadius (const size_t p_idx) const |
| |
| walberla::real_t & | getInteractionRadiusRef (const size_t p_idx) |
| |
| void | setInteractionRadius (const size_t p_idx, walberla::real_t const &v) |
| |
| walberla::mesa_pd::data::particle_flags::FlagT const & | getFlags (const size_t p_idx) const |
| |
| walberla::mesa_pd::data::particle_flags::FlagT & | getFlagsRef (const size_t p_idx) |
| |
| void | setFlags (const size_t p_idx, walberla::mesa_pd::data::particle_flags::FlagT const &v) |
| |
| int const & | getOwner (const size_t p_idx) const |
| |
| int & | getOwnerRef (const size_t p_idx) |
| |
| void | setOwner (const size_t p_idx, int const &v) |
| |
| std::unordered_set< walberla::mpi::MPIRank > const & | getGhostOwners (const size_t p_idx) const |
| |
| std::unordered_set< walberla::mpi::MPIRank > & | getGhostOwnersRef (const size_t p_idx) |
| |
| void | setGhostOwners (const size_t p_idx, std::unordered_set< walberla::mpi::MPIRank > const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getLinearVelocity (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getLinearVelocityRef (const size_t p_idx) |
| |
| void | setLinearVelocity (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::real_t const & | getInvMass (const size_t p_idx) const |
| |
| walberla::real_t & | getInvMassRef (const size_t p_idx) |
| |
| void | setInvMass (const size_t p_idx, walberla::real_t const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getForce (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getForceRef (const size_t p_idx) |
| |
| void | setForce (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getOldForce (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getOldForceRef (const size_t p_idx) |
| |
| void | setOldForce (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::real_t const & | getCharge (const size_t p_idx) const |
| |
| walberla::real_t & | getChargeRef (const size_t p_idx) |
| |
| void | setCharge (const size_t p_idx, walberla::real_t const &v) |
| |
| size_t const & | getShapeID (const size_t p_idx) const |
| |
| size_t & | getShapeIDRef (const size_t p_idx) |
| |
| void | setShapeID (const size_t p_idx, size_t const &v) |
| |
| std::shared_ptr< walberla::mesa_pd::data::BaseShape > const & | getBaseShape (const size_t p_idx) const |
| |
| std::shared_ptr< walberla::mesa_pd::data::BaseShape > & | getBaseShapeRef (const size_t p_idx) |
| |
| void | setBaseShape (const size_t p_idx, std::shared_ptr< walberla::mesa_pd::data::BaseShape > const &v) |
| |
| walberla::mesa_pd::Rot3 const & | getRotation (const size_t p_idx) const |
| |
| walberla::mesa_pd::Rot3 & | getRotationRef (const size_t p_idx) |
| |
| void | setRotation (const size_t p_idx, walberla::mesa_pd::Rot3 const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getAngularVelocity (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getAngularVelocityRef (const size_t p_idx) |
| |
| void | setAngularVelocity (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getTorque (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getTorqueRef (const size_t p_idx) |
| |
| void | setTorque (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getOldTorque (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getOldTorqueRef (const size_t p_idx) |
| |
| void | setOldTorque (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::real_t const & | getRadiusAtTemperature (const size_t p_idx) const |
| |
| walberla::real_t & | getRadiusAtTemperatureRef (const size_t p_idx) |
| |
| void | setRadiusAtTemperature (const size_t p_idx, walberla::real_t const &v) |
| |
| blockforest::BlockID const & | getCurrentBlock (const size_t p_idx) const |
| |
| blockforest::BlockID & | getCurrentBlockRef (const size_t p_idx) |
| |
| void | setCurrentBlock (const size_t p_idx, blockforest::BlockID const &v) |
| |
| uint_t const & | getType (const size_t p_idx) const |
| |
| uint_t & | getTypeRef (const size_t p_idx) |
| |
| void | setType (const size_t p_idx, uint_t const &v) |
| |
| int const & | getNextParticle (const size_t p_idx) const |
| |
| int & | getNextParticleRef (const size_t p_idx) |
| |
| void | setNextParticle (const size_t p_idx, int const &v) |
| |
| std::map< walberla::id_t, walberla::mesa_pd::data::ContactHistory > const & | getOldContactHistory (const size_t p_idx) const |
| |
| std::map< walberla::id_t, walberla::mesa_pd::data::ContactHistory > & | getOldContactHistoryRef (const size_t p_idx) |
| |
| void | setOldContactHistory (const size_t p_idx, std::map< walberla::id_t, walberla::mesa_pd::data::ContactHistory > const &v) |
| |
| std::map< walberla::id_t, walberla::mesa_pd::data::ContactHistory > const & | getNewContactHistory (const size_t p_idx) const |
| |
| std::map< walberla::id_t, walberla::mesa_pd::data::ContactHistory > & | getNewContactHistoryRef (const size_t p_idx) |
| |
| void | setNewContactHistory (const size_t p_idx, std::map< walberla::id_t, walberla::mesa_pd::data::ContactHistory > const &v) |
| |
| walberla::real_t const & | getTemperature (const size_t p_idx) const |
| |
| walberla::real_t & | getTemperatureRef (const size_t p_idx) |
| |
| void | setTemperature (const size_t p_idx, walberla::real_t const &v) |
| |
| walberla::real_t const & | getHeatFlux (const size_t p_idx) const |
| |
| walberla::real_t & | getHeatFluxRef (const size_t p_idx) |
| |
| void | setHeatFlux (const size_t p_idx, walberla::real_t const &v) |
| |
| uint_t const & | getNumContacts (const size_t p_idx) const |
| |
| uint_t & | getNumContactsRef (const size_t p_idx) |
| |
| void | setNumContacts (const size_t p_idx, uint_t const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getDv (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getDvRef (const size_t p_idx) |
| |
| void | setDv (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getDw (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getDwRef (const size_t p_idx) |
| |
| void | setDw (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getHydrodynamicForce (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getHydrodynamicForceRef (const size_t p_idx) |
| |
| void | setHydrodynamicForce (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getHydrodynamicTorque (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getHydrodynamicTorqueRef (const size_t p_idx) |
| |
| void | setHydrodynamicTorque (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getOldHydrodynamicForce (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getOldHydrodynamicForceRef (const size_t p_idx) |
| |
| void | setOldHydrodynamicForce (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getOldHydrodynamicTorque (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getOldHydrodynamicTorqueRef (const size_t p_idx) |
| |
| void | setOldHydrodynamicTorque (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getElectrostaticForce (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getElectrostaticForceRef (const size_t p_idx) |
| |
| void | setElectrostaticForce (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::real_t const & | getTotalDisplacement (const size_t p_idx) const |
| |
| walberla::real_t & | getTotalDisplacementRef (const size_t p_idx) |
| |
| void | setTotalDisplacement (const size_t p_idx, walberla::real_t const &v) |
| |
| walberla::real_t const & | getCollisionForceNorm (const size_t p_idx) const |
| |
| walberla::real_t & | getCollisionForceNormRef (const size_t p_idx) |
| |
| void | setCollisionForceNorm (const size_t p_idx, walberla::real_t const &v) |
| |
| walberla::real_t const & | getVirtualMass (const size_t p_idx) const |
| |
| walberla::real_t & | getVirtualMassRef (const size_t p_idx) |
| |
| void | setVirtualMass (const size_t p_idx, walberla::real_t const &v) |
| |
| walberla::real_t const & | getInvMassIncludingVirtual (const size_t p_idx) const |
| |
| walberla::real_t & | getInvMassIncludingVirtualRef (const size_t p_idx) |
| |
| void | setInvMassIncludingVirtual (const size_t p_idx, walberla::real_t const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getOldLinearAcceleration (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getOldLinearAccelerationRef (const size_t p_idx) |
| |
| void | setOldLinearAcceleration (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| walberla::mesa_pd::Mat3 const & | getInvInertiaBF (const size_t p_idx) const |
| |
| walberla::mesa_pd::Mat3 & | getInvInertiaBFRef (const size_t p_idx) |
| |
| void | setInvInertiaBF (const size_t p_idx, walberla::mesa_pd::Mat3 const &v) |
| |
| walberla::mesa_pd::Mat3 const & | getVirtualInertiaBF (const size_t p_idx) const |
| |
| walberla::mesa_pd::Mat3 & | getVirtualInertiaBFRef (const size_t p_idx) |
| |
| void | setVirtualInertiaBF (const size_t p_idx, walberla::mesa_pd::Mat3 const &v) |
| |
| walberla::mesa_pd::Mat3 const & | getInvInertiaBFIncludingVirtual (const size_t p_idx) const |
| |
| walberla::mesa_pd::Mat3 & | getInvInertiaBFIncludingVirtualRef (const size_t p_idx) |
| |
| void | setInvInertiaBFIncludingVirtual (const size_t p_idx, walberla::mesa_pd::Mat3 const &v) |
| |
| walberla::mesa_pd::Vec3 const & | getOldAngularAcceleration (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getOldAngularAccelerationRef (const size_t p_idx) |
| |
| void | setOldAngularAcceleration (const size_t p_idx, walberla::mesa_pd::Vec3 const &v) |
| |
| int64_t const & | getClusterID (const size_t p_idx) const |
| |
| int64_t & | getClusterIDRef (const size_t p_idx) |
| |
| void | setClusterID (const size_t p_idx, int64_t const &v) |
| |
| int64_t const & | getSegmentID (const size_t p_idx) const |
| |
| int64_t & | getSegmentIDRef (const size_t p_idx) |
| |
| void | setSegmentID (const size_t p_idx, int64_t const &v) |
| |
| std::unordered_set< walberla::mpi::MPIRank > const & | getNeighborState (const size_t p_idx) const |
| |
| std::unordered_set< walberla::mpi::MPIRank > & | getNeighborStateRef (const size_t p_idx) |
| |
| void | setNeighborState (const size_t p_idx, std::unordered_set< walberla::mpi::MPIRank > const &v) |
| |
| id_t | getInvalidUid () const |
| |
| size_t | getInvalidIdx () const |
| |
| size_t | uidToIdx (const id_t &uid) const |
| | Returns the index of particle specified by uid.
|
| |
| size_t | size () const |
| |
| size_t | create (const id_t &uid) |
| |
| size_t | erase (const size_t &idx) |
| |
| size_t | find (const id_t &uid) |
| |
| virtual | ~IAccessor ()=default |
| |