ParticleHandler<dim, spacedim> &particle_handler,
const Mapping<dim, spacedim> & mapping =
StaticMappingQ1<dim, spacedim>::mapping,
+ const ComponentMask &components = ComponentMask(),
const std::vector<std::vector<double>> &properties =
- std::vector<std::vector<double>>(),
- const ComponentMask &components = ComponentMask());
+ std::vector<std::vector<double>>());
/**
* A function that generates particles at the locations of the quadrature
& global_bounding_boxes,
ParticleHandler<dim, spacedim> &particle_handler,
const Mapping<dim, spacedim> & mapping,
- const std::vector<std::vector<double>> &properties,
- const ComponentMask & components)
+ const ComponentMask & components,
+ const std::vector<std::vector<double>> &properties)
{
const auto &fe = dof_handler.get_fe();
}
}
particle_handler.insert_global_particles(points_to_generate,
- global_bounding_boxes);
+ global_bounding_boxes,
+ properties);
}
} // namespace Generators
} // namespace Particles
ParticleHandler<deal_II_dimension, deal_II_space_dimension>
&particle_handler,
const Mapping<deal_II_dimension, deal_II_space_dimension> &mapping,
- const std::vector<std::vector<double>> & properties,
- const ComponentMask &components);
+ const ComponentMask & components,
+ const std::vector<std::vector<double>> &properties);
template void
quadrature_points<deal_II_dimension, deal_II_space_dimension>(