Re: [deal.II] Particle Class Implementation

2020-06-10 Thread Wolfgang Bangerth
On 6/9/20 9:05 PM, Bruno Blais wrote: In additional to what Jean-Paul suggested, you can look at the preliminary version of step-68 which does exactly what you would like to achieve with particles. The code is available on the following pull request. Rene and I have put some work into it and

Re: [deal.II] Particle Class Implementation

2020-06-10 Thread Victoria W.
Dear Bruno and Jean-Paul, The new syntax worked great, and thank you for the extra resources Bruno. Best, Victoria On Tuesday, June 9, 2020 at 11:05:50 PM UTC-4, Bruno Blais wrote: > > Dear Victoria, > > In additional to what Jean-Paul suggested, you can look at the preliminary > version

Re: [deal.II] Particle Class Implementation

2020-06-09 Thread Bruno Blais
Dear Victoria, In additional to what Jean-Paul suggested, you can look at the preliminary version of step-68 which does exactly what you would like to achieve with particles. The code is available on the following pull request. Rene and I have put some work into it and it works quite well in

Re: [deal.II] Particle Class Implementation

2020-06-09 Thread Jean-Paul Pelteret
Dear Victoria, You’re on the right track, but it looks like you got the syntax a bit wrong. To create a particle you need to write something like Particles::Particle particle; You’ll note that the specific constructor that is called is inferred from the arguments given to the instance of the