16#ifndef dealii_particles_particle_generator_h
17#define dealii_particles_particle_generator_h
65 template <
int dim,
int spacedim = dim>
69 const std::vector<
Point<dim>> & particle_reference_locations,
72 (ReferenceCells::get_hypercube<dim>()
74 .
template get_default_linear_mapping<dim, spacedim>()
76 .ReferenceCell::get_default_linear_mapping<dim, spacedim>()
109 template <
int dim,
int spacedim = dim>
114 std::mt19937 & random_number_generator,
116 (ReferenceCells::get_hypercube<dim>()
118 .
template get_default_linear_mapping<dim, spacedim>()
120 .ReferenceCell::get_default_linear_mapping<dim, spacedim>()
130 template <
int dim,
int spacedim = dim>
135 std::mt19937 & random_number_generator,
138 (ReferenceCells::get_hypercube<dim>()
140 .
template get_default_linear_mapping<dim, spacedim>()
142 .ReferenceCell::get_default_linear_mapping<dim, spacedim>()
190 template <
int dim,
int spacedim = dim>
195 const bool random_cell_selection,
199 (ReferenceCells::get_hypercube<dim>()
201 .
template get_default_linear_mapping<dim, spacedim>()),
203 .ReferenceCell::get_default_linear_mapping<dim, spacedim>()),
205 const unsigned int random_number_seed = 5432);
242 template <
int dim,
int spacedim = dim>
247 & global_bounding_boxes,
250 (ReferenceCells::get_hypercube<dim>()
252 .
template get_default_linear_mapping<dim, spacedim>()),
254 .ReferenceCell::get_default_linear_mapping<dim, spacedim>()),
257 const std::vector<std::vector<double>> &properties = {});
290 template <
int dim,
int spacedim = dim>
296 & global_bounding_boxes,
299 (ReferenceCells::get_hypercube<dim>()
300 .
template get_default_linear_mapping<dim, spacedim>()),
301 const std::vector<std::vector<double>> &properties = {});
Abstract base class for mapping classes.
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
void probabilistic_locations(const Triangulation< dim, spacedim > &triangulation, const Function< spacedim > &probability_density_function, const bool random_cell_selection, const types::particle_index n_particles_to_create, ParticleHandler< dim, spacedim > &particle_handler, const Mapping< dim, spacedim > &mapping=(ReferenceCells::get_hypercube< dim >() .template get_default_linear_mapping< dim, spacedim >()), const unsigned int random_number_seed=5432)
void dof_support_points(const DoFHandler< dim, spacedim > &dof_handler, const std::vector< std::vector< BoundingBox< spacedim > > > &global_bounding_boxes, ParticleHandler< dim, spacedim > &particle_handler, const Mapping< dim, spacedim > &mapping=(ReferenceCells::get_hypercube< dim >() .template get_default_linear_mapping< dim, spacedim >()), const ComponentMask &components=ComponentMask(), const std::vector< std::vector< double > > &properties={})
ParticleIterator< dim, spacedim > random_particle_in_cell_insert(const typename Triangulation< dim, spacedim >::active_cell_iterator &cell, const types::particle_index id, std::mt19937 &random_number_generator, ParticleHandler< dim, spacedim > &particle_handler, const Mapping< dim, spacedim > &mapping=(ReferenceCells::get_hypercube< dim >() .template get_default_linear_mapping< dim, spacedim >()))
void quadrature_points(const Triangulation< dim, spacedim > &triangulation, const Quadrature< dim > &quadrature, const std::vector< std::vector< BoundingBox< spacedim > > > &global_bounding_boxes, ParticleHandler< dim, spacedim > &particle_handler, const Mapping< dim, spacedim > &mapping=(ReferenceCells::get_hypercube< dim >() .template get_default_linear_mapping< dim, spacedim >()), const std::vector< std::vector< double > > &properties={})
Particle< dim, spacedim > random_particle_in_cell(const typename Triangulation< dim, spacedim >::active_cell_iterator &cell, const types::particle_index id, std::mt19937 &random_number_generator, const Mapping< dim, spacedim > &mapping=(ReferenceCells::get_hypercube< dim >() .template get_default_linear_mapping< dim, spacedim >()))
void regular_reference_locations(const Triangulation< dim, spacedim > &triangulation, const std::vector< Point< dim > > &particle_reference_locations, ParticleHandler< dim, spacedim > &particle_handler, const Mapping< dim, spacedim > &mapping=(ReferenceCells::get_hypercube< dim >() .template get_default_linear_mapping< dim, spacedim >()))
const ::parallel::distributed::Triangulation< dim, spacedim > * triangulation