12#ifndef ARCANE_CORE_IPARTICLEFAMILY_H
13#define ARCANE_CORE_IPARTICLEFAMILY_H
51 virtual void build() = 0;
Declarations of Arcane's general types.
Declarations of types on entities.
Interface of an entity family.
Interface of a particle family.
virtual Integer nbItem() const =0
Number of entities.
virtual String name() const =0
Name of the family.
virtual void setParticleCell(Particle particle, Cell new_cell)=0
Moves the particle particle into the cell new_cell.
virtual void setEnableGhostItems(bool value)=0
Sets the flag to manage ghost particles for the family.
virtual void endUpdate()=0
virtual bool getEnableGhostItems() const =0
Retrieves the flag to manage ghost particles for the family.
virtual void exchangeParticles()=0
Exchanging entities.
virtual ParticleVectorView addParticles(Int64ConstArrayView unique_ids, Int32ArrayView items_local_id)=0
Allocates particles.
virtual ItemGroup allItems() const =0
Group of all particles.
virtual IItemFamily * itemFamily()=0
Interface on the family.
virtual void setParticlesCell(ParticleVectorView particles, CellVectorView new_cells)=0
Moves the list of particles particles into the new cells new_cells.
virtual ParticleVectorView addParticles(Int64ConstArrayView unique_ids, Int32ConstArrayView cells_local_id, Int32ArrayView items_local_id)=0
Allocates particles in cells.
virtual String fullName() const =0
Full name of the family (including the mesh name).
Unicode character string.
ItemVectorViewT< Cell > CellVectorView
View over a vector of cells.
ItemVectorViewT< Particle > ParticleVectorView
View over a vector of particles.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
ConstArrayView< Int32 > Int32ConstArrayView
C equivalent of a 1D array of 32-bit integers.
ConstArrayView< Int64 > Int64ConstArrayView
C equivalent of a 1D array of 64-bit integers.
ArrayView< Int32 > Int32ArrayView
C equivalent of a 1D array of 32-bit integers.