template<typename TypeSystem>
hub::particles::PointParticles class

Structure of Array point particle group.

Template parameters
TypeSystem The type system in spaceHub(hub::Types).

Public types

using Particle = PointParticle<Vector>
Embedded Particle type.

Constructors, destructors, conversion operators

PointParticles() defaulted
PointParticles(PointParticles const&) defaulted
PointParticles(PointParticles&&) defaulted
template<typename STL>
PointParticles(Scalar t, STL const& particle_set)
Construct a new Point Particles object.

Public functions

auto operator=(PointParticles const&) -> PointParticles& defaulted
auto operator=(PointParticles&&) -> PointParticles& defaulted
auto time() -> StateScalar& noexcept
auto time() const -> StateScalar const & noexcept
auto mass() -> ScalarArray& noexcept
auto mass() const -> ScalarArray const & noexcept
auto mass(size_t i) -> ScalarArray ::value_type& noexcept
auto mass(size_t i) const -> ScalarArray ::value_type const & noexcept
auto idn() -> IdxArray& noexcept
auto idn() const -> IdxArray const & noexcept
auto idn(size_t i) -> IdxArray ::value_type& noexcept
auto idn(size_t i) const -> IdxArray ::value_type const & noexcept
auto pos() -> StateVectorArray& noexcept
auto pos() const -> StateVectorArray const & noexcept
auto pos(size_t i) -> StateVectorArray ::value_type& noexcept
auto pos(size_t i) const -> StateVectorArray ::value_type const & noexcept
auto vel() -> StateVectorArray& noexcept
auto vel() const -> StateVectorArray const & noexcept
auto vel(size_t i) -> StateVectorArray ::value_type& noexcept
auto vel(size_t i) const -> StateVectorArray ::value_type const & noexcept

Function documentation

template<typename TypeSystem>
hub::particles::PointParticles<TypeSystem>::PointParticles() defaulted

Default constructor.

template<typename TypeSystem>
hub::particles::PointParticles<TypeSystem>::PointParticles(PointParticles const&) defaulted

Default copy constructor.

template<typename TypeSystem>
hub::particles::PointParticles<TypeSystem>::PointParticles(PointParticles&&) defaulted

Default move constructor

template<typename TypeSystem> template<typename STL>
hub::particles::PointParticles<TypeSystem>::PointParticles(Scalar t, STL const& particle_set)

Construct a new Point Particles object.

Template parameters
STL
Parameters
t
particle_set

template<typename TypeSystem>
PointParticles& hub::particles::PointParticles<TypeSystem>::operator=(PointParticles const&) defaulted

Default copy assignment operator

template<typename TypeSystem>
PointParticles& hub::particles::PointParticles<TypeSystem>::operator=(PointParticles&&) defaulted

Default move assignment operator

template<typename TypeSystem>
StateScalar& hub::particles::PointParticles<TypeSystem>::time() noexcept

The setter interface of member time_ in name of time.

template<typename TypeSystem>
StateScalar const & hub::particles::PointParticles<TypeSystem>::time() const noexcept

The getter interface of member time_ in name of time.

template<typename TypeSystem>
ScalarArray& hub::particles::PointParticles<TypeSystem>::mass() noexcept

The setter interface of member mass_ in name of mass.

template<typename TypeSystem>
ScalarArray const & hub::particles::PointParticles<TypeSystem>::mass() const noexcept

The getter interface of member mass_ in name of mass.

template<typename TypeSystem>
ScalarArray ::value_type& hub::particles::PointParticles<TypeSystem>::mass(size_t i) noexcept

The setter interface of member mass_ in name of mass.

template<typename TypeSystem>
ScalarArray ::value_type const & hub::particles::PointParticles<TypeSystem>::mass(size_t i) const noexcept

The getter interface of member mass_ in name of mass.

template<typename TypeSystem>
IdxArray& hub::particles::PointParticles<TypeSystem>::idn() noexcept

The setter interface of member idn_ in name of idn.

template<typename TypeSystem>
IdxArray const & hub::particles::PointParticles<TypeSystem>::idn() const noexcept

The getter interface of member idn_ in name of idn.

template<typename TypeSystem>
IdxArray ::value_type& hub::particles::PointParticles<TypeSystem>::idn(size_t i) noexcept

The setter interface of member idn_ in name of idn.

template<typename TypeSystem>
IdxArray ::value_type const & hub::particles::PointParticles<TypeSystem>::idn(size_t i) const noexcept

The getter interface of member idn_ in name of idn.

template<typename TypeSystem>
StateVectorArray& hub::particles::PointParticles<TypeSystem>::pos() noexcept

The setter interface of member pos_ in name of pos.

template<typename TypeSystem>
StateVectorArray const & hub::particles::PointParticles<TypeSystem>::pos() const noexcept

The getter interface of member pos_ in name of pos.

template<typename TypeSystem>
StateVectorArray ::value_type& hub::particles::PointParticles<TypeSystem>::pos(size_t i) noexcept

The setter interface of member pos_ in name of pos.

template<typename TypeSystem>
StateVectorArray ::value_type const & hub::particles::PointParticles<TypeSystem>::pos(size_t i) const noexcept

The getter interface of member pos_ in name of pos.

template<typename TypeSystem>
StateVectorArray& hub::particles::PointParticles<TypeSystem>::vel() noexcept

The setter interface of member vel_ in name of vel.

template<typename TypeSystem>
StateVectorArray const & hub::particles::PointParticles<TypeSystem>::vel() const noexcept

The getter interface of member vel_ in name of vel.

template<typename TypeSystem>
StateVectorArray ::value_type& hub::particles::PointParticles<TypeSystem>::vel(size_t i) noexcept

The setter interface of member vel_ in name of vel.

template<typename TypeSystem>
StateVectorArray ::value_type const & hub::particles::PointParticles<TypeSystem>::vel(size_t i) const noexcept

The getter interface of member vel_ in name of vel.