Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :
https://about.gitlab.com/releases/2021/02/11/security-release-gitlab-13-8-4-released/
https://about.gitlab.com/releases/2021/02/05/gitlab-13-8-3-released/

Commit c03edfdd authored by Quentin Khan's avatar Quentin Khan

Move methods from FBasicParticleContainer to FVariadicParticleContainer

parent 9ee91bf2
......@@ -24,14 +24,32 @@ template<typename Particle, class Allocator = FAlignedAllocator<128,char> >
class FVariadicParticleContainer
: public scalfmm::details::FVariadicParticleContainerBase<Particle, Allocator>::type
{
using base_t = typename scalfmm::details::FVariadicParticleContainerBase<Particle, Allocator>::type;
using FBase = typename scalfmm::details::FVariadicParticleContainerBase<Particle, Allocator>::type;
public:
using value_type = Particle;
using position_t = typename Particle::position_t;
using FReal = typename position_t::FReal;
using base_t::base_t;
using FBase::FBase;
/** \brief Get particle count in the container
*
* \return Particle count
*/
FSize getNbParticles() const {
return FSize(FBase::size());
}
//DELETE
/** \brief Clears the container
*/
[[gnu::deprecated]]
void resetNumberOfParticles() {
FBase::clear();
}
void push(const Particle& particle) {
this->push_back(static_cast<typename Particle::data_t>(particle));
......
......@@ -104,24 +104,6 @@ public:
/// Reuse base constructors
using FBase::FBase;
/** \brief Get particle count in the container
*
* \return Particle count
*/
FSize getNbParticles() const {
return FSize(FBase::size());
}
//DELETE
/** \brief Clears the container
*/
[[gnu::deprecated]]
void resetNumberOfParticles() {
FBase::clear();
}
/** \brief Get non const array of position components
*
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment