walberla::mesa_pd::data::ParticleStorage::Particle Class Reference

#include <ParticleStorage.h>

Public Types

using uid_type = walberla::id_t
 
using position_type = walberla::mesa_pd::Vec3
 
using interactionRadius_type = walberla::real_t
 
using flags_type = walberla::mesa_pd::data::particle_flags::FlagT
 
using owner_type = int
 
using ghostOwners_type = std::unordered_set< walberla::mpi::MPIRank >
 
using shapeID_type = size_t
 
using rotation_type = walberla::mesa_pd::Rot3
 
using angularVelocity_type = walberla::mesa_pd::Vec3
 
using torque_type = walberla::mesa_pd::Vec3
 
using linearVelocity_type = walberla::mesa_pd::Vec3
 
using invMass_type = walberla::real_t
 
using force_type = walberla::mesa_pd::Vec3
 
using oldForce_type = walberla::mesa_pd::Vec3
 
using oldTorque_type = walberla::mesa_pd::Vec3
 
using currentBlock_type = blockforest::Block *
 
using type_type = uint_t
 
using nextParticle_type = int
 
using oldContactHistory_type = std::map< walberla::id_t, walberla::mesa_pd::data::ContactHistory >
 
using newContactHistory_type = std::map< walberla::id_t, walberla::mesa_pd::data::ContactHistory >
 
using temperature_type = walberla::real_t
 
using heatFlux_type = walberla::real_t
 
using dv_type = walberla::mesa_pd::Vec3
 
using dw_type = walberla::mesa_pd::Vec3
 
using neighborState_type = std::unordered_set< walberla::mpi::MPIRank >
 

Public Member Functions

constexpr Particle (ParticleStorage &storage, const size_t i)
 
constexpr Particle (const Particle &)=default
 
constexpr Particle (Particle &&)=default
 
Particleoperator= (const Particle &rhs)
 
Particleoperator= (Particle &&rhs)
 
Particleoperator-> ()
 
uid_type const & getUid () const
 
uid_typegetUidRef ()
 
void setUid (uid_type const &v)
 
position_type const & getPosition () const
 
position_typegetPositionRef ()
 
void setPosition (position_type const &v)
 
interactionRadius_type const & getInteractionRadius () const
 
interactionRadius_typegetInteractionRadiusRef ()
 
void setInteractionRadius (interactionRadius_type const &v)
 
flags_type const & getFlags () const
 
flags_typegetFlagsRef ()
 
void setFlags (flags_type const &v)
 
owner_type const & getOwner () const
 
owner_typegetOwnerRef ()
 
void setOwner (owner_type const &v)
 
ghostOwners_type const & getGhostOwners () const
 
ghostOwners_typegetGhostOwnersRef ()
 
void setGhostOwners (ghostOwners_type const &v)
 
shapeID_type const & getShapeID () const
 
shapeID_typegetShapeIDRef ()
 
void setShapeID (shapeID_type const &v)
 
rotation_type const & getRotation () const
 
rotation_typegetRotationRef ()
 
void setRotation (rotation_type const &v)
 
angularVelocity_type const & getAngularVelocity () const
 
angularVelocity_typegetAngularVelocityRef ()
 
void setAngularVelocity (angularVelocity_type const &v)
 
torque_type const & getTorque () const
 
torque_typegetTorqueRef ()
 
void setTorque (torque_type const &v)
 
linearVelocity_type const & getLinearVelocity () const
 
linearVelocity_typegetLinearVelocityRef ()
 
void setLinearVelocity (linearVelocity_type const &v)
 
invMass_type const & getInvMass () const
 
invMass_typegetInvMassRef ()
 
void setInvMass (invMass_type const &v)
 
force_type const & getForce () const
 
force_typegetForceRef ()
 
void setForce (force_type const &v)
 
oldForce_type const & getOldForce () const
 
oldForce_typegetOldForceRef ()
 
void setOldForce (oldForce_type const &v)
 
oldTorque_type const & getOldTorque () const
 
oldTorque_typegetOldTorqueRef ()
 
void setOldTorque (oldTorque_type const &v)
 
