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

Finite size particle.

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

Constructors, destructors, conversion operators

SizeParticles() defaulted
Embedded Particle of SOA particles SizeParticles.
SizeParticles(SizeParticles const&) defaulted
SizeParticles(SizeParticles&&) defaulted
template<typename STL>
SizeParticles(Scalar time, STL const& particles_set)
Construct a new Size Particles object from std::ranges(Container).

Public functions

auto operator=(SizeParticles const&) -> SizeParticles& defaulted
auto operator=(SizeParticles&&) -> SizeParticles& defaulted
auto radius() -> ScalarArray& noexcept
auto radius() const -> ScalarArray const & noexcept
auto radius(size_t i) -> ScalarArray ::value_type& noexcept
auto radius(size_t i) const -> ScalarArray ::value_type 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 time() -> StateScalar& noexcept
auto time() const -> StateScalar 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::SizeParticles<TypeSystem>::SizeParticles() defaulted

Embedded Particle of SOA particles SizeParticles.

Default constructor.

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

Default copy constructor.

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

Default move constructor

template<typename TypeSystem> template<typename STL>
hub::particles::SizeParticles<TypeSystem>::SizeParticles(Scalar time, STL const& particles_set)

Construct a new Size Particles object from std::ranges(Container).

Template parameters
STL std::ranges(Container)

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

Default copy assignment operator

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

Default move assignment operator

template<typename TypeSystem>
ScalarArray& hub::particles::SizeParticles<TypeSystem>::radius() noexcept

The setter interface of member radius_ in name of radius.

template<typename TypeSystem>
ScalarArray const & hub::particles::SizeParticles<TypeSystem>::radius() const noexcept

The getter interface of member radius_ in name of radius.

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

The setter interface of member radius_ in name of radius.

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

The getter interface of member radius_ in name of radius.

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

The setter interface of member mass_ in name of mass.

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

The getter interface of member mass_ in name of mass.

template<typename TypeSystem>
ScalarArray ::value_type& hub::particles::SizeParticles<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::SizeParticles<TypeSystem>::mass(size_t i) const noexcept

The getter interface of member mass_ in name of mass.

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

The setter interface of member idn_ in name of idn.

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

The getter interface of member idn_ in name of idn.

template<typename TypeSystem>
IdxArray ::value_type& hub::particles::SizeParticles<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::SizeParticles<TypeSystem>::idn(size_t i) const noexcept

The getter interface of member idn_ in name of idn.

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

The setter interface of member time_ in name of time.

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

The getter interface of member time_ in name of time.

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

The setter interface of member pos_ in name of pos.

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

The getter interface of member pos_ in name of pos.

template<typename TypeSystem>
StateVectorArray ::value_type& hub::particles::SizeParticles<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::SizeParticles<TypeSystem>::pos(size_t i) const noexcept

The getter interface of member pos_ in name of pos.

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

The setter interface of member vel_ in name of vel.

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

The getter interface of member vel_ in name of vel.

template<typename TypeSystem>
StateVectorArray ::value_type& hub::particles::SizeParticles<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::SizeParticles<TypeSystem>::vel(size_t i) const noexcept

The getter interface of member vel_ in name of vel.