deal.II version GIT relicensing-2169-gec1b43f35b 2024-11-22 07:10:00+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Particles::ParticleAccessor< dim, spacedim >::ParticlesInCell Struct Reference

#include <deal.II/particles/particle_accessor.h>

Public Member Functions

 ParticlesInCell ()=default
 
 ParticlesInCell (const std::vector< typename PropertyPool< dim, spacedim >::Handle > &particles, const typename Triangulation< dim, spacedim >::active_cell_iterator &cell)
 

Public Attributes

std::vector< typename PropertyPool< dim, spacedim >::Handle > particles
 
Triangulation< dim, spacedim >::active_cell_iterator cell
 

Detailed Description

template<int dim, int spacedim = dim>
struct Particles::ParticleAccessor< dim, spacedim >::ParticlesInCell

Data structure to describe the particles in a given cell. This is used inside an std::list in particle_container. The storage of this field is typically handled by ParticleHandler, using an std::list of this structure.

There are four main reasons for the present design:

Definition at line 80 of file particle_accessor.h.

Constructor & Destructor Documentation

◆ ParticlesInCell() [1/2]

template<int dim, int spacedim = dim>
Particles::ParticleAccessor< dim, spacedim >::ParticlesInCell::ParticlesInCell ( )
default

Default constructor.

◆ ParticlesInCell() [2/2]

template<int dim, int spacedim = dim>
Particles::ParticleAccessor< dim, spacedim >::ParticlesInCell::ParticlesInCell ( const std::vector< typename PropertyPool< dim, spacedim >::Handle > &  particles,
const typename Triangulation< dim, spacedim >::active_cell_iterator &  cell 
)
inline

Construct from a vector of particles and a cell iterator.

Definition at line 90 of file particle_accessor.h.

Member Data Documentation

◆ particles

template<int dim, int spacedim = dim>
std::vector<typename PropertyPool<dim, spacedim>::Handle> Particles::ParticleAccessor< dim, spacedim >::ParticlesInCell::particles

A vector of particles on a cell.

Definition at line 101 of file particle_accessor.h.

◆ cell

template<int dim, int spacedim = dim>
Triangulation<dim,spacedim>::active_cell_iterator Particles::ParticleAccessor< dim, spacedim >::ParticlesInCell::cell

The underlying cell.

Definition at line 106 of file particle_accessor.h.


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