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 of

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 it

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 c

[deal.II] Particle Class Implementation

2020-06-09 Thread Victoria W.
Hello, I'm a new deal.ii and C++ user, so this question might be a bit basic, but I was wondering how my implementation of the built-in deal.ii particle class should look. Ultimately I'm looking to track a particle in laminar flow. So far I've tried creating a simple particle at the origin a