currentBlock_type const & getCurrentBlock () const
 
currentBlock_typegetCurrentBlockRef ()
 
void setCurrentBlock (currentBlock_type const &v)
 
type_type const & getType () const
 
type_typegetTypeRef ()
 
void setType (type_type const &v)
 
nextParticle_type const & getNextParticle () const
 
nextParticle_typegetNextParticleRef ()
 
void setNextParticle (nextParticle_type const &v)
 
oldContactHistory_type const & getOldContactHistory () const
 
oldContactHistory_typegetOldContactHistoryRef ()
 
void setOldContactHistory (oldContactHistory_type const &v)
 
newContactHistory_type const & getNewContactHistory () const
 
newContactHistory_typegetNewContactHistoryRef ()
 
void setNewContactHistory (newContactHistory_type const &v)
 
temperature_type const & getTemperature () const
 
temperature_typegetTemperatureRef ()
 
void setTemperature (temperature_type const &v)
 
heatFlux_type const & getHeatFlux () const
 
heatFlux_typegetHeatFluxRef ()
 
void setHeatFlux (heatFlux_type const &v)
 
dv_type const & getDv () const
 
dv_typegetDvRef ()
 
void setDv (dv_type const &v)
 
dw_type const & getDw () const
 
dw_typegetDwRef ()
 
void setDw (dw_type const &v)
 
neighborState_type const & getNeighborState () const
 
neighborState_typegetNeighborStateRef ()
 
void setNeighborState (neighborState_type const &v)
 
size_t getIdx () const
 

Public Attributes

ParticleStoragestorage_
 
const size_t i_
 

Member Typedef Documentation

using walberla::mesa_pd::data::ParticleStorage::Particle::ghostOwners_type = std::unordered_set<walberla::mpi::MPIRank>
using walberla::mesa_pd::data::ParticleStorage::Particle::neighborState_type = std::unordered_set<walberla::mpi::MPIRank>

Constructor & Destructor Documentation

constexpr walberla::mesa_pd::data::ParticleStorage::Particle::Particle ( ParticleStorage storage,
const size_t  i 
)
inline
constexpr walberla::mesa_pd::data::ParticleStorage::Particle::Particle ( const Particle )
default
constexpr walberla::mesa_pd::data::ParticleStorage::Particle::Particle ( Particle &&  )
default

Member Function Documentation

angularVelocity_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getAngularVelocity ( ) const
inline
angularVelocity_type& walberla::mesa_pd::data::ParticleStorage::Particle::getAngularVelocityRef ( )
inline
currentBlock_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getCurrentBlock ( ) const
inline
currentBlock_type& walberla::mesa_pd::data::ParticleStorage::Particle::getCurrentBlockRef ( )
inline
dv_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getDv ( ) const
inline
dv_type& walberla::mesa_pd::data::ParticleStorage::Particle::getDvRef ( )
inline
dw_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getDw ( ) const
inline
dw_type& walberla::mesa_pd::data::ParticleStorage::Particle::getDwRef ( )
inline
flags_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getFlags ( ) const
inline
flags_type& walberla::mesa_pd::data::ParticleStorage::Particle::getFlagsRef ( )
inline
force_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getForce ( ) const
inline
force_type& walberla::mesa_pd::data::ParticleStorage::Particle::getForceRef ( )
inline
ghostOwners_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getGhostOwners ( ) const
inline
ghostOwners_type& walberla::mesa_pd::data::ParticleStorage::Particle::getGhostOwnersRef ( )
inline
heatFlux_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getHeatFlux ( ) const
inline
heatFlux_type& walberla::mesa_pd::data::ParticleStorage::Particle::getHeatFluxRef ( )
inline
size_t walberla::mesa_pd::data::ParticleStorage::Particle::getIdx ( ) const
inline
interactionRadius_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getInteractionRadius ( ) const
inline
interactionRadius_type& walberla::mesa_pd::data::ParticleStorage::Particle::getInteractionRadiusRef ( )
inline
invMass_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getInvMass ( ) const
inline
invMass_type& walberla::mesa_pd::data::ParticleStorage::Particle::getInvMassRef ( )
inline
linearVelocity_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getLinearVelocity ( ) const
inline
linearVelocity_type& walberla::mesa_pd::data::ParticleStorage::Particle::getLinearVelocityRef ( )
inline
neighborState_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getNeighborState ( ) const
inline
neighborState_type& walberla::mesa_pd::data::ParticleStorage::Particle::getNeighborStateRef ( )
inline
newContactHistory_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getNewContactHistory ( ) const
inline
newContactHistory_type& walberla::mesa_pd::data::ParticleStorage::Particle::getNewContactHistoryRef ( )
inline
nextParticle_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getNextParticle ( ) const
inline
nextParticle_type& walberla::mesa_pd::data::ParticleStorage::Particle::getNextParticleRef ( )
inline
oldContactHistory_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getOldContactHistory ( ) const
inline
oldContactHistory_type& walberla::mesa_pd::data::ParticleStorage::Particle::getOldContactHistoryRef ( )
inline
oldForce_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getOldForce ( ) const
inline
oldForce_type& walberla::mesa_pd::data::ParticleStorage::Particle::getOldForceRef ( )
inline
oldTorque_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getOldTorque ( ) const
inline
oldTorque_type& walberla::mesa_pd::data::ParticleStorage::Particle::getOldTorqueRef ( )
inline
owner_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getOwner ( ) const
inline
owner_type& walberla::mesa_pd::data::ParticleStorage::Particle::getOwnerRef ( )
inline
position_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getPosition ( ) const
inline
position_type& walberla::mesa_pd::data::ParticleStorage::Particle::getPositionRef ( )
inline
rotation_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getRotation ( ) const
inline
rotation_type& walberla::mesa_pd::data::ParticleStorage::Particle::getRotationRef ( )
inline
shapeID_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getShapeID ( ) const
inline
shapeID_type& walberla::mesa_pd::data::ParticleStorage::Particle::getShapeIDRef ( )
inline
temperature_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getTemperature ( ) const
inline
temperature_type& walberla::mesa_pd::data::ParticleStorage::Particle::getTemperatureRef ( )
inline
torque_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getTorque ( ) const
inline
torque_type& walberla::mesa_pd::data::ParticleStorage::Particle::getTorqueRef ( )
inline
type_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getType ( ) const
inline
type_type& walberla::mesa_pd::data::ParticleStorage::Particle::getTypeRef ( )
inline
uid_type const& walberla::mesa_pd::data::ParticleStorage::Particle::getUid ( ) const
inline
uid_type& walberla::mesa_pd::data::ParticleStorage::Particle::getUidRef ( )
inline
Particle* walberla::mesa_pd::data::ParticleStorage::Particle::operator-> ( )
inline
ParticleStorage::Particle & walberla::mesa_pd::data::ParticleStorage::Particle::operator= ( const Particle rhs)
inline
ParticleStorage::Particle & walberla::mesa_pd::data::ParticleStorage::Particle::operator= ( ParticleStorage::Particle &&  rhs)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setAngularVelocity ( angularVelocity_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setCurrentBlock ( currentBlock_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setDv ( dv_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setDw ( dw_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setFlags ( flags_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setForce ( force_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setGhostOwners ( ghostOwners_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setHeatFlux ( heatFlux_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setInteractionRadius ( interactionRadius_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setInvMass ( invMass_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setLinearVelocity ( linearVelocity_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setNeighborState ( neighborState_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setNewContactHistory ( newContactHistory_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setNextParticle ( nextParticle_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setOldContactHistory ( oldContactHistory_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setOldForce ( oldForce_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setOldTorque ( oldTorque_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setOwner ( owner_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setPosition ( position_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setRotation ( rotation_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setShapeID ( shapeID_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setTemperature ( temperature_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setTorque ( torque_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setType ( type_type const &  v)
inline
void walberla::mesa_pd::data::ParticleStorage::Particle::setUid ( uid_type const &  v)
inline

Member Data Documentation

const size_t walberla::mesa_pd::data::ParticleStorage::Particle::i_
ParticleStorage& walberla::mesa_pd::data::ParticleStorage::Particle::storage_

The documentation for this class was generated from the following file: