Yidong,

> Yes, I think *interpret* can work. Here I want to ask for a follow-up 
> question: Whether it's possible(how difficult) to write a child class of 
> Particle, whose property is not an array of double, but other self-defined 
> types (like Tensor etc.)?

No -- the ParticleHandler actually stores objects of type Particle. This can't 
easily be changed.

What kinds of information do you want to store in your particles? It should 
not be very difficult to write functions that convert from an 
ArrayView<double> to a Tensor<...> and back.

Best
  W.


-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                            www: http://www.math.colostate.edu/~bangerth/

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/43c0a24d-b0e3-7566-ecf0-efa23c5adc2a%40colostate.edu.

Reply via email to