63 template <
int dim,
int spacedim = dim>
67 const std::vector<
Point<dim>> &particle_reference_locations,
70 (ReferenceCells::get_hypercube<dim>()
72 .
template get_default_linear_mapping<dim, spacedim>()
74 .ReferenceCell::get_default_linear_mapping<dim, spacedim>()
107 template <
int dim,
int spacedim = dim>
112 std::mt19937 &random_number_generator,
114 (ReferenceCells::get_hypercube<dim>()
116 .
template get_default_linear_mapping<dim, spacedim>()
118 .ReferenceCell::get_default_linear_mapping<dim, spacedim>()
128 template <
int dim,
int spacedim = dim>
133 std::mt19937 &random_number_generator,
136 (ReferenceCells::get_hypercube<dim>()
138 .
template get_default_linear_mapping<dim, spacedim>()
140 .ReferenceCell::get_default_linear_mapping<dim, spacedim>()
188 template <
int dim,
int spacedim = dim>
193 const bool random_cell_selection,
197 (ReferenceCells::get_hypercube<dim>()
199 .
template get_default_linear_mapping<dim, spacedim>()),
201 .ReferenceCell::get_default_linear_mapping<dim, spacedim>()),
203 const unsigned int random_number_seed = 5432);
240 template <
int dim,
int spacedim = dim>
245 &global_bounding_boxes,
248 (ReferenceCells::get_hypercube<dim>()
250 .
template get_default_linear_mapping<dim, spacedim>()),
252 .ReferenceCell::get_default_linear_mapping<dim, spacedim>()),
255 const std::vector<std::vector<double>> &properties = {});
291 template <
int dim,
int spacedim = dim>
297 &global_bounding_boxes,
300 (ReferenceCells::get_hypercube<dim>()
301 .
template get_default_linear_mapping<dim, spacedim>()),
302 const std::vector<std::vector<double>> &properties = {});
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)
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 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={}, const std::vector< std::vector< double > > &properties={})
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 >()